Re: anybody auditing/benchmarking jan kneschkes lighttpd?
Frank <[email protected]> Sun, 27 Jun 2004 12:36:57 -0600
| Newsgroups | gmane.comp.web.fnord |
|---|---|
| Message-ID | <[email protected]> |
Clemens Fischer wrote: > * Frank: > > >> ./httpbench -k -c 1000 -i 10 -s 5 http://127.0.0.1:8000/README.httpbench >> The above test uses 1000 concurrent connects, which for a heavily loaded server isn't really a lot. > what do these numbers mean in terms of "number of served connections per > second"? > 1000 connections ... so let's see how long it takes a test to run. I run gatling, then lighttpd, then apache, all lastest version. This is on Fedora Core 2 and a 2.8g P4 with 2gigs of ram. Apache is as installed by Redhat's install program. Gatling is the current cvs version lighttpd is the current public version. Note that I am only showing the end of the run, and have cut out a bunch of redundant data as it is at the end that the webserver has either bogged down or is still going strong. gatling: [root@a00 gatling]# time ./httpbench -k -c 1000 -i 10 -s 5 http://127.0.0.1:8010/README.httpbench ... sample 87 295 clat 84 clat 77 clat 71 clat 75 clat 69 clat 72 clat 72 clat 72 clat 66 clat 75 sample 78 287 clat 84 clat 75 clat 86 clat 69 clat 68 clat 73 clat 69 clat 67 clat 74 clat 73 real 0m0.299s user 0m0.023s sys 0m0.144s lighttpd: [root@a00 gatling]# time ./httpbench -k -c 1000 -i 10 -s 5 http://127.0.0.1:80/README.httpbench ... sample 469 2823 clat 96 clat 69 clat 76 clat 82 clat 76 clat 75 clat 80 clat 71 clat 70 clat 69 sample 455 2857 clat 97 clat 69 clat 73 clat 71 clat 70 clat 76 clat 80 clat 68 clat 74 clat 80 real 0m0.946s user 0m0.029s sys 0m0.227s > > like how pretty? just for comparison. apache dies rather early in this test. I leaves a zillion forked zombies and you MUST restart apache after the test. apache: [root@a00 gatling]# time ./httpbench -k -c 1000 -i 10 -s 5 http://127.0.0.1:88/README.httpbench .... sample 485 404516 clat 130 clat 81 clat 90 clat 75 clat 74 clat 75 clat 75 clat 92 clat 73 clat 74 sample 554 203980 clat 117 clat 84 clat 76 clat 84 clat 81 clat 82 clat 75 clat 78 clat 78 clat 88 sample 672 205441 clat 143 clat 95 clat 75 clat 80 clat 114 clat 88 clat 81 clat 77 clat 81 clat 84 sample 576 203907 clat 113 clat 74 clat 89 clat 76 clat 73 clat 83 clat 105 clat 75 clat 76 clat 80 sample 636 4599 clat 127 clat 82 clat 80 clat 78 clat 73 clat 73 clat 91 clat 84 clat 83 clat 81 sample 603 4604 clat 121 clat 83 clat 74 clat 74 clat 72 clat 75 clat 81 clat 81 clat 77 clat 80 sample 566 205167 clat 129 clat 76 clat 83 clat 80 clat 76 clat 72 clat 80 clat 76 clat 75 clat 72 .. forced it to end with a ctrl-c real 0m20.361s user 0m0.009s sys 0m0.047s > > clemens