Webserver Bechnmark mit ApacheBench – ab
Nachdem ich nun meinen Webserver “gepimpt” habe, ein erster Benchmark, den ich mit ApacheBench erstellt habe.
Hier also das Ergebnis:
#>ab -n 10 -c 2
http://m-software.de/This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking www.m-software.de (be patient).....doneServer Software: Apache/2.2.4 Server Hostname: www.m-software.de Server Port: 80 Document Path: / Document Length: 24045 bytes Concurrency Level: 2 Time taken for tests: 4.461200 seconds Complete requests: 10 Failed requests: 0 Write errors: 0 Total transferred: 245470 bytes HTML transferred: 240450 bytes Requests per second: 2.24 [#/sec] (mean) Time per request: 892.240 [ms] (mean) Time per request: 446.120 [ms] (mean, across all concurrent requests) Transfer rate: 53.57 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 15 15 0.0 15 15 Processing: 250 861 682.1 530 1934 Waiting: 155 674 684.2 374 1840 Total: 265 876 682.1 545 1949 Percentage of the requests served within a certain time (ms) 50% 545 66% 1294 75% 1388 80% 1887 90% 1949 95% 1949 98% 1949 99% 1949 100% 1949 (longest request)
Hier noch ein paar Webseiten zum Thema, die sehr interessant sind.
http://perl.apache.org/docs/1.0/guide/performance.html#ApacheBench
http://www.tldp.org/HOWTO/Caudium-HOWTO/benchmark.html
http://www.cyberciti.biz/tips/howto-performance-benchmarks-a-web-server.html
Weiterführende Themen: