Wednesday, May 16, 2007

Prefork single process benchmark

~/apache2/bin$ ./httpd -X

In other window:
~/apache2/bin$ ./ab -n 100000 -c 1000 localhost:8080/index.html
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
apr_socket_recv: Connection reset by peer (104)
Total of 10000 requests completed


Same results with
~/apache2/bin$ sudo ./httpd -X

No comments: