I'm running redhat 9 in celeron 600mhz+ram 128mb+hd 7200rpm(maxtor) while reading about http benchmarking, I running ab and httperf to mark webserver in my comp: I have a result that confuse me with result in redhat AS2.1, there is big difference in "Transfer rate"(5x slower) in ab benchmark with concurrency level 1000 and connection 5000 while in concurrency level 100 the result has nothing difference so check with httperf with this command: httperf --server localhost --uri /index.html --num-conn 5000 --num-call 10 --rate 200 --timeout 5 and both have similar result, so what I have tuning in redhat 9 tuning that I did in redhat9: fs.file-max = 32768 kernel.threads-max = 5120 vm.bdflush = 100 1200 128 512 500 6000 500 0 0 vm.page-cluster = 16 vm.pagetable_cache = 25 50 (sorry if I have a long message) HTTPERF RESULT = (redhat 2.1AS) httperf --timeout=5 --client=0/1 --server=localhost --port=80 --uri=/index.html --rate=200 --send-buffer=4096 --recv-buffer=16384 --num-conns=5000 --num-calls=10 Maximum connect burst length: 51 Total: connections 4616 requests 16200 replies 16090 test-duration 32.996 s Connection rate: 139.9 conn/s (7.1 ms/conn, <=1022 concurrent connections) Connection time [ms]: min 136.9 avg 6237.9 max 11110.8 median 5657.5 stddev 1917.5 Connection time [ms]: connect 1359.9 Connection length [replies/conn]: 10.000 Request rate: 491.0 req/s (2.0 ms/req) Request size [B]: 70.0 Reply rate [replies/s]: min 476.8 avg 497.8 max 526.7 stddev 20.0 (6 samples) Reply time [ms]: response 500.0 transfer 0.0 Reply size [B]: header 299.0 content 2890.0 footer 0.0 (total 3189.0) Reply status: 1xx=0 2xx=16090 3xx=0 4xx=0 5xx=0 CPU time [s]: user 1.61 system 4.61 (user 4.9% system 14.0% total 18.9%) Net I/O: 1552.2 KB/s (12.7*10^6 bps) Errors: total 3391 client-timo 3007 socket-timo 0 connrefused 0 connreset 0 Errors: fd-unavail 384 addrunavail 0 ftab-full 0 other 0 ----- (redhat 9) httperf --timeout=5 --client=0/1 --server=localhost --port=80 --uri=/index.html --rate=200 --send-buffer=4096 --recv-buffer=16384 --num-conns=5000 --num-calls=10 Maximum connect burst length: 72 Total: connections 4495 requests 15025 replies 14910 test-duration 32.732 s Connection rate: 137.3 conn/s (7.3 ms/conn, <=1022 concurrent connections) Connection time [ms]: min 1306.8 avg 6466.4 max 9647.8 median 5992.5 stddev 1828.9 Connection time [ms]: connect 1388.2 Connection length [replies/conn]: 10.000 Request rate: 459.0 req/s (2.2 ms/req) Request size [B]: 70.0 Reply rate [replies/s]: min 426.0 avg 467.4 max 488.0 stddev 22.9 (6 samples) Reply time [ms]: response 520.4 transfer 0.0 Reply size [B]: header 284.0 content 2898.0 footer 0.0 (total 3182.0) Reply status: 1xx=0 2xx=14910 3xx=0 4xx=0 5xx=0 CPU time [s]: user 1.61 system 6.09 (user 4.9% system 18.6% total 23.5%) Net I/O: 1446.9 KB/s (11.9*10^6 bps) Errors: total 3509 client-timo 3004 socket-timo 0 connrefused 0 connreset 0 Errors: fd-unavail 505 addrunavail 0 ftab-full 0 other 0 AB RESULT = ----- This is ApacheBench, Version 2.0.40-dev <$Revision: 1.116 $> 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 localhost (be patient) Server Software: Apache/2.0.40 Server Hostname: localhost Server Port: 80 Document Path: /index.html Document Length: 2898 bytes Concurrency Level: 100 Time taken for tests: 14.324905 seconds Complete requests: 5000 Failed requests: 0 Write errors: 0 Total transferred: 15875000 bytes HTML transferred: 14490000 bytes Requests per second: 349.04 [#/sec] (mean) Time per request: 286.498 [ms] (mean) Time per request: 2.865 [ms] (mean, across all concurrent requests) Transfer rate: 1082.17 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 2.6 0 132 Processing: 30 281 36.6 275 416 Waiting: 5 140 82.3 138 402 Total: 30 281 36.7 275 416 Percentage of the requests served within a certain time (ms) 50% 275 66% 277 75% 279 80% 280 90% 283 95% 346 98% 411 99% 411 100% 416 (longest request) it looks that "Transfer rate" showing same result as redhat 2.1AS in same machine: ----- This is ApacheBench, Version 1.3d <$Revision: 1.58 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2001 The Apache Group, http://www.apache.org/ Benchmarking localhost (be patient) Server Software: Apache/1.3.23 Server Hostname: localhost Server Port: 80 Document Path: /index.html Document Length: 2890 bytes Concurrency Level: 100 Time taken for tests: 16.181 seconds Complete requests: 5000 Failed requests: 0 Broken pipe errors: 0 Total transferred: 16251728 bytes HTML transferred: 14640740 bytes Requests per second: 309.00 [#/sec] (mean) Time per request: 323.62 [ms] (mean) Time per request: 3.24 [ms] (mean, across all concurrent requests) Transfer rate: 1004.37 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 74 62.3 82 475 Processing: 78 243 127.2 197 943 Waiting: 48 241 127.5 195 942 Total: 78 317 122.0 276 955 but when I raise concurrency to 1000: ----- Concurrency Level: 1000 Time taken for tests: 93.398841 seconds Complete requests: 5000 Failed requests: 0 Write errors: 0 Total transferred: 15875000 bytes HTML transferred: 14490000 bytes Requests per second: 53.53 [#/sec] (mean) Time per request: 18679.768 [ms] (mean) Time per request: 18.680 [ms] (mean, across all concurrent requests) Transfer rate: 165.98 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 17 227.9 0 3052 Processing: 330 16181 5881.1 16352 35078 Waiting: 130 9069 5447.3 9595 21778 Total: 330 16198 5883.2 16352 35152 but redhat 2.1AS still have stable "Transfer rate" ----- Concurrency Level: 1000 Time taken for tests: 13.971 seconds Complete requests: 5000 Failed requests: 0 Broken pipe errors: 0 Total transferred: 16254936 bytes HTML transferred: 14643630 bytes Requests per second: 357.88 [#/sec] (mean) Time per request: 2794.20 [ms] (mean) Time per request: 2.79 [ms] (mean, across all concurrent requests) Transfer rate: 1163.48 [Kbytes/sec] received ===== --- ichtus ICQ: 50643061 __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com