0 Replies Latest reply on Apr 26, 2013 3:33 AM by vedanth

    Increase in average response time with increase in number of threads

    vedanth

      Hi,

           I have developed web services which would return a hard coded string as response. The same application has been deployed in jboss 7.1.1 server.

       

      While running load test on the operation, i have observed that the average response time increases linearly with increase in number of threads. The number of requests being sent is constant.

       

      I have attached the sample application used for testing and the source code.

       

      Observations:

      No of threads -> no of requets -> average response time

       

       

      1st Iteration

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

      1  thread  -> 10000 requests -> 4 milli seconds

       

       

      2nd Iteration

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

      10 threads -> 10000 requests -> 7 milli seconds

       

       

      3rd Iteration

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

      20 threads -> 10000 requests -> 9 milli seconds

       

       

      4th Iteration

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

      30 threads -> 10000 requests -> 12 milli seconds

       

       

      5th Iteration

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

      40 threads -> 10000 requests -> 14 milli seconds

       

       

      6th Iteration

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

      50 threads -> 10000 requests -> 16 milli seconds

       

       

      Configuration:

       

       

      OS           : Cent OS 6.2

      Java         : sun jdk 1.7.0_15

      Jboss        : jboss as 7.1.1

      Testing Tool : Jmeter

       

       

      In standalone configuration, domain:threads max-threads has been configured to 487 and slsb-strict-max-pool size to 3000.

       

      Why does the average response time increase with increase in number of threads?

      Is there any other configurations that has been missed out.

       

       

      Regards,

      Vedanth