You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ankit Kapoor <an...@gmail.com> on 2011/03/01 05:10:43 UTC

[users@httpd] Interpreting Results for apache benchmarking tool

Hi All,

I am using apache as a streaming server. So will it be fine if I am using ab
tool for stress testing apache in this scenario.
Confusion is coming up as till now I have seen ab being used for testing
static html web pages. Please correct me if I am wrong.

Also can you point to any document which can help in understanding the
results from the ab tool specially the one in bold below, pardon my
ignorance as I am new to this.

ab -n 200 -c 200
http://<IP>/Sourcefiles/MP4480psource/1.mp4<http://10.234.23.207/Sourcefiles/MP4480psource/1.mp4>

*Output from the tool:*

Benchmarking <IP> (be patient)
Completed 100 requests
Finished 200 requests

Server Software:        Apache/2.0.63
Server Hostname:        <IP>
Server Port:            80

Document Path:          /Sourcefiles/MP4480psource/1.mp4
Document Length:        156781715 bytes

Concurrency Level:      200
Time taken for tests:   285.002 seconds
Complete requests:      200
Failed requests:        0
Write errors:           0
Total transferred:      858884154 bytes
HTML transferred:       858813144 bytes
Requests per second:    0.70 [#/sec] (mean)
Time per request:       285000.000 [ms] (mean)
Time per request:       1425.000 [ms] (mean, across all concurrent requests)
Transfer rate:          2943.00 [Kbytes/sec] received

*Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0 1115 1593.4      0    3383
Processing: 17842 250919 58760.0 279784  284097
Waiting:       26 33773 19468.5  33856   68026
Total:      17842 252034 59346.5 279951  284959*

Percentage of the requests served within a certain time (ms)
  50%  279951
  66%  283429
  75%  284097
  80%  284450
  90%  284776
  95%  284890
  98%  284950
  99%  284950
 100%  284959 (longest request)

Regards
Ankit Kapoor

[users@httpd] Re: Interpreting Results for apache benchmarking tool

Posted by Ankit Kapoor <an...@gmail.com>.
Hi All,

Any help will be appreciated.

Regards
Ankit Kapoor

On Tue, Mar 1, 2011 at 9:40 AM, Ankit Kapoor <an...@gmail.com> wrote:

> Hi All,
>
> I am using apache as a streaming server. So will it be fine if I am using
> ab tool for stress testing apache in this scenario.
> Confusion is coming up as till now I have seen ab being used for testing
> static html web pages. Please correct me if I am wrong.
>
> Also can you point to any document which can help in understanding the
> results from the ab tool specially the one in bold below, pardon my
> ignorance as I am new to this.
>
> ab -n 200 -c 200 http://<IP>/Sourcefiles/MP4480psource/1.mp4<http://10.234.23.207/Sourcefiles/MP4480psource/1.mp4>
>
> *Output from the tool:*
>
> Benchmarking <IP> (be patient)
> Completed 100 requests
> Finished 200 requests
>
> Server Software:        Apache/2.0.63
> Server Hostname:        <IP>
> Server Port:            80
>
> Document Path:          /Sourcefiles/MP4480psource/1.mp4
> Document Length:        156781715 bytes
>
> Concurrency Level:      200
> Time taken for tests:   285.002 seconds
> Complete requests:      200
> Failed requests:        0
> Write errors:           0
> Total transferred:      858884154 bytes
> HTML transferred:       858813144 bytes
> Requests per second:    0.70 [#/sec] (mean)
> Time per request:       285000.000 [ms] (mean)
> Time per request:       1425.000 [ms] (mean, across all concurrent
> requests)
> Transfer rate:          2943.00 [Kbytes/sec] received
>
> *Connection Times (ms)
>               min  mean[+/-sd] median   max
> Connect:        0 1115 1593.4      0    3383
> Processing: 17842 250919 58760.0 279784  284097
> Waiting:       26 33773 19468.5  33856   68026
> Total:      17842 252034 59346.5 279951  284959*
>
> Percentage of the requests served within a certain time (ms)
>   50%  279951
>   66%  283429
>   75%  284097
>   80%  284450
>   90%  284776
>   95%  284890
>   98%  284950
>   99%  284950
>  100%  284959 (longest request)
>
> Regards
> Ankit Kapoor
>
>

[users@httpd] Re: Interpreting Results for apache benchmarking tool

Posted by DW <xf...@hotmail.com>.
The items in bold are:

*min  mean[+/-sd] median   max

*Min = Minimum
Mean = Average
[+/- sd] = differences from Standard Deviations
Median= it is half way thru all the numbers arranged in ascending 
order.  If you have 11 numbers, the it is the 6th number.
Max= maximum number

Hope this gives a starting point.




Ankit Kapoor wrote:
> Hi All,
>
> I am using apache as a streaming server. So will it be fine if I am 
> using ab tool for stress testing apache in this scenario.
> Confusion is coming up as till now I have seen ab being used for 
> testing static html web pages. Please correct me if I am wrong.
>
> Also can you point to any document which can help in understanding the 
> results from the ab tool specially the one in bold below, pardon my 
> ignorance as I am new to this.
>
> ab -n 200 -c 200 http://<IP>/Sourcefiles/MP4480psource/1.mp4 
> <http://10.234.23.207/Sourcefiles/MP4480psource/1.mp4>
>  
> *_Output from the tool:_*
>
> Benchmarking <IP> (be patient)
> Completed 100 requests
> Finished 200 requests
>
> Server Software:        Apache/2.0.63
> Server Hostname:        <IP>
> Server Port:            80
>  
> Document Path:          /Sourcefiles/MP4480psource/1.mp4
> Document Length:        156781715 bytes
>  
> Concurrency Level:      200
> Time taken for tests:   285.002 seconds
> Complete requests:      200
> Failed requests:        0
> Write errors:           0
> Total transferred:      858884154 bytes
> HTML transferred:       858813144 bytes
> Requests per second:    0.70 [#/sec] (mean)
> Time per request:       285000.000 [ms] (mean)
> Time per request:       1425.000 [ms] (mean, across all concurrent 
> requests)
> Transfer rate:          2943.00 [Kbytes/sec] received
>  
> *Connection Times (ms)
>               min  mean[+/-sd] median   max
> Connect:        0 1115 1593.4      0    3383
> Processing: 17842 250919 58760.0 279784  284097
> Waiting:       26 33773 19468.5  33856   68026
> Total:      17842 252034 59346.5 279951  284959*
>  
> Percentage of the requests served within a certain time (ms)
>   50%  279951
>   66%  283429
>   75%  284097
>   80%  284450
>   90%  284776
>   95%  284890
>   98%  284950
>   99%  284950
>  100%  284959 (longest request)
>
> Regards
> Ankit Kapoor
>