Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: ab.exe - Benchmarking your Apache |
|
Author |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Fri 07 Jul '06 12:42 Post subject: ab.exe - Benchmarking your Apache |
|
|
A lot Apacharians overlook the little nifty Benchmarking tool "ab.ex" which is included in the Apache binaries.
Run ../apache2/bin/ab.exe in a DOS box. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 07 Jul '06 12:47 Post subject: |
|
|
There are missing some paratmeters? |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Sat 08 Jul '06 14:29 Post subject: |
|
|
Code: | ab.exe -n 250 -c 15 http://127.0.0.1/ |
Do a total of 250 resuest 15 at the same to localhost
Code: | ab.exe -n 250 -c 15 -k http://127.0.0.1/ |
Do a total of 250 resuest 15 at the same to localhost while keep-alive is on
Code: | ab.exe -n 250 -c 15 -H "Accept-Encoding: gzip;" http://127.0.0.1/ |
Same as first one but it make apache pass the request to mod_deflate if its avaible
ApacheMon (see utilities section) has a handy GUI for this found onder: TrayIcon->Tools->Apache Benchmark
It allows to enter the number of request, the concurent request, compression, even a Authentication header. |
|
Back to top |
|
|
|
|
|
|