graphs are for 40kb (1st peak) and 1kb files (2nd peak)
40kb file
[02:46:23]root@kappa:~# ab -n 1000000 -c 100 pillar.local/js/40kbfile.txt This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking pillar.local (be patient) Completed 100000 requests Completed 200000 requests Completed 300000 requests Completed 400000 requests Completed 500000 requests Completed 600000 requests Completed 700000 requests Completed 800000 requests Completed 900000 requests Finished 1000000 requests Server Software: nginx/0.7.40.1906.01b2e5f46931 Server Hostname: pillar.local Server Port: 80 Document Path: /js/40kbfile.txt Document Length: 40960 bytes Concurrency Level: 100 Time taken for tests: 425.14021 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Total transferred: 41456139008 bytes HTML transferred: 40960135536 bytes Requests per second: 2352.86 [#/sec] (mean) Time per request: 42.501 [ms] (mean) Time per request: 0.425 [ms] (mean, across all concurrent requests) Transfer rate: 95254.54 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 23 262.4 1 9004 Processing: 2 18 52.8 8 8520 Waiting: 0 2 24.3 1 8511 Total: 2 41 268.4 9 9224 Percentage of the requests served within a certain time (ms) 50% 9 66% 11 75% 12 80% 13 90% 16 95% 19 98% 228 99% 423 100% 9224 (longest request)1kb file
[02:55:51]root@kappa:~# ab -n 5000000 -c 100 pillar.local/js/testfile1k.txt This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking pillar.local (be patient) Completed 500000 requests Completed 1000000 requests Completed 1500000 requests Completed 2000000 requests Completed 2500000 requests Completed 3000000 requests Completed 3500000 requests Completed 4000000 requests Completed 4500000 requests Finished 5000000 requests Server Software: nginx/0.7.40.1906.01b2e5f46931 Server Hostname: pillar.local Server Port: 80 Document Path: /js/testfile1k.txt Document Length: 1024 bytes Concurrency Level: 100 Time taken for tests: 322.239204 seconds Complete requests: 5000000 Failed requests: 0 Write errors: 0 Total transferred: 7595000000 bytes HTML transferred: 5120000000 bytes Requests per second: 15516.42 [#/sec] (mean) Time per request: 6.445 [ms] (mean) Time per request: 0.064 [ms] (mean, across all concurrent requests) Transfer rate: 23017.04 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 37.9 0 3144 Processing: 0 5 3.3 6 442 Waiting: 0 5 3.2 5 229 Total: 0 5 38.1 6 3148 Percentage of the requests served within a certain time (ms) 50% 6 66% 6 75% 6 80% 6 90% 6 95% 6 98% 7 99% 7 100% 3148 (longest request)