2 Replies Latest reply on Aug 13, 2010 6:09 AM by lwen ma

    jboss 5.1 slower 10% than jboss4.2

    lwen ma Newbie

      I'm planning to migration from jboss 4.2.2 to jboss 5.1, but it seams that jboss 5 is very slow when I do a test:

       

      env:

      os:RHEL 5 64bit

      cpu: 2 X Intel Xeon E5310

      mem:8GB

      jdk:jdk6u21

       

      jboss4.2 vs jboss5.1 ( 50% slower):

       

      urljboss5.1.0(RPS)jboss4.2.2(RPS)result
      /mservices/weather/provinces.action5164920.05
      /mservices/homepage/GetPhoto.action726744-0.02
      /mservices/m/index.action447815-0.45
      /mservices/m/comps.action?catid=2185208-0.11
      /mservices/m/rss/2668/725933d3.htm262633-0.59
      /mobile/news/comp-2668/725933d3.htm137291-0.53

       

       

      jboss4.2 vs jboss5.1 update JBoss EJB3 Plugin 1.0.19 ( 5% slower):

       

      urljboss5.1.0(RPS)jboss4.2.2(RPS)result
      /mservices/weather/provinces.action516540-0.04
      /mservices/homepage/GetPhoto.action7377390
      /mservices/m/index.action832838-0.01
      /mservices/m/comps.action?catid=2266287-0.07
      /mservices/m/rss/2668/725933d3.htm624689-0.09
      /mobile/news/comp-2668/725933d3.htm301334-0.1

       

      RPS:Requests per second

       

       

       

      -bash-3.2# jstat -gcutil

       

      jboss 5.1
      after started
        S0     S1     E      O      P     YGC     YGCT    FGC    FGCT     GCT  
        0.00  89.72  82.04  11.47  21.95     21    1.990     1    0.671    2.661
      after finished test()
        S0     S1     E      O      P     YGC     YGCT    FGC    FGCT     GCT  
        5.93   0.00  29.36  15.12  24.61   2708   55.730     1    0.671   56.400

       


      jboss 4.2
      after started
        S0     S1     E      O      P     YGC     YGCT    FGC    FGCT     GCT  
      92.75   0.00  98.10   2.46  16.19      6    0.626     1    0.230    0.856
      after finished test()
        S0     S1     E      O      P     YGC     YGCT    FGC    FGCT     GCT  
        0.00  20.40  58.35   6.18  19.00   2641  113.757     1    0.230  113.987

        • 1. Re: jboss 5.1 slower 10% than jboss4.2
          jaikiran pai Master

          mlw ma wrote:

           

          I'm planning to migration from jboss 4.2.2 to jboss 5.1, but it seams that jboss 5 is very slow when I do a test:

           

          env:

          os:RHEL 5 64bit

          cpu: 2 X Intel Xeon E5310

          mem:8GB

          jdk:jdk6u21

           

          jboss4.2 vs jboss5.1 ( 50% slower):


          ...

          jboss4.2 vs jboss5.1 update JBoss EJB3 Plugin 1.0.19 ( 5% slower):

           

          It's good to see that the EJB3 plugin improves the performance to that level.

           

          However, I'm not sure what those values in those tables indicate. For example, what does a negative value indicate? Also have you checked (using some profiler or some other means) what exactly is degrading the performance?

          • 2. Re: jboss 5.1 slower 10% than jboss4.2
            lwen ma Newbie

            jaikiran pai :


            However, I'm not sure what those values in those tables indicate. For example, what does a negative value indicate?

             

            I use apache ab to test,

            "RPS" mean "Requests Number per second",

            the value of "result" column mean performance improving rate , "0.05" mean 5 percent improving, "-0.05" mean 5 percent degrading.