Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
apache_benchmarks [2015/06/01 15:33]
steve [Example CGP Graph]
apache_benchmarks [2015/06/01 20:58]
steve
Line 22: Line 22:
  
 Before you do any tests suites, use CGP to determine that average number of webserver connections over a specific period of time (week, month, etc.). ​ Then use that average as the number of concurrent connections,​ to simulate the benchmark under normal conditions. Before you do any tests suites, use CGP to determine that average number of webserver connections over a specific period of time (week, month, etc.). ​ Then use that average as the number of concurrent connections,​ to simulate the benchmark under normal conditions.
- 
-Using Ragnar and this system load as an example, 4.7 is the average # of connections over one hour (3600 seconds). [[http://​ragnarrelay.com/​cgp/​detail.php?​p=apache&​pi=localhost&​t=apache_connections&​h=ragnarrelay.com&​s=3600|reference]] 
- 
-Please note that this average is for all the traffic that the website generates -- not just one page. 
  
 Once you have the average number of connections,​ you can simulate the load under any length of time.  Fifteen seconds (one quarter of a minute) is a good number that is both realistic in simulation as well as wait time for the tester. Once you have the average number of connections,​ you can simulate the load under any length of time.  Fifteen seconds (one quarter of a minute) is a good number that is both realistic in simulation as well as wait time for the tester.
Line 41: Line 37:
 ==== Sample Benchmark ==== ==== Sample Benchmark ====
  
-Using a local checkout of Ragnar'​s server, with an Apache installation on my desktop, here are some benchmark tests, using PHP and the ''​prefork''​ MPM, and the default Apache configuration.+Using an Apache installation on my desktop, here are some benchmark tests, using PHP and the ''​prefork''​ MPM, and the default Apache configuration.
  
 == Default Settings == == Default Settings ==