While performance testing we came by the following tool for performance tuning apache.
When using apache you can do a quick performance test with a programm that can be found in the bin folder. This is calles ab.exe.
Example command : ab -n 10 http://localhost/login.jsp
output :
C:\>ab -n 10 http://localhost/login.jsp
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.4 $> 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 s-postbank01.nladc.cgadc.com (be patient)…..done
Server Software: IBM_HTTP_Server/2.0.47.1
Server Hostname: s-postbank01.nladc.cgadc.com
Server Port: 80
Document Path: /HomePageFlow_web/login.jsp
Document Length: 4927 bytes
Concurrency Level: 1
Time taken for tests: 1.390643 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 54960 bytes
HTML transferred: 49270 bytes
Requests per second: 7.19 [#/sec] (mean)
Time per request: 139.064 [ms] (mean)
Time per request: 139.064 [ms] (mean, across all concurrent requests)
Transfer rate: 38.11 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 93 138 43.2 140 218
Waiting: 93 135 41.7 140 218
Total: 93 138 43.2 140 218
Percentage of the requests served within a certain time (ms)
50% 140
66% 156
75% 171
80% 187
90% 218
95% 218
98% 218
99% 218
100% 218 (longest request)