You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Daniel <db...@gmail.com> on 2005/11/22 16:16:23 UTC
[users@httpd] About ab (or ab2) output
Hi to all!
I need help to understand the ab output. I tried a lot of associations
to the values but I always get an inconsistency :(
Below, is an example of output:
##########################################################################
$ /usr/bin/time ab -n 1 -c 1 http://localhost/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient).....done
Server Software: Apache/1.3.33
Server Hostname: localhost
Server Port: 80
Document Path: /
Document Length: 5258 bytes
Concurrency Level: 1
Time taken for tests: 0.1216 seconds
Complete requests: 1
Failed requests: 0
Write errors: 0
Total transferred: 5539 bytes
HTML transferred: 5258 bytes
Requests per second: 822.37 [#/sec] (mean)
Time per request: 1.216 [ms] (mean)
Time per request: 1.216 [ms] (mean, across all concurrent requests)
Transfer rate: 4111.84 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 0 0.0 0 0
Waiting: 0 0 0.0 0 0
Total: 0 0 0.0 0 0
0.01user 0.01system 0:00.01elapsed 166%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (479major+49minor)pagefaults 0swaps
##########################################################################
I would like to understand the values "Time taken for tests", "Time
per request (mean)" and "Time per request (mean, across all concurrent
requests)".
1-) I did think that "Time taken for tests" was the runtime of ab, but
isn't (See the "time" output). What's the meaning of "Time taken for
tests"??
2-) What's the meaning of [ms]? It's miliseconds?
3-) What's the relation linking "Time per request" and "Time taken for
tests"? If I run the ab with 1 request and 1 concurrency level, these
values don't must to be equal?
4-) What's the relation linking "Time per request (mean)" and "Time
per request (mean, across all concurrent requests)"?
Thank you for atention,
Best regards,
Daniel Macêdo Batista
daniel.batista@ic.unicamp.br, http://www.ic.unicamp.br/~ra030022
Mestrando em Ciência da Computação pela Unicamp
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org