[linux-elitists] Fun benchmark du jour: khttpd vs. boa

Don Marti dmarti@zgp.org
Thu Jan 25 11:05:54 PST 2001


So who's going to LinuxWorld NYC?  Which parties are going to be the
elite ones?  Jim Gleason's posse seems to be mostly in high school (Jim
is the Fonz of Linux) so hotel parties are better than bar parties for
Linux conferences IMHO.

Interesting response to a survey I posted on Kuro5hin:
40% of users block some or all web ads; only 4% agree
that "it's wrong to deny web sites their ad revenue."
http://www.kuro5hin.org/?op=displaystory;sid=2001/1/21/162133/290

Hope Rusty starts putting the daily ad blocking ratio on his site
soon.

Also, Doc Searls proclaimed the Jon Katz of kuro5hin.org:
http://www.kuro5hin.org/?op=displaystory;sid=2001/1/24/202917/369

Speaking of "business as shipping," it looks like computers are actually
doing something for the economy after all -- stabilizing fluctuations.
Just-in-time manufacturing means you don't fill up a warehouse with
manufactured goods people aren't buying much of, then lay off your
workers while you sell it off. Remember all those articles in Forbes in
the late 80s and early 90s about companies reducing inventory, getting
daily sales figures from retailers, all that stuff?  All those projects
add up to a smoother economy.

article (PDF) http://www.ny.frb.org/rmaghome/curr_iss/ci5-13.html
NY Times story http://www.nytimes.com/2001/01/25/business/25SCEN.html

Oh, right, web server benchmarks. Looks like both boa and khttpd beat
1000 requests/second, and Apache is -- news flash -- still slow.

The number of people to whom this is relevant is vanishingly small, though.


----- Forwarded message from Christoph Lameter <christoph@lameter.com> -----

Date: Thu, 25 Jan 2001 08:23:54 -0800 (PST)
From: Christoph Lameter <christoph@lameter.com>
Subject: [khttpd-users] Benchmark: khttpd vs. boa vs. apache: khttpd 2-3 times faster than
 apache
To: khttpd-users@zgp.org
Cc: linux-kernel@vger.kernel.org
Message-ID: <Pine.LNX.4.21.0101250816500.4883-100000@home.lameter.com>

These tests were done with 2 Celeron-433 processors across a 100 mbit
link.

The server was running 2.4.1-pre8 + my patches and boa / apache / khttpd.
The server was running other services while doing the test.

The client was running 2.2.17.

Boa is still very close to khttpd. Apache falls way behind. khttpd and boa
both almost saturate the 100mbit link.

One thing that is still worrysome is that some requests to khttpd still
take 3 seconds to complete. I wonder if the queuing of requests could be
improved on.

christoph@slave2:/home/christoph$ ./zb openrock.net /index.html -k -c 215 -n 20000 -p 8080
 
---
Server:                 Apache/1.3.9
Doucment Length:        8214
Concurency Level:       215
Time taken for tests:   44.533 seconds
Complete requests:      20000
Failed requests:        0
Keep-Alive requests:    19831
Bytes transfered:       171012425
HTML transfered:        164280000
Requests per seconds:   449.11
Transfer rate:          3840.13 kb/s
 
Connnection Times (ms)
           min   avg   max
Connect:     0     5  8991
Total:       3   294 41550
---
 
christoph@slave2:/home/christoph$ ./zb openrock.net /index.html -k -c 215 -n 20000 -p 80
 
---
Server:                 kHTTPd/0.1.6
Doucment Length:        8214
Concurency Level:       215
Time taken for tests:   17.435 seconds
Complete requests:      20000
Failed requests:        0
Keep-Alive requests:    20004
Bytes transfered:       168221828
HTML transfered:        164320658
Requests per seconds:   1147.12
Transfer rate:          9648.51 kb/s
 
Connnection Times (ms)
           min   avg   max
Connect:     0     7  3006
Total:       4    38  3121
---
 
christoph@slave2:/home/christoph$ ./zb openrock.net /index.html -k -c 215 -n 20000 -p 8000
 
---
Server:                 Boa/0.95.0pre
Doucment Length:        8214
Concurency Level:       215
Time taken for tests:   19.514 seconds
Complete requests:      20000
Failed requests:        0
Keep-Alive requests:    20000
Bytes transfered:       168925751
HTML transfered:        164343017
Requests per seconds:   1024.91
Transfer rate:          8656.64 kb/s
 
Connnection Times (ms)
           min   avg   max
Connect:     0    11  3005
Total:      13   208  6163
---


_______________________________________________
khttpd-users maillist  -  khttpd-users@zgp.org
http://zgp.org/mailman/listinfo/khttpd-users

----- End forwarded message -----

-- 
Don Marti              "I've never sent or received a GIF in my life." 
dmarti@zgp.org            -- Bruce Schneier, Secrets and Lies, p. 246.
http://zgp.org/~dmarti/        (Free the Web: http://burnallgifs.org/)



More information about the linux-elitists mailing list