lkml.org 
[lkml]   [2001]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: khttpd beats boa with persistent patch
a few comments...

- localhost is a meaningless benchmark. it's useful to catch some low
hanging fruit, but it really doesn't help in the long run.

- contrast the max connection times between kHTTPd and Boa. if that 9
second maximum for kHTTPd is any indication of its latency performance on
a real network benchmark then... it kind of sucks hard.

latency is as important, or even more important than raw throughput.
anything beyond a second or two is the point where humans start giving up
on the server. if you study a real benchmark such as specweb99 you'll
find that if you don't have good response latency then your score is not
valid. they actually have a minimum throughput that each connection must
meet or else it's considered an error -- it's similar to having a latency
budget, with some slight differences.

anyhow a real network benchmark might show that kHTTPd latency is actually
not as broken as this one indicates. i'd however really hesitate to call
this a win.

btw is your CPU slow or something? 'cause istr getting numbers at least
this good from apache across localhost several years ago even under
2.0.x... and boa and khttpd should both beat apache in this.

-dean

On Fri, 12 Jan 2001, Christoph Lameter wrote:

> I applied the persistent khttpd patch + my vhost patch and now khttpd
> beats boa!!! (patch against 2.4.0 follows at the end of the message)
>
> The connection times of boa are still better but khttpd wins in transfers.
>
> Re: TUX: Way WAAAYYY too much overkill.
>
> clameter@melchi:~$ ./zb localhost /index.html -k -c 215 -n 20000
>
> ---
> Server: kHTTPd/0.1.6
> Doucment Length: 1666
> Concurency Level: 215
> Time taken for tests: 17.486 seconds
> Complete requests: 20000
> Failed requests: 0
> Keep-Alive requests: 20097
> Bytes transfered: 37400517
> HTML transfered: 33481602
> Requests per seconds: 1143.77
> Transfer rate: 2138.88 kb/s
>
> Connnection Times (ms)
> min avg max
> Connect: 0 28 9313
> Total: 20 185 9607
> ---
>
> clameter@melchi:~$ ./zb localhost /index.html -k -c 215 -n 20000 -p 6000
>
> ---
> Server: Boa/0.94.8.3
> Doucment Length: 1666
> Concurency Level: 215
> Time taken for tests: 33.865 seconds
> Complete requests: 20000
> Failed requests: 0
> Keep-Alive requests: 20001
> Bytes transfered: 37882109
> HTML transfered: 33321666
> Requests per seconds: 590.58
> Transfer rate: 1118.62 kb/s
>
> Connnection Times (ms)
> min avg max
> Connect: 0 2 346
> Total: 258 360 485
> ---

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:1.001 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site