---------------------------------------------------------------------------------------------------------------- Start memory ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 26078 0.0 0.0 3896 1212 pts/0 S 23:22 0:00 /bin/sh ./start.sh www 26095 0.4 0.7 18632 15704 pts/0 S+ 23:23 0:00 perl-fcgi-pm www 26096 0.0 0.7 18632 14432 pts/0 S+ 23:23 0:00 perl-fcgi www 26097 0.0 0.7 18632 14432 pts/0 S+ 23:23 0:00 perl-fcgi www 26098 0.0 0.7 18632 14432 pts/0 S+ 23:23 0:00 perl-fcgi www 26099 0.0 0.7 18632 14432 pts/0 S+ 23:23 0:00 perl-fcgi www 26100 0.0 0.7 18632 14432 pts/0 S+ 23:23 0:00 perl-fcgi ---------------------------------------------------------------------------------------------------------------- test: ab -c 5 -n 1000 http://ct.test.com/hello/ ---------------------------------------------------------------------------------------------------------------- Benchmarking ct.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: ct.test.com Server Port: 80 Document Path: /hello/ Document Length: 222 bytes Concurrency Level: 5 Time taken for tests: 7.520806 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 396000 bytes HTML transferred: 222000 bytes Requests per second: 132.96 [#/sec] (mean) Time per request: 37.604 [ms] (mean) Time per request: 7.521 [ms] (mean, across all concurrent requests) Transfer rate: 51.32 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 7 36 81.5 34 2572 Waiting: 7 36 81.5 34 2572 Total: 7 36 81.5 34 2572 Percentage of the requests served within a certain time (ms) 50% 34 66% 37 75% 38 80% 40 90% 48 95% 53 98% 60 99% 66 100% 2572 (longest request) [second result similar] ---------------------------------------------------------------------------------------------------------------- memory after first "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 26095 0.1 0.7 18632 15704 pts/0 S+ 23:23 0:00 perl-fcgi-pm www 26096 1.1 0.8 20512 17000 pts/0 S+ 23:23 0:03 perl-fcgi www 26097 1.6 0.8 20512 17000 pts/0 S+ 23:23 0:04 perl-fcgi www 26098 1.8 0.8 20512 17000 pts/0 S+ 23:23 0:05 perl-fcgi www 26099 1.4 0.8 20512 17000 pts/0 S+ 23:23 0:04 perl-fcgi www 26100 1.6 0.8 20512 17000 pts/0 S+ 23:23 0:04 perl-fcgi ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: ab -c 100 -n 10000 http://ct.test.com/hello/ ---------------------------------------------------------------------------------------------------------------- Benchmarking ct.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: ct.test.com Server Port: 80 Document Path: /hello/ Document Length: 222 bytes Concurrency Level: 100 Time taken for tests: 76.304267 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 3960792 bytes HTML transferred: 2220444 bytes Requests per second: 131.05 [#/sec] (mean) Time per request: 763.043 [ms] (mean) Time per request: 7.630 [ms] (mean, across all concurrent requests) Transfer rate: 50.68 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.5 0 19 Processing: 289 759 221.7 751 9726 Waiting: 289 759 221.7 751 9726 Total: 292 759 221.6 751 9726 Percentage of the requests served within a certain time (ms) 50% 751 66% 759 75% 768 80% 773 90% 801 95% 834 98% 889 99% 943 100% 9726 (longest request) [second result similar] ---------------------------------------------------------------------------------------------------------------- memory after second "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 26309 0.4 0.7 18636 15704 pts/0 S+ 23:33 0:00 perl-fcgi-pm www 26310 14.6 0.8 20516 17000 pts/0 S+ 23:33 0:13 perl-fcgi www 26311 16.9 0.8 20516 17000 pts/0 S+ 23:33 0:15 perl-fcgi www 26312 17.1 0.8 20516 17000 pts/0 S+ 23:33 0:15 perl-fcgi www 26313 16.8 0.8 20516 17000 pts/0 S+ 23:33 0:15 perl-fcgi www 26314 17.1 0.8 20516 17000 pts/0 S+ 23:33 0:15 perl-fcgi ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: http_load -rate 10 -seconds 5 ct.test.com ---------------------------------------------------------------------------------------------------------------- 49 fetches, 1 max parallel, 10878 bytes, in 5.00001 seconds 222 mean bytes/connection 9.79998 fetches/sec, 2175.6 bytes/sec msecs/connect: 0.0619388 mean, 0.073 max, 0.047 min msecs/first-response: 12.7971 mean, 60.892 max, 7.244 min HTTP response codes: code 200 -- 49 ---------------------------------------------------------------------------------------------------------------- memory after "http_load" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 26349 0.5 0.7 18636 15704 pts/0 S+ 23:35 0:00 perl-fcgi-pm www 26350 0.1 0.8 20516 17000 pts/0 S+ 23:35 0:00 perl-fcgi www 26351 0.1 0.8 20516 17000 pts/0 S+ 23:35 0:00 perl-fcgi www 26352 0.1 0.8 20516 17000 pts/0 S+ 23:35 0:00 perl-fcgi www 26353 0.1 0.8 20516 17000 pts/0 S+ 23:35 0:00 perl-fcgi www 26354 0.1 0.8 20516 17000 pts/0 S+ 23:35 0:00 perl-fcgi ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c50 ct.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 5441 hits Availability: 100.00 % Elapsed time: 59.63 secs Data transferred: 1.15 MB Response time: 0.02 secs Transaction rate: 91.25 trans/sec Throughput: 0.02 MB/sec Concurrency: 2.04 Successful transactions: 5441 Failed transactions: 0 Longest transaction: 0.67 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after first "siege" test ---------------------------------------------------------------------------------------------------------------- root 26420 0.1 0.7 18716 15704 pts/2 S+ 15:48 0:00 perl-fcgi-pm root 26421 2.9 0.8 20604 17044 pts/2 S+ 15:48 0:07 perl-fcgi root 26422 2.9 0.8 20496 17000 pts/2 S+ 15:48 0:07 perl-fcgi root 26423 2.9 0.8 20496 17000 pts/2 S+ 15:48 0:07 perl-fcgi root 26424 2.9 0.8 20496 17000 pts/2 S+ 15:48 0:07 perl-fcgi root 26425 2.9 0.8 20496 17000 pts/2 S+ 15:48 0:07 perl-fcgi ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c200 ct.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 9714 hits Availability: 100.00 % Elapsed time: 76.82 secs Data transferred: 2.06 MB Response time: 0.78 secs Transaction rate: 126.45 trans/sec Throughput: 0.03 MB/sec Concurrency: 98.43 Successful transactions: 9714 Failed transactions: 0 Longest transaction: 9.82 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after second "siege" test ---------------------------------------------------------------------------------------------------------------- root 26420 0.1 0.7 18716 15704 pts/2 S+ 15:48 0:00 perl-fcgi-pm root 26421 6.0 0.8 20604 17044 pts/2 S+ 15:48 0:22 perl-fcgi root 26422 6.0 0.8 20496 17000 pts/2 S+ 15:48 0:22 perl-fcgi root 26423 5.8 0.8 20496 17000 pts/2 S+ 15:48 0:22 perl-fcgi root 26424 5.6 0.8 20496 17000 pts/2 S+ 15:48 0:21 perl-fcgi root 26425 5.7 0.8 20496 17000 pts/2 S+ 15:48 0:21 perl-fcgi ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c300 ct.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 10276 hits Availability: 100.00 % Elapsed time: 80.99 secs Data transferred: 2.18 MB Response time: 1.40 secs Transaction rate: 126.88 trans/sec Throughput: 0.03 MB/sec Concurrency: 177.35 Successful transactions: 10276 Failed transactions: 0 Longest transaction: 23.22 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after third "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 26420 0.0 0.7 18716 15704 pts/2 S+ 15:48 0:00 perl-fcgi-pm root 26421 7.5 0.8 20604 17044 pts/2 S+ 15:48 0:36 perl-fcgi root 26422 7.6 0.8 20496 17000 pts/2 S+ 15:48 0:37 perl-fcgi root 26423 7.9 0.8 20496 17000 pts/2 S+ 15:48 0:38 perl-fcgi root 26424 7.4 0.8 20496 17000 pts/2 S+ 15:48 0:35 perl-fcgi root 26425 8.0 0.8 20496 17000 pts/2 S+ 15:48 0:38 perl-fcgi ----------------------------------------------------------------------------------------------------------------