4 Replies Latest reply on Nov 20, 2002 1:18 AM by dancornell

    JBoss performances

    giro

      Hi,

      I work on an EJB project (about 50 entity beans and 5 sesssion beans)and we are using Jboss 3.0.2+ Tomcat 4.0.4. The database is MySql 3.23.49. The project is on Windows 2000.
      The JVM memory is Xmx=256M, Xms=256M
      Actually, we are doing some bench tests, about 100 users.

      We noted the following:
      - the transaction response time average starts to degrade at 50-60 users,
      - a big number of http requests were refused by the server (why?)
      - the number of throughputs increases at the beginning, and then it decreases (isnt'n normal!)

      Could someone give me some hints about where to look for improve the performances:
      - modify the parameters of the EJB container?
      - the database connexion pool (increase the number of the connexions in the pool)?
      - the web server (put a Apache server in frontal of JBoss)?
      - use an another JVM (IBM or BEA)?

      I don't know where is the bottleneck.

      Thanks,

      Giro

        • 1. Re: JBoss performances
          jpjjansen

          Yo,

          From my experiences I can tell that it's definately worth to look into installing IBM's JVM. I experienced a huge speed increase (maybe twice) while stress-testing my application.

          Im also searching for more pointers to improve app-performance. You might look into using opensymphony software (http://www.opensymphony.com) to speed things up.

          Regards,
          JJ

          • 2. Re: JBoss performances
            dancornell


            One basic thing you might want to check would be the Tomcat configuration. Out of the box the settings don't support that much of a load. Try tweaking the minProcessors, maxProcessors, and acceptCount properties in the tomcat-service.xml file. I've forgotten to tweak those before and JBoss/Tomcat starts tripping all over itself way before it ought to.

            Just as a general Good Idea (TM) set enableLookups to false. Doing all the reverse lookups is a huge bottleneck that you don't want to bother with. Might not be affecting you if you're on a local network with a single load client, but down the line...


            Dan

            • 3. Re: JBoss performances

              Dan,

              would you mind posting these Tomcat performance optimization tips to the FAQ forum?

              • 4. Re: JBoss performances
                dancornell


                Done. They are posted in the thread about configuring Apache/Tomcat/JBoss at:

                <http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/