Top Stories

Lava Kafle


How to do best Load, Stress, and Performance Testing? Let’s learn

How to do best Load, Stress, and Performance Testing? Let’s learn by looking at link given below.
Not necessarily, compression yields best results if we are dynamically compressing very huge data sets.
Reference :
©2008 Web Performance, Inc.
v1.0 – Dec 4, 2008

Load Configuration

* Five test cases as described above.
* Each test case is run independently, with the target web server being rebooted between each test.
* For each test case, there are two tests: a baseline without compression, and a test with compression enabled.
* Every VU (virtual user) runs the same test case, with a 1-second delay in between.
* Each VU is simulating a 5Mbps connection (e.g. cable/DSL connection).
* Each test is 8 minutes in length, starting with 50 users and increasing the load by 50 users every two minutes at random intervals inside that minute, to a maximum load of 200 users.
* 5 second sample period.
* The test parameters were determined through a number of preliminary tests that gauged the performance that each load engine was capable of, and to make sure that consumed bandwidth was not high enough to impact the test.

Test Procedure
Each test run followed these steps:

1. Turn compression in the Apache configuration on or off, depending on the test
2. Restart the server
3. Start the server monitoring agent
4. Run the load test

Software Versions and Settings

* Zlib version 1.2.3-3 (default compression setting of 6)
* Apache 2.2.3-11.el5_1.centos.3
* pre-fork MPM
* StartServers 5
* ServerLimit 1000
* MaxClients 1000
* MaxRequestsPerChild 10000
* KeepAlive on
* KeepAliveRequests 0 (unlimited)
* KeepAliveTimeout 30
* AddOutputFilterByType DEFLATE text/xml text/css text/plain text/html application/x-javascript (toggled for the test by commenting it out)
See link below for same thing described above and graphs: