---------------------------------------------------------------------------------------------------------------- Start memory ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 709 5.9 1.0 24608 21060 ? S 00:25 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 712 5.9 1.0 24616 21060 ? S 00:25 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 715 5.8 1.0 24616 21060 ? S 00:25 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 718 5.9 1.0 24616 21064 ? S 00:25 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 721 6.4 1.0 24616 21064 ? S 00:25 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8505 ---------------------------------------------------------------------------------------------------------------- test: ab -c 5 -n 1000 http://rb.test.com/hello/ ---------------------------------------------------------------------------------------------------------------- Benchmarking rb.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: rb.test.com Server Port: 80 Document Path: /hello/ Document Length: 220 bytes Concurrency Level: 5 Time taken for tests: 4.585684 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 469000 bytes HTML transferred: 220000 bytes Requests per second: 218.07 [#/sec] (mean) Time per request: 22.928 [ms] (mean) Time per request: 4.586 [ms] (mean, across all concurrent requests) Transfer rate: 99.88 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 6 Processing: 3 22 24.0 19 316 Waiting: 3 22 24.0 19 316 Total: 3 22 24.0 19 316 Percentage of the requests served within a certain time (ms) 50% 19 66% 21 75% 22 80% 26 90% 38 95% 79 98% 93 99% 105 100% 316 (longest request) ---------------------------------------------------------------------------------------------------------------- test: ab -c 5 -n 1000 http://rb.test.com/hello/ ---------------------------------------------------------------------------------------------------------------- Benchmarking rb.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: rb.test.com Server Port: 80 Document Path: /hello/ Document Length: 220 bytes Concurrency Level: 5 Time taken for tests: 5.601559 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 469000 bytes HTML transferred: 220000 bytes Requests per second: 178.52 [#/sec] (mean) Time per request: 28.008 [ms] (mean) Time per request: 5.602 [ms] (mean, across all concurrent requests) Transfer rate: 81.76 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.5 0 11 Processing: 4 27 43.5 22 554 Waiting: 4 27 43.5 22 554 Total: 4 27 43.5 22 554 Percentage of the requests served within a certain time (ms) 50% 22 66% 23 75% 23 80% 26 90% 33 95% 45 98% 94 99% 202 100% 554 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after first "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 709 2.4 1.0 25372 21988 ? S 00:25 0:02 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 712 2.3 1.0 25172 21788 ? S 00:25 0:02 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 715 2.3 1.0 25176 21784 ? S 00:25 0:02 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 718 2.3 1.0 25316 21928 ? S 00:25 0:02 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 721 2.3 1.0 25384 21988 ? S 00:25 0:02 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8505 ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: ab -c 100 -n 10000 http://rb.test.com/hello/ ---------------------------------------------------------------------------------------------------------------- Benchmarking rb.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: rb.test.com Server Port: 80 Document Path: /hello/ Document Length: 220 bytes Concurrency Level: 100 Time taken for tests: 105.761530 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 4690000 bytes HTML transferred: 2200000 bytes Requests per second: 94.55 [#/sec] (mean) Time per request: 1057.615 [ms] (mean) Time per request: 10.576 [ms] (mean, across all concurrent requests) Transfer rate: 43.30 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 3 Processing: 4 1002 2804.9 7 39649 Waiting: 0 1001 2804.9 7 39648 Total: 4 1002 2804.9 7 39649 Percentage of the requests served within a certain time (ms) 50% 7 66% 8 75% 255 80% 738 90% 3273 95% 6796 98% 10906 99% 14180 100% 39649 (longest request) ---------------------------------------------------------------------------------------------------------------- test: ab -c 100 -n 10000 http://rb.test.com/hello/ ---------------------------------------------------------------------------------------------------------------- Benchmarking rb.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: rb.test.com Server Port: 80 Document Path: /hello/ Document Length: 220 bytes Concurrency Level: 100 Time taken for tests: 146.308035 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 4690000 bytes HTML transferred: 2200000 bytes Requests per second: 68.35 [#/sec] (mean) Time per request: 1463.080 [ms] (mean) Time per request: 14.631 [ms] (mean, across all concurrent requests) Transfer rate: 31.30 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 3 Processing: 8 1386 3847.3 11 52646 Waiting: 0 1386 3847.3 11 52646 Total: 8 1386 3847.3 11 52646 Percentage of the requests served within a certain time (ms) 50% 11 66% 12 75% 533 80% 1198 90% 4262 95% 8659 98% 14903 99% 19401 100% 52646 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after second "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 766 11.3 1.1 26168 22780 ? S 00:27 0:37 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 769 17.8 1.4 33088 29700 ? S 00:27 0:59 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 772 17.7 1.4 33244 29860 ? S 00:27 0:59 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 775 11.6 1.2 28188 24800 ? S 00:27 0:38 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 778 11.5 1.1 26416 23028 ? S 00:27 0:38 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8505 ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: http_load -rate 10 -seconds 5 rb.test.com/hello/ ---------------------------------------------------------------------------------------------------------------- 49 fetches, 1 max parallel, 10780 bytes, in 5.00059 seconds 220 mean bytes/connection 9.79885 fetches/sec, 2155.75 bytes/sec msecs/connect: 0.0658367 mean, 0.074 max, 0.055 min msecs/first-response: 13.7272 mean, 23.626 max, 12.156 min HTTP response codes: code 200 -- 49 ---------------------------------------------------------------------------------------------------------------- memory after "http_load" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 896 1.8 1.0 24608 21176 ? S 00:34 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 899 1.8 1.0 24624 21180 ? S 00:34 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 902 1.8 1.0 24620 21180 ? S 00:34 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 905 1.8 1.0 24624 21180 ? S 00:34 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 908 1.8 1.0 24624 21176 ? S 00:34 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8505 ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c50 rb.test.com/hello/ ---------------------------------------------------------------------------------------------------------------- ransactions: 5737 hits Availability: 100.00 % Elapsed time: 60.07 secs Data transferred: 1.20 MB Response time: 0.01 secs Transaction rate: 95.51 trans/sec Throughput: 0.02 MB/sec Concurrency: 1.20 Successful transactions: 5737 Failed transactions: 0 Longest transaction: 0.64 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after first "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 932 5.0 1.0 24724 21332 ? S 00:35 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 935 5.1 1.0 24744 21360 ? S 00:35 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 938 5.1 1.0 24736 21352 ? S 00:35 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 941 5.1 1.0 24748 21360 ? S 00:35 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 944 5.2 1.0 24720 21336 ? S 00:35 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8505 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c200 rb.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 8291 hits Availability: 99.99 % Elapsed time: 65.50 secs Data transferred: 1.74 MB Response time: 0.98 secs Transaction rate: 126.58 trans/sec Throughput: 0.03 MB/sec Concurrency: 123.97 Successful transactions: 8291 Failed transactions: 1 Longest transaction: 23.69 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after second "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 932 7.5 1.2 28080 24688 ? S 00:35 0:14 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 935 6.3 1.0 24768 21384 ? S 00:35 0:11 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 938 6.8 1.1 27056 23672 ? S 00:35 0:12 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 941 6.4 1.0 24820 21432 ? S 00:35 0:11 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 944 17.1 1.5 35500 32116 ? S 00:35 0:31 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8505 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c300 rb.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 7987 hits Availability: 99.54 % Elapsed time: 64.53 secs Data transferred: 1.68 MB Response time: 1.20 secs Transaction rate: 123.77 trans/sec Throughput: 0.03 MB/sec Concurrency: 148.93 Successful transactions: 7987 Failed transactions: 37 Longest transaction: 29.83 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after third "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 932 7.1 1.2 28080 24688 ? S 00:35 0:20 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 935 6.5 1.0 24856 21472 ? S 00:35 0:18 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 938 6.7 1.1 27056 23672 ? S 00:35 0:19 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 941 15.5 2.3 52152 48764 ? S 00:35 0:44 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 944 13.5 1.5 35148 31764 ? S 00:35 0:38 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8505 ----------------------------------------------------------------------------------------------------------------