httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@Fujitsu-Siemens.com>
Subject Re: Apache 2.0 ab
Date Mon, 28 May 2001 14:48:02 GMT
On Fri, May 25, 2001 at 12:25:36AM -0700, Dirk-Willem van Gulik wrote:
> 
> Hit the send button too quickly - setting both run's to do the same number
> of requests, say 4x1000 - might fix it; right now your ab-1 test is 10
> times longer tham your ab-2 test.

No, that's not the answer. I have been observing the exact same behavior on
a SVR4 platform: insanely slow connection times for ab-2.0, while
ab-1.3.20 results looked sensible. There MUST be some problem lurking
in the combination of ab with apr (on some platforms, at least. Maybe
Lachman-derived TCP stacks like in SVR4?)

With FreeBSD, the differences are also noticeable (and
I wonder what the "-t 10" switch is supposed to do,
when it actually runs for 160 seconds!??!!?):

---- ab from apache-1.3.21-dev: ----
% ../src/support/ab -t10 -k -c6 http://deejai2.mch.fsc.net:8007/tenkb.raw
Server Hostname:        deejai2.mch.fsc.net
Server Port:            8007

Document Path:          /tenkb.raw
Document Length:        10240 bytes

Concurrency Level:      6
Time taken for tests:   10.014 seconds
Complete requests:      3546
Failed requests:        0
Broken pipe errors:     0
Keep-Alive requests:    3515
Total transferred:      37488743 bytes
HTML transferred:       36360651 bytes
Requests per second:    354.10 [#/sec] (mean)
Time per request:       16.94 [ms] (mean)
Time per request:       2.82 [ms] (mean, across all concurrent requests)
Transfer rate:          3743.63 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     0    1.0      0    22
Processing:     3    16    8.6     15   328
Waiting:        0    14    8.6     13   327
Total:          3    16    8.7     15   328

Percentage of the requests served within a certain time (ms)
  50%     15
  66%     16
  75%     17
  80%     17
  90%     18
  95%     21
  98%     28
  99%     32
 100%    328 (last request)


---- ab from httpd-2.0.19-dev: ----
% httpd-2.0/support/ab -t10 -k -c6 http://deejai2.mch.fsc.net:8007/tenkb.raw
Server Software:        Apache/2.0.19-dev                                  
Server Hostname:        deejai2.mch.fsc.net
Server Port:            8007

Document Path:          /tenkb.raw
Document Length:        10240 bytes

Concurrency Level:      6
Time taken for tests:   159.76375 seconds
Complete requests:      50000
Failed requests:        0
Write errors:           0
Keep-Alive requests:    49509
Total transferred:      527918871 bytes
HTML transferred:       512039370 bytes
Requests per second:    314.31 [#/sec] (mean)
Time per request:       0.019 [ms] (mean)
Time per request:       0.003 [ms] (mean, across all concurent requests)
Transfer rate:          3240.86 [Kbytes/sec] received

Connection Times (ms)
            min  mean[+/-sd] median   max
Connect:    0     0    0.2 0 9
Processing: 14   965  568.2 954 2667
Waiting:    0     8    6.5 7 261
Total:      14   965  568.2 954 2667

Percentage of the requests served within a certain time (ms)
  50%    954
  66%   1254
  75%   1428
  80%   1526
  90%   1728
  95%   1895
  98%   2025
  99%   2121
 100%   2667 (longest request)


   Martin
-- 
<Martin.Kraemer@Fujitsu-Siemens.com>    |       Fujitsu Siemens
       <martin@apache.org>              |   81730  Munich,  Germany

Mime
View raw message