3 Replies Latest reply on Aug 12, 2003 7:01 AM by Jon Barnett

    performance, hits per seconds for jboss-3.2.1_tomcat-4.1.24

    toniali Newbie

      Have anyone done some load test on jboss-3.2.1_tomcat-4.1.24? If have, please share the results.

      We had done some load test, but the performance is not good, and only has 8 hits per second for 1 hours.
      We have the following configure for tomcat:
      <!-- A HTTP/1.1 Connector on port 8080 -->

      Our test is on Solaris 2.8, 2 CPU, 2G memory; JDK 1.4.1

      Our goal is at least 16 hits per second. There is a bottleneck somewhere. Do you have any ideas?



        • 1. Re: performance, hits per seconds for jboss-3.2.1_tomcat-4.1
          Jon Barnett Master

          It depends on a lot of factors. Does your testing just exercise the servlet/JSP container?

          Is testing based on HTTP 1.1 persistent connections?

          If it only tests the servlet container here are some hints.

          You should probably give the JVM more memory by conventional wisdom (although I'm doing some investigation in this area at the moment in something related) and increase the available listener instances - a minimum of 5 and a maximum of 75 is actually not much if you are simulating more persistent connections than 75.

          A servlet performance report http://www.webperformanceinc.com/library/ServletReport/ provides some tips on their performance configurations and results of testing.

          If this is still not enough speed, also consider turning off the reverse lookups if you can get by without resolved names in the access logs.

          That is a starter I hope.

          • 2. Re: performance, hits per seconds for jboss-3.2.1_tomcat-4.1
            toniali Newbie

            Thank you for your response.

            We increased the number of CPU in Oracle database. Also changed web server config as

            Right we can reach 15 hits per second. And the reponse time is around 3 seconds per page.

            • 3. Re: performance, hits per seconds for jboss-3.2.1_tomcat-4.1
              Jon Barnett Master

              OK. Looks like there are some bottlenecks in the areas you have addressed. However, I sense there must be some other bottleneck. You have some fairly powerful processors at your disposal, yet a transaction is taking 3 seconds. This is a large amount of time. I would monitor your CPU capacity under the load you are imposing - build/install "top" on your Solaris system and check the levels of processing on the CPUs - or use whatever server monitoring tools you have to achieve the same.

              If CPU levels are not at 100% (assuming the DB is not on the same system), then you are not at saturation and the bottleneck is not caused by being CPU bound. You should look for deadlocks or co-ordination events in your application that might cause them to wait for response in the transaction chain. This might include tuning JBoss for good CMP if you are using CMP. It might also involve timing JDBC transactions and determining if there are any issues there.

              If it is CPU bound, I would start looking for the source of such CPU intensity.