httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48594] New: Inaccurate requests per second in html output of apachebench
Date Thu, 21 Jan 2010 23:09:36 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48594

           Summary: Inaccurate requests per second in html output of
                    apachebench
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: support
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ray+apache@chapterthreellc.com


Overview:
Running apache bench with the -w option produces an inaccurate requests per
second value. I suspect that it's a simple misplaced decimal.

E.X.
Steps to Reproduce (with option w):
% /usr/sbin/ab -c 2 -n 10 -w http://www.apache.org/ | lynx -dump -stdin

Actual Output:
   This is ApacheBench, Version 2.3 <$Revision: 655654 $>
   Copyright 1996 Adam Twiss, Zeus Technology Ltd,
   http://www.zeustech.net/
   Licensed to The Apache Software Foundation, http://www.apache.org/

   ..done

       Server Software:     Apache/2.3.4
       Server Hostname:     www.apache.org
         Server Port:       80
        Document Path:      /
       Document Length:     30382 bytes
      Concurrency Level:    2
    Time taken for tests:   5.048 seconds
      Complete requests:    10
       Failed requests:     0
      Total transferred:    307790 bytes
      HTML transferred:     303820 bytes
     Requests per second:   1980.91
        Transfer rate:      60970.49 kb/s received
            Connnection Times (ms)
                   min      avg      max
    Connect:   159          167  177
   Processing: 821          842  846
     Total:    980          1009 1023

Steps to Reproduce (without option w):
% /usr/sbin/ab -c 2 -n 10 http://www.apache.org/

Actual output:                  
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.apache.org (be patient).....done


Server Software:        Apache/2.3.4
Server Hostname:        www.apache.org
Server Port:            80

Document Path:          /
Document Length:        30382 bytes

Concurrency Level:      2
Time taken for tests:   4.983 seconds
Complete requests:      10
Failed requests:        0
Write errors:           0
Total transferred:      307790 bytes
HTML transferred:       303820 bytes
Requests per second:    2.01 [#/sec] (mean)
Time per request:       996.578 [ms] (mean)
Time per request:       498.289 [ms] (mean, across all concurrent requests)
Transfer rate:          60.32 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      159  164   7.4    161     178
Processing:   817  832   8.5    837     839
Waiting:      163  170   6.7    169     182
Total:        976  997  13.6    996    1017

Percentage of the requests served within a certain time (ms)
  50%    996
  66%    999
  75%    999
  80%   1016
  90%   1017
  95%   1017
  98%   1017
  99%   1017
 100%   1017 (longest request)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message