httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Ziegler" <dzieg...@MIT.EDU>
Subject Apache 2.0 ab
Date Fri, 25 May 2001 03:44:28 GMT
I was just benchmarking my server, and I tried benchmarking with the ab
that comes with Apache 2.0 (.16).  I get ridiculously slow numbers:



This is ApacheBench, Version 1.3e <$Revision: 1.69 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
http://www.zeustech.net/
Copyright (c) 1998-2001 The Apache Software Foundation,
http://www.apache.org/

Benchmarking localhost (be patient).....done
Server Software:        Apache/2.0.16

Server Hostname:        localhost
Server Port:            80

Document Path:          /
Document Length:        120 bytes

Concurrency Level:      25
Time taken for tests:   0.16919 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      38600 bytes
HTML transferred:       12000 bytes
Requests per second:    5.91 [#/sec] (mean)
Time per request:       4229.75 [ms] (mean)
Time per request:       169.19 [ms] (mean, across all concurent
requests)
Transfer rate:          2.28 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     0    0.0      0     1
Processing:    11  3148 3627.0    533 10477
Waiting:        0  1572 2312.8    230  5480
Total:         11  3148 3627.0    533 10477
ERROR: The median and mean for the initial connection time are more than
twice the standard
       deviation apart. These results are NOT reliable.

Percentage of the requests served within a certain time (ms)
  50%    533
  66%   5434
  75%   5448
  80%   5480
  90%  10460
  95%  10472
  98%  10474
  99%  10477
 100%  10477 (last request)



But when I benchmark with Apache 1.3.19 ab, I get much more realistic
numbers:



This is ApacheBench, Version 1.3c <$Revision: 1.44 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
http://www.zeustech.net/
Copyright (c) 1998-2000 The Apache Group, http://www.apache.org/

Server Software:        Apache/2.0.16

Server Hostname:        localhost
Server Port:            80

Document Path:          /
Document Length:        120 bytes

Concurrency Level:      25
Time taken for tests:   1.365 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      388702 bytes
HTML transferred:       120840 bytes
Requests per second:    732.60
Transfer rate:          284.76 kb/s received

Connnection Times (ms)
              min   avg   max
Connect:       -6     4    18
Processing:    12    27    98
Total:          6    31   116



It's just serving up a static html file, nothing spectacular.  Any ideas
what might be causing these huge differences?  Is this something to look
at?  Thanks!

-David Ziegler
-dziegler@mit.edu


Mime
View raw message