Linux / UNIX Tech Support Forum
This is a discussion on Apache Benchmark within the Web servers forums, part of the Mastering Servers category; Can any one help to get it understand the result I have ran ab command on 2 servers. pl. help ...
|
|||||||
| Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
||||
|
Use remote computer or another server. ab from localsystem will not give you accurate results.
Let us consider the following command which will connect as five users accessing cyberciti.biz site a total of 200 times. Code:
ab -c 5 -n 200 http://www.cyberciti.biz/index.php Code:
Server Software: lighttpd Server Hostname: www.cyberciti.biz Server Port: 80 Document Path: / Document Length: 35472 bytes Code:
Concurrency Level: 5 Time taken for tests: 64.214 seconds Complete requests: 200 Failed requests: 0 Write errors: 0 Total transferred: 7141276 bytes HTML transferred: 7094400 bytes Requests per second: 3.11 [#/sec] (mean) Time per request: 1605.351 [ms] (mean) Time per request: 321.070 [ms] (mean, across all concurrent requests) Transfer rate: 108.60 [Kbytes/sec] received Code:
min mean[+/-sd] median max Connect: 304 306 1.6 306 316 Processing: 1261 1296 38.9 1284 1551 Waiting: 312 315 10.1 313 408 Total: 1572 1602 39.5 1589 1865 Code:
Percentage of the requests served within a certain time (ms) 50% 1589 66% 1593 75% 1597 80% 1600 90% 1625 95% 1685 98% 1767 99% 1798 100% 1865 (longest request)
__________________
Vivek Gite Linux Evangelist |
| The Following User Says Thank You to nixcraft For This Useful Post: | ||
Kamiar (27-05-2009)
| ||
|
||||
|
/usr/local/apache2/bin/ab -k -n 5000 -c 100 -t 60 http://ibnlive.in.com/tab/loadtest.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, Application Delivery Networking, Application Acceleration, Internet Traffic Management System : Zeus.com Copyright 2006 The Apache Software Foundation, Welcome! - The Apache Software Foundation Benchmarking ibnlive.in.com (be patient) Completed 5000 requests Completed 10000 requests Completed 15000 requests Finished 17824 requests Server Software: Apache Server Hostname: ibnlive.in.com Server Port: 80 Document Path: /tab/loadtest.php Document Length: 1000 bytes Concurrency Level: 100 Time taken for tests: 60.6869 seconds Complete requests: 17824 Failed requests: 0 Write errors: 0 Keep-Alive requests: 17770 Total transferred: 22820884 bytes HTML transferred: 17824000 bytes Requests per second: 297.03 [#/sec] (mean) Time per request: 336.663 [ms] (mean) Time per request: 3.367 [ms] (mean, across all concurrent requests) Transfer rate: 371.39 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.7 0 17 Processing: 7 204 1198.8 50 22540 Waiting: 7 204 1198.7 50 22540 Total: 7 204 1198.7 50 22540 Percentage of the requests served within a certain time (ms) 50% 50 66% 72 75% 94 80% 113 90% 225 95% 407 98% 1083 99% 2999 100% 22540 (longest request) |
![]() |
| Tags |
| ab command , apache , http server benchmarking , httpd ab |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache on red hat | tanweernoor | Web servers | 5 | 06-06-2009 02:21 AM |
| Apache 503 error | sweta | Web servers | 0 | 01-11-2007 03:00 AM |
| Frontpage ext. on apache | surmandal | Web servers | 0 | 09-10-2007 07:39 AM |
| Apache and lighttpd together | anjanesh | Web servers | 4 | 29-08-2007 05:11 PM |
| Apache Memory | Winston | Web servers | 1 | 18-06-2007 09:36 PM |