9 Replies Latest reply on May 27, 2007 4:38 PM by lafr

    JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4 min

    mikek753

      Hello,

      Would any one help me to resolve the problem? Please.
      The same version of JDK as 1.4.2_06 are installed on WindowsXP and Solaris 5.8

      On Windows XP JBoss loads in 1 min, where on Solaris in 4 min!

      WinXP runs on Laptop with P-M 1.5Ghz and 768Mb ram only
      Solaris runs on SunFire V120 with 64bit CPU at 648Mhz and 2 Gb ram.

      Nothing else are running on Solaris, JVM (JBoss) takes almost 100% CPU for first 4 min until JBoss is ready / started.

      Any idea why there is 4x diff?

      Thanks.

        • 1. Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4
          mikek753

          And that is "standard" server without any my / user applications are deployed yet.

          There is result of prstat -Lm -p <jvm pid> :

          PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID
          10124 root 21 0.6 0.1 0.0 0.0 0.1 0.0 78 2 321 185 0 java/11
          10124 root 19 0.5 0.1 0.0 0.0 11 0.0 70 6 227 120 0 java/10
          10124 root 16 0.4 0.1 0.0 0.3 0.7 1.1 81 19 180 409 3 java/13
          10124 root 0.1 0.0 0.0 0.0 0.0 91 8.4 0.3 29 4 55 0 java/2
          10124 root 0.1 0.1 0.0 0.0 0.0 9.3 88 2.8 137 1 82 0 java/12
          10124 root 0.0 0.0 0.0 0.0 0.0 20 80 0.0 2 0 6 0 java/9

          However I don't know what are threads /11 /10 or /13

          thanks

          • 2. Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4

            For Solaris, make sure you're always running with all the latest/required OS patches from Sun.

            • 3. Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4
              mikek753

              thanks for reply.

              when I moved from Solaris 8 to 9 the load time shrinks in 1 min ;-)

              but, still 3x more than on WinXP.

              Is it H/W issue, so slow?

              tnx

              • 4. Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4

                It can be an issue anywhere between HW, OS, JVM. Difficult to say without knowing anything more specific about the system. One possiblity is in tuning how the JVM is managing and allocating its heap, for instance. It's a matter of trial and error what works best on each system.


                • 5. Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4
                  lafr

                  JBoss 4.0.3beta with default configuration starts on my system in ~ 2 min 15 sec.
                  My hardware (SunBlade 150) is similar to your'se, running Solaris 9 with all patches available on last saturday. JDK 1.5.0_03 in 32bit mode is used.

                  Your WinXP system's CPU is more than twice as fast as your sun. so this gives the different startup times.

                  • 6. Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4
                    mikek753

                    what CPU speed on your V150?

                    Why you use JVM in 32bit mode?
                    does jvm in 32bit mode performs faster then when in 64 bit mode?

                    looks like that is CPU issue, so slow.

                    tnx

                    • 7. Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4
                      lafr

                      From prtdiag:

                      System Configuration: Sun Microsystems sun4u Sun Blade 150 (UltraSPARC-IIe 650MHz)
                      System clock frequency: 93 MHZ
                      Memory size: 1,50GB
                      
                      ==================================== CPUs ====================================
                       E$ CPU CPU Temperature
                      CPU Freq Size Implementation Mask Die Amb. Status Location
                      --- -------- ---------- ------------------- ----- ---- ---- ------ --------
                       0 650 MHz 512KB SUNW,UltraSPARC-IIe 3.3 54C 36C online +-board/cpu0
                      

                      AFAIK the same hardware as in your V120.

                      I did some tests with our application. The SUN VM 1.5.0_03 performs ~15% better in 32Bit mode than in 64Bit mode.

                      If you want to gain a few percent more performance from your Sun engine:
                      - upgrade OS to Solaris 10
                      - use JDK 1.5.0_03 instead of 1.4.2_06


                      • 8. Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4

                        I'm revisiting this thread after a few years but this is an issue I'm sure someone must have gotten to and knows the solution,

                        I'm running solaris2.10, JDK 1.5.0_06 or 1.5.0_11 (32 bit or 64 bit), both are really slow. JBoss takes up a long time to come up and I'm running load test using JMeter and the system response time for each query is 800-900ms as suppose to 100ms on the linux box.

                        root@benchmark # psrinfo
                        0 on-line since 05/24/2007 17:11:31
                        1 on-line since 05/24/2007 17:11:32
                        2 on-line since 05/24/2007 17:11:32
                        3 on-line since 05/24/2007 17:11:32
                        4 on-line since 05/24/2007 17:11:32
                        5 on-line since 05/24/2007 17:11:32
                        6 on-line since 05/24/2007 17:11:32
                        7 on-line since 05/24/2007 17:11:32
                        8 on-line since 05/24/2007 17:11:32
                        9 on-line since 05/24/2007 17:11:32
                        10 on-line since 05/24/2007 17:11:32
                        11 on-line since 05/24/2007 17:11:32
                        12 on-line since 05/24/2007 17:11:32
                        13 on-line since 05/24/2007 17:11:32
                        14 on-line since 05/24/2007 17:11:32
                        15 on-line since 05/24/2007 17:11:32

                        • 9. Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4
                          lafr

                          Different performance on two systems is mostly based on the hardware used
                          The operating system only has minor influence on it.

                          So you showed us you have 16 CPUs in your Solaris box.
                          But what kind of CPU? Show us the head output of prtdiag.
                          What's the CPU used for your Linux box?

                          Don't know much about JMeter. How many threads do you use?
                          If you increase threads, the Solaris box should scale well, if your test application is good.