Monday, April 17, 2006

Another Webserver Performance Tool : autobench

In my last blog, I wrote about httperf. This time I will write about another tool. The tool
is autobench. It is a wrapper for httperf.

To install autobench, just do the followings :

$ make
# make install


To run it, type :

$ autobench
Autobench configuration file not found
- installing new copy in /home/tedi/.autobench.conf

Installation complete - please rerun autobench

I use the example from autobench website :

$ autobench --single_host --host1 localhost --uri1 /index.html --quiet --low_rate 20 --high_rate 200 --rate_step 20 --num_call 10 --num_conn 5000 --timeout 5 --file result.tsv

Will benchmark "localhost/index.html", with a series of tests starting at 20 connections per second (with 10 requests per connection), and increasing by 20 connections per second until 200 connections a second are being requested.

Each test will comprise a total of 5000 connections, and any responses which took longer than 5 seconds to arrive will be counted as errors. The results will be saved in the file 'result.tsv'.


And here is the result :

dem_req_rate req_rate_localhost con_rate_localhost min_rep_rate_localhost avg_rep_rate_localhost max_rep_rate_localhost stddev_rep_rate_localhost resp_time_localhost net_io_localhost errors_localhost
200 200.0 20.0 200.0 200.0 200.0 0.0 0.1 814.0 0
400 400.1 40.0 400.0 400.0 400.0 0.0 0.1 1628.0 0
600 600.1 60.0 600.0 600.0 600.1 0.0 0.1 2442.0 0
800 800.1 80.0 800.0 800.1 800.1 0.0 0.1 3256.1 0
1000 1000.2 100.0 1000.0 1000.1 1000.1 0.0 0.1 4070.0 0
1200 1200.2 120.0 1200.0 1200.1 1200.1 0.0 0.1 4884.0 0
1400 1400.3 140.0 1400.0 1400.1 1400.1 0.1 0.1 5698.1 0
1600 1600.3 160.0 1600.0 1600.1 1600.1 0.1 0.1 6512.0 0
1800 1800.2 180.0 1800.0 1800.1 1800.1 0.1 0.1 7325.7 0
2000 2000.3 200.0 1999.9 2000.1 2000.1 0.1 0.1 8139.8 0

No comments: