---------------------------------------------------------------------------------------------------------------- Start memory ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 32021 0.9 1.0 24480 20948 ? S 23:10 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 32024 0.9 1.0 24488 20948 ? S 23:10 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 32027 0.9 1.0 24484 20948 ? S 23:10 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 32030 0.9 1.0 24484 20952 ? S 23:10 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 32033 0.9 1.0 24480 20944 ? S 23:10 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: 16.670492 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 469000 bytes HTML transferred: 220000 bytes Requests per second: 59.99 [#/sec] (mean) Time per request: 83.352 [ms] (mean) Time per request: 16.670 [ms] (mean, across all concurrent requests) Transfer rate: 27.47 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 13 82 138.6 14 836 Waiting: 13 82 138.6 14 836 Total: 13 82 138.6 14 836 Percentage of the requests served within a certain time (ms) 50% 14 66% 14 75% 38 80% 129 90% 326 95% 333 98% 503 99% 582 100% 836 (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: 16.777660 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 469000 bytes HTML transferred: 220000 bytes Requests per second: 59.60 [#/sec] (mean) Time per request: 83.888 [ms] (mean) Time per request: 16.778 [ms] (mean, across all concurrent requests) Transfer rate: 27.30 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.4 0 14 Processing: 14 82 135.8 14 601 Waiting: 13 82 135.8 14 601 Total: 14 82 135.8 14 601 Percentage of the requests served within a certain time (ms) 50% 14 66% 15 75% 45 80% 126 90% 337 95% 356 98% 480 99% 522 100% 601 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after first "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 32021 1.8 1.0 25404 22016 ? S 23:10 0:12 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 32024 1.8 1.0 25556 22164 ? S 23:10 0:12 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 32027 2.3 1.1 26116 22724 ? S 23:10 0:16 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 32030 1.9 1.1 25992 22604 ? S 23:10 0:13 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 32033 1.8 1.0 25496 22104 ? S 23:10 0:12 /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: 228.217209 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 4690000 bytes HTML transferred: 2200000 bytes Requests per second: 43.82 [#/sec] (mean) Time per request: 2282.172 [ms] (mean) Time per request: 22.822 [ms] (mean, across all concurrent requests) Transfer rate: 20.07 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.4 0 7 Processing: 15 2167 6067.5 19 82215 Waiting: 0 2167 6067.5 19 82215 Total: 15 2167 6067.5 19 82215 Percentage of the requests served within a certain time (ms) 50% 19 66% 20 75% 685 80% 1782 90% 6948 95% 13591 98% 23486 99% 30571 100% 82215 (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: 273.648975 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 4690000 bytes HTML transferred: 2200000 bytes Requests per second: 36.54 [#/sec] (mean) Time per request: 2736.490 [ms] (mean) Time per request: 27.365 [ms] (mean, across all concurrent requests) Transfer rate: 16.74 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 7 Processing: 20 2593 7386.5 24 90034 Waiting: 0 2593 7386.5 23 90034 Total: 20 2593 7386.5 24 90034 Percentage of the requests served within a certain time (ms) 50% 24 66% 25 75% 614 80% 1696 90% 8104 95% 17191 98% 28971 99% 36707 100% 90034 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after second "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 32695 24.1 1.4 34000 30616 ? S 23:22 2:28 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 32698 14.2 1.1 27180 23792 ? S 23:22 1:27 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 32701 14.0 1.1 26504 23116 ? S 23:22 1:26 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 32704 13.8 1.1 26720 23336 ? S 23:22 1:25 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 32707 14.2 1.1 27136 23744 ? S 23:22 1:27 /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 seconds 220 mean bytes/connection 9.79999 fetches/sec, 2156 bytes/sec msecs/connect: 0.0656531 mean, 0.155 max, 0.053 min msecs/first-response: 30.0225 mean, 45.162 max, 24.026 min HTTP response codes: code 200 -- 49 ---------------------------------------------------------------------------------------------------------------- memory after "http_load" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 387 1.6 1.0 24584 21112 ? S 23:33 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 390 1.7 1.0 24576 21112 ? S 23:33 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 393 1.5 1.0 24576 21108 ? S 23:33 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 396 1.7 1.0 24584 21112 ? S 23:33 0:00 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 399 1.7 1.0 24576 21108 ? S 23:33 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: 5751 hits Availability: 100.00 % Elapsed time: 60.11 secs Data transferred: 1.21 MB Response time: 0.02 secs Transaction rate: 95.67 trans/sec Throughput: 0.02 MB/sec Concurrency: 1.56 Successful transactions: 5751 Failed transactions: 0 Longest transaction: 1.16 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after first "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 432 2.3 1.0 24712 21324 ? S 23:35 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 435 2.3 1.0 24684 21300 ? S 23:35 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 438 2.3 1.0 24640 21256 ? S 23:35 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 441 2.3 1.0 24704 21316 ? S 23:35 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 444 2.3 1.0 24700 21300 ? S 23: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: 8525 hits Availability: 99.99 % Elapsed time: 70.64 secs Data transferred: 1.79 MB Response time: 1.05 secs Transaction rate: 120.68 trans/sec Throughput: 0.03 MB/sec Concurrency: 127.18 Successful transactions: 8525 Failed transactions: 1 Longest transaction: 25.98 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after second "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 432 4.7 1.1 27668 24280 ? S 23:35 0:14 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 435 10.8 1.9 43472 40088 ? S 23:35 0:34 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 438 3.9 1.0 24712 21328 ? S 23:35 0:12 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 441 4.1 1.0 24692 21304 ? S 23:35 0:13 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 444 4.4 1.1 27636 24252 ? S 23:35 0:13 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8505 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c300 rb.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 6698 hits Availability: 99.58 % Elapsed time: 73.51 secs Data transferred: 1.41 MB Response time: 2.30 secs Transaction rate: 91.12 trans/sec Throughput: 0.02 MB/sec Concurrency: 209.29 Successful transactions: 6698 Failed transactions: 28 Longest transaction: 29.94 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after third "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 432 5.9 1.2 29936 26548 ? S 23:35 0:25 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8501 www 435 11.8 1.9 43320 39936 ? S 23:35 0:50 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8502 www 438 4.6 1.2 28172 24788 ? S 23:35 0:19 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8503 www 441 5.0 1.2 29104 25716 ? S 23:35 0:21 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8504 www 444 9.9 2.4 52432 49048 ? S 23:35 0:42 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production --port 8505 ----------------------------------------------------------------------------------------------------------------