httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject some crude results
Date Sun, 17 Aug 1997 20:33:01 GMT
I finally got enough ram in one my home machines to do some very crude
benchmarking.  The machine is a dual ppro 166 w/128Mb RAM, runninx linux
2.0.30 (+davem-pre-2.0.31-2).  I'm benchmarking across 127.0.0.1 so this
is not at all representative of anything useful.  But enjoy anyhow.

I'm using the default .conf files for 1.3a2-dev, and the defaults for 1.2.1
but w/HostnameLookups off (my nameserver is across an isdn line at the
moment).  So this isn't exactly what a naive reviewer would be running
(they'd likely have HostnameLookups on in 1.2.1).  I also have mod_status
built in, but otherwise nothing else is changed from default.

1.3a2-dev is HEAD + my mmap patch.

The first series, with a 50k static file:

[27]benchlark:~% zb 127.0.0.1 /50k -n 10000 -c 50 -p 8080

---
Server:                 Apache/1.3a2-dev
Doucment Length:        51200
Concurency Level:       50
Time taken for tests:   61.989 seconds
Complete requests:      10000
Failed requests:        0
Bytes transfered:       515947014
HTML transfered:        513476190
Requests per seconds:   161.32
Transfer rate:          8323.20 kb/s

Connnection Times (ms)
           min   avg   max
Connect:     0    18    57
Total:      46   307   993
---

[28]benchlark:~% zb 127.0.0.1 /50k -n 10000 -c 50 -p 8080

---
Server:                 Apache/1.2.1
Doucment Length:        51200
Concurency Level:       50
Time taken for tests:   71.591 seconds
Complete requests:      10000
Failed requests:        0
Bytes transfered:       515983834
HTML transfered:        513552218
Requests per seconds:   139.68
Transfer rate:          7207.38 kb/s

Connnection Times (ms)
           min   avg   max
Connect:     0    16    89
Total:      65   353  1181
---

Not as dramatic as I'd hope for.

With a much smaller file:

[22]benchlark:~% zb 127.0.0.1 /apache_pb.gif -n 10000 -c 50 -p 8080

---
Server:                 Apache/1.3a2-dev
Doucment Length:        2326
Concurency Level:       50
Time taken for tests:   25.591 seconds
Complete requests:      10000
Failed requests:        0
Bytes transfered:       25715690
HTML transfered:        23283260
Requests per seconds:   390.76
Transfer rate:          1004.87 kb/s

Connnection Times (ms)
           min   avg   max
Connect:     0    37    92
Total:      60   126   424
---

[24]benchlark:~% zb 127.0.0.1 /apache_pb.gif -n 10000 -c 50 -p 8080

---
Server:                 Apache/1.2.1
Doucment Length:        2326
Concurency Level:       50
Time taken for tests:   31.984 seconds
Complete requests:      10000
Failed requests:        0
Bytes transfered:       25696170
HTML transfered:        23301868
Requests per seconds:   312.66
Transfer rate:          803.41 kb/s

Connnection Times (ms)
           min   avg   max
Connect:     0    12    78
Total:      22   157   884
---

A little bit more interesting.  But still not as dramatic as I thought it
would be.  Things are probably quite different though when the same machine
isn't running both the benchmark clients and the server.

I also did a few comparisons with various of my optimizations in and out,
and they all seem to have improved things bit by bit.  So I don't think I
broke anything performancewise :)

Dean


Mime
View raw message