I’ve been running ISPConfig latest version(3.0.4) on Amazon cloud t1.micro instance for some time to host several small sites, mostly WordPress. I’m quite happy with the performance of the instance. The OS is Ubuntu 10.04 LTS. Until recently I’ve used the default mpm which is prefork, but I decided to test out worker also. If you are wondering I use mod_fcgid for all the sites. That being said I performed several tests with ab (apache benchmark) to see which mpm can server most requests per second.
While I do not claim this is the best setup, I think worker is better suited for me. Some people said they had problems because of mpm worker. So far so good, but will update this post if there are any issues.
Test results:
| prefork | worker |
| Concurrency Level: 32 Time taken for tests: 7.834 seconds Complete requests: 5000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 4972 Total transferred: 84831033 bytes HTML transferred: 83206915 bytes Requests per second: 638.27 [#/sec] (mean) Time per request: 50.136 [ms] (mean) Time per request: 1.567 [ms] (mean, across all concurrent requests) Transfer rate: 10575.21 [Kbytes/sec] received |
Concurrency Level: 32 Time taken for tests: 7.096 seconds Complete requests: 5000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 4968 Total transferred: 84877824 bytes HTML transferred: 83247322 bytes Requests per second: 704.63 [#/sec] (mean) Time per request: 45.414 [ms] (mean) Time per request: 1.419 [ms] (mean, across all concurrent requests) Transfer rate: 11681.17 [Kbytes/sec] received |