6 Replies Latest reply on Apr 1, 2010 11:28 PM by ybxiang.china

    JBOSS really slow on Solaris 64 bit system

      JBoss is running really slow on the 64 bit solaris box that we have. I tried this on two Sun machines (Solaris OS, 8 cpu, 8GB memory) but instead of being blazing fast, it is really really slow.

      Any clue?

        • 1. Re: JBOSS really slow on Solaris 64 bit system
          lafr

          What in you opinion is slow?
          What kind of CPUs. Show us the head output of prtdiag.
          What operating system:
          cat /etc/release
          uname -a
          Startup parameters of JBoss?

          • 2. Re: JBOSS really slow on Solaris 64 bit system

            What I meant by slow is, the load test response time is slow compared to the Linux OS. I've a box running Linux OS and a Sun box running Solaris. The response time on JMeter for a query request is 100ms as compared to 800ms on the Solaris OS box!

            --------------------------------------
            prtdiag information:
            root@benchmark # prtdiag
            System Configuration: Sun Microsystems sun4v Sun Fire T200
            System clock frequency: 200 MHz
            Memory size: 8184 Megabytes

            ========================= CPUs ===============================================

            CPU CPU
            Location CPU Freq Implementation Mask
            ------------ ----- -------- ------------------- -----
            MB/CMP0/P0 0 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P1 1 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P2 2 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P3 3 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P4 4 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P5 5 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P6 6 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P7 7 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P8 8 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P9 9 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P10 10 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P11 11 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P12 12 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P13 13 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P14 14 1000 MHz SUNW,UltraSPARC-T1
            MB/CMP0/P15 15 1000 MHz SUNW,UltraSPARC-T1


            ========================= IO Configuration =========================

            IO
            Location Type Slot Path Name Model
            ----------- ----- ---- --------------------------------------------- ------------------------- ---------
            IOBD/NET0 PCIE IOBD /pci@780/pci@0/pci@1/network@0 network-pciex8086,105e
            IOBD/NET1 PCIE IOBD /pci@780/pci@0/pci@1/network@0,1 network-pciex8086,105e
            IOBD/PCIE PCIE IOBD /pci@780/pci@0/pci@9/scsi@0 scsi-pci1000,56 LSI,1064E
            IOBD/PCIX PCIX IOBD /pci@7c0/pci@0/pci@1/pci@0/isa@2 isa
            IOBD/PCIX PCIX IOBD /pci@7c0/pci@0/pci@1/pci@0/usb@5 usb-pciclass,0c0310
            IOBD/PCIX PCIX IOBD /pci@7c0/pci@0/pci@1/pci@0/usb@6 usb-pciclass,0c0310
            IOBD/PCIX PCIX IOBD /pci@7c0/pci@0/pci@1/pci@0/ide ide-pci10b9,5229
            IOBD/NET2 PCIE IOBD /pci@7c0/pci@0/pci@2/network@0 network-pciex8086,105e
            IOBD/NET3 PCIE IOBD /pci@7c0/pci@0/pci@2/network@0,1 network-pciex8086,105e
            -------------------------

            root@benchmark # cat /etc/release
            Solaris 10 1/06 s10s_u1wos_19a SPARC
            Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
            Use is subject to license terms.
            Assembled 07 December 2005

            --------------------------
            root@benchmark # uname -a
            SunOS benchmark 5.10 Generic_118833-24 sun4v sparc SUNW,Sun-Fire-T200

            --------------------------
            Startup param for JBoss,

            JAVA_OPTS: -Dprogram.name=run.sh -server -Xms2048m -Xmx2048m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -d64 -Djava.net.preferIPv4Stack=true -Djboss.partition.name= -Djboss.partition.udpGroup.base=228.1.22.33 -Djboss.partition.udpGroup=228.1.22.173 -Dss.control.clusterName= -Dss.workflow.jms.discoveryGroup=228.1.22.171
            -Dss.control.disable=true

            ----------------------------

            • 3. Re: JBOSS really slow on Solaris 64 bit system

              Did you solve the problem ?

              • 4. Re: JBOSS really slow on Solaris 64 bit system
                mailming

                This is our configuration for jboss servers you can try it out

                We did load testing on different combination of cconfiguration, this turns out to be the best performance.

                JAVA_OPTS="-d64 -server -XX:PermSize=2048m -XX:MaxPermSize=2048m -Xms4096m -Xmx4096m -XX:+UseParallelGC -XX:SurvivorRatio=16 -XX:ThreadStackSize=512k -XX:NewSiz
                e=2048m -XX:MaxNewSize=2048m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"


                The config will reserve 6GB for jboss. My app usually use up 3GB.

                Let me know if this is helpful, or any questions.

                Env. Solaris 10. 64bits 8GB phsyical 7200RPM 200GB HD. 4 core

                • 5. Re: JBOSS really slow on Solaris 64 bit system
                  ybxiang.china

                  I have the same problem, but neither jboss nor sun give the solution.

                  It seems that solaris is getting worse and worse. It will be replaced by linux sooner or later.

                  • 6. Re: JBOSS really slow on Solaris 64 bit system
                    ybxiang.china

                    I use the same JAVA_OPTS as you[Ming jia], but it's still too slow!!!