---------------------------------------------------------------------------------------------------------------- Start memory ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root27156 0.0 0.0 3444 592 ? Ss 11:14 0:00 nginx: master process /usr/sbin/nginx www 27157 0.0 0.0 3800 1280 ? S 11:14 0:00 nginx: worker process www 27158 0.0 0.0 3800 1084 ? S 11:14 0:00 nginx: worker process www 27159 0.0 0.0 3800 1084 ? S 11:14 0:00 nginx: worker process ---------------------------------------------------------------------------------------------------------------- test: ab -c 5 -n 1000 http://ng.test.com/ ---------------------------------------------------------------------------------------------------------------- Benchmarking ng.test.com (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests Completed 800 requests Completed 900 requests Finished 1000 requests Server Software: nginx/0.5.5 Server Hostname: ng.test.com Server Port: 80 Document Path: / Document Length: 43 bytes Concurrency Level: 5 Time taken for tests: 0.108186 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 230230 bytes HTML transferred: 43043 bytes Requests per second: 9243.34 [#/sec] (mean) Time per request: 0.541 [ms] (mean) Time per request: 0.108 [ms] (mean, across all concurrent requests) Transfer rate: 2070.51 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 0 0 0.0 0 0 Waiting: 0 0 0.0 0 0 Total: 0 0 0.0 0 0 Percentage of the requests served within a certain time (ms) 50% 0 66% 0 75% 0 80% 0 90% 0 95% 0 98% 0 99% 0 100% 0 (longest request) ---------------------------------------------------------------------------------------------------------------- test: ab -c 5 -n 1000 http://ng.test.com/ ---------------------------------------------------------------------------------------------------------------- Benchmarking ng.test.com (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests Completed 800 requests Completed 900 requests Finished 1000 requests Server Software: nginx/0.5.5 Server Hostname: ng.test.com Server Port: 80 Document Path: / Document Length: 43 bytes Concurrency Level: 5 Time taken for tests: 0.105930 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 230690 bytes HTML transferred: 43129 bytes Requests per second: 9440.20 [#/sec] (mean) Time per request: 0.530 [ms] (mean) Time per request: 0.106 [ms] (mean, across all concurrent requests) Transfer rate: 2124.04 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 0 0 0.0 0 0 Waiting: 0 0 0.0 0 0 Total: 0 0 0.0 0 0 Percentage of the requests served within a certain time (ms) 50% 0 66% 0 75% 0 80% 0 90% 0 95% 0 98% 0 99% 0 100% 0 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after first "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root27156 0.0 0.0 3444 592 ? Ss 11:14 0:00 nginx: master process /usr/sbin/nginx www 27157 0.0 0.0 3924 1400 ? S 11:14 0:00 nginx: worker process www 27158 0.0 0.0 3800 1084 ? S 11:14 0:00 nginx: worker process www 27159 0.0 0.0 3800 1084 ? S 11:14 0:00 nginx: worker process ---------------------------------------------------------------------------------------------------------------- test: ab -c 100 -n 10000 http://ng.test.com/ ---------------------------------------------------------------------------------------------------------------- Benchmarking ng.test.com (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Finished 10000 requests Server Software: nginx/0.5.5 Server Hostname: ng.test.com Server Port: 80 Document Path: / Document Length: 43 bytes Concurrency Level: 100 Time taken for tests: 1.41386 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 2311960 bytes HTML transferred: 432236 bytes Requests per second: 9602.59 [#/sec] (mean) Time per request: 10.414 [ms] (mean) Time per request: 0.104 [ms] (mean, across all concurrent requests) Transfer rate: 2167.30 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 2 1.0 2 5 Processing: 2 7 1.2 7 15 Waiting: 1 4 1.0 4 15 Total: 6 9 1.1 10 17 Percentage of the requests served within a certain time (ms) 50% 10 66% 10 75% 10 80% 10 90% 10 95% 10 98% 12 99% 12 100% 17 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after second "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root27156 0.0 0.0 3444 592 ? Ss 11:14 0:00 nginx: master process /usr/sbin/nginx www 27157 0.0 0.0 3904 1400 ? S 11:14 0:00 nginx: worker process www 27158 0.1 0.0 3800 1380 ? S 11:14 0:00 nginx: worker process www 27159 0.0 0.0 3800 1084 ? S 11:14 0:00 nginx: worker process ---------------------------------------------------------------------------------------------------------------- nginx restart ---------------------------------------------------------------------------------------------------------------- test: ab -c 1000 -n 10000 http://ng.test.com/ ---------------------------------------------------------------------------------------------------------------- Benchmarking ng.test.com (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Finished 10000 requests Server Software: nginx/0.5.5 Server Hostname: ng.test.com Server Port: 80 Document Path: / Document Length: 43 bytes Concurrency Level: 1000 Time taken for tests: 1.330910 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 2314030 bytes HTML transferred: 432623 bytes Requests per second: 7513.66 [#/sec] (mean) Time per request: 133.091 [ms] (mean) Time per request: 0.133 [ms] (mean, across all concurrent requests) Transfer rate: 1697.33 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 4 3.0 4 26 Processing: 5 12 8.3 12 608 Waiting: 1 8 8.3 7 606 Total: 11 17 9.1 16 609 Percentage of the requests served within a certain time (ms) 50% 16 66% 16 75% 16 80% 19 90% 23 95% 24 98% 35 99% 47 100% 609 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after last "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root29259 0.0 0.0 3448 596 ? Ss 11:30 0:00 nginx: master process /usr/sbin/nginx www 29260 0.2 0.0 3912 1504 ? S 11:30 0:00 nginx: worker process www 29261 0.0 0.0 3804 1088 ? S 11:30 0:00 nginx: worker process www 29262 0.2 0.0 3912 1504 ? S 11:30 0:00 nginx: worker process ---------------------------------------------------------------------------------------------------------------- nginx restart ---------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------- test: http_load -rate 10 -seconds 5 dj.test.com ---------------------------------------------------------------------------------------------------------------- 49 fetches, 1 max parallel, 2107 bytes, in 5.00001 seconds 43 mean bytes/connection 9.79999 fetches/sec, 421.399 bytes/sec msecs/connect: 0.0405918 mean, 0.068 max, 0.039 min msecs/first-response: 0.0758571 mean, 0.13 max, 0.072 min HTTP response codes: code 200 -- 49 ------------------------------------------------- Start memory ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root27370 0.0 0.0 3448 596 ? Ss 11:21 0:00 nginx: master process /usr/sbin/nginx www 27371 0.0 0.0 3804 1364 ? S 11:21 0:00 nginx: worker process www 27372 0.0 0.0 3804 1088 ? S 11:21 0:00 nginx: worker process www 27373 0.0 0.0 3804 1088 ? S 11:21 0:00 nginx: worker process ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c50 ng.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 5981 hits Availability: 100.00 % Elapsed time: 59.86 secs Data transferred: 0.25 MB Response time: 0.00 secs Transaction rate: 99.92 trans/sec Throughput: 0.00 MB/sec Concurrency: 0.11 Successful transactions: 5981 Failed transactions: 0 Longest transaction: 0.30 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c200 ng.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 23600 hits Availability: 100.00 % Elapsed time: 60.04 secs Data transferred: 0.97 MB Response time: 0.00 secs Transaction rate: 393.07 trans/sec Throughput: 0.02 MB/sec Concurrency: 0.48 Successful transactions: 23600 Failed transactions: 0 Longest transaction: 0.21 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c300 ng.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 35754 hits Availability: 100.00 % Elapsed time: 59.99 secs Data transferred: 1.47 MB Response time: 0.00 secs Transaction rate: 596.00 trans/sec Throughput: 0.02 MB/sec Concurrency: 0.96 Successful transactions: 35754 Failed transactions: 0 Longest transaction: 0.32 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after all "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root27370 0.0 0.0 3448 596 ? Ss 11:21 0:00 nginx: master process /usr/sbin/nginx www 27371 0.4 0.0 3916 1420 ? S 11:21 0:02 nginx: worker process www 27372 0.0 0.0 3804 1088 ? S 11:21 0:00 nginx: worker process www 27373 0.0 0.0 3804 1088 ? S 11:21 0:00 nginx: worker process ----------------------------------------------------------------------------------------------------------------