---------------------------------------------------------------------------------------------------------------- Start memory ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 17627 0.0 0.2 9488 4276 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 17628 0.0 0.1 9488 3624 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 17629 0.0 0.1 9488 3624 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 17630 0.0 0.1 9488 3624 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 17631 0.0 0.1 9488 3624 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 17632 0.0 0.1 9488 3624 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- test: ab -c 5 -n 1000 http://dj.test.com/ ---------------------------------------------------------------------------------------------------------------- Benchmarking dj.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: dj.test.com Server Port: 80 Document Path: / Document Length: 251 bytes Concurrency Level: 5 Time taken for tests: 1.785958 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 387000 bytes HTML transferred: 251000 bytes Requests per second: 559.92 [#/sec] (mean) Time per request: 8.930 [ms] (mean) Time per request: 1.786 [ms] (mean, across all concurrent requests) Transfer rate: 211.09 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 1 7 23.9 5 382 Waiting: 1 7 23.9 5 382 Total: 1 7 23.9 5 382 Percentage of the requests served within a certain time (ms) 50% 5 66% 5 75% 5 80% 5 90% 6 95% 8 98% 13 99% 63 100% 382 (longest request) ---------------------------------------------------------------------------------------------------------------- test: ab -c 5 -n 1000 http://dj.test.com/ ---------------------------------------------------------------------------------------------------------------- Benchmarking dj.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: dj.test.com Server Port: 80 Document Path: / Document Length: 251 bytes Concurrency Level: 5 Time taken for tests: 1.440554 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 387000 bytes HTML transferred: 251000 bytes Requests per second: 694.18 [#/sec] (mean) Time per request: 7.203 [ms] (mean) Time per request: 1.441 [ms] (mean, across all concurrent requests) Transfer rate: 261.70 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 1 1 2.7 1 85 Waiting: 1 1 2.7 1 85 Total: 1 1 2.7 1 85 Percentage of the requests served within a certain time (ms) 50% 1 66% 1 75% 1 80% 1 90% 1 95% 1 98% 1 99% 3 100% 85 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after first "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 17627 0.2 0.2 9488 4292 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 17628 0.3 0.3 11156 6192 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 17629 0.4 0.3 11156 6192 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 17630 0.3 0.3 11156 6196 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 17631 0.4 0.3 11156 6192 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 17632 0.3 0.3 11156 6192 ? S 23:02 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: ab -c 100 -n 10000 http://dj.test.com/ ---------------------------------------------------------------------------------------------------------------- Benchmarking dj.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: dj.test.com Server Port: 80 Document Path: / Document Length: 251 bytes Concurrency Level: 100 Time taken for tests: 17.133766 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 3870000 bytes HTML transferred: 2510000 bytes Requests per second: 583.64 [#/sec] (mean) Time per request: 171.338 [ms] (mean) Time per request: 1.713 [ms] (mean, across all concurrent requests) Transfer rate: 220.56 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 1 4.5 0 29 Processing: 36 167 469.7 126 15293 Waiting: 33 166 469.8 126 15292 Total: 39 168 469.7 127 15295 Percentage of the requests served within a certain time (ms) 50% 127 66% 135 75% 143 80% 153 90% 202 95% 238 98% 681 99% 1078 100% 15295 (longest request) ---------------------------------------------------------------------------------------------------------------- test: ab -c 100 -n 10000 http://dj.test.com/ ---------------------------------------------------------------------------------------------------------------- Benchmarking dj.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: dj.test.com Server Port: 80 Document Path: / Document Length: 251 bytes Concurrency Level: 100 Time taken for tests: 16.925516 seconds Complete requests: 10000 Failed requests: 1 (Connect: 0, Length: 1, Exceptions: 0) Write errors: 0 Non-2xx responses: 1 Total transferred: 3869961 bytes HTML transferred: 2509967 bytes Requests per second: 590.82 [#/sec] (mean) Time per request: 169.255 [ms] (mean) Time per request: 1.693 [ms] (mean, across all concurrent requests) Transfer rate: 223.27 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 1 5.4 0 212 Processing: 13 165 430.9 129 13810 Waiting: 12 164 431.0 128 13810 Total: 16 167 430.7 129 13810 Percentage of the requests served within a certain time (ms) 50% 129 66% 136 75% 141 80% 146 90% 184 95% 298 98% 441 99% 1164 100% 13810 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after second "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 18184 0.0 0.2 9488 4348 ? S 23:05 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18500 0.0 0.1 9488 3640 ? S 23:06 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18504 0.0 0.1 9488 3640 ? S 23:06 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18505 0.0 0.1 9488 3640 ? S 23:06 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18506 0.0 0.1 9488 3640 ? S 23:06 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18507 0.0 0.1 9488 3640 ? S 23:06 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: http_load -rate 10 -seconds 5 dj.test.com ---------------------------------------------------------------------------------------------------------------- 49 fetches, 1 max parallel, 12299 bytes, in 5.00001 seconds 251 mean bytes/connection 9.79998 fetches/sec, 2459.79 bytes/sec msecs/connect: 0.0558776 mean, 0.111 max, 0.046 min msecs/first-response: 3.28471 mean, 51.44 max, 1.16 min HTTP response codes: code 200 -- 49 ---------------------------------------------------------------------------------------------------------------- memory after "http_load" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 18527 0.0 0.2 9488 4280 ? S 23:07 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18528 0.0 0.1 9488 3624 ? S 23:07 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18529 0.0 0.1 9488 3624 ? S 23:07 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18530 0.0 0.2 10768 5920 ? S 23:07 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18531 0.0 0.1 9488 3624 ? S 23:07 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18532 0.2 0.2 10892 6084 ? S 23:07 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c50 dj.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 6035 hits Availability: 100.00 % Elapsed time: 60.84 secs Data transferred: 1.17 MB Response time: 0.00 secs Transaction rate: 99.19 trans/sec Throughput: 0.02 MB/sec Concurrency: 0.35 Successful transactions: 6035 Failed transactions: 0 Longest transaction: 0.37 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after first "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 18855 0.1 0.2 9480 4284 ? S 23:10 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18856 0.9 0.3 11152 6260 ? S 23:10 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18857 0.6 0.3 11152 6244 ? S 23:10 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18858 0.5 0.3 11152 6244 ? S 23:10 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18859 0.6 0.3 11152 6252 ? S 23:10 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 18860 0.5 0.3 11152 6248 ? S 23:10 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c200 dj.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 21674 hits Availability: 100.00 % Elapsed time: 60.65 secs Data transferred: 4.22 MB Response time: 0.05 secs Transaction rate: 357.36 trans/sec Throughput: 0.07 MB/sec Concurrency: 17.00 Successful transactions: 21657 Failed transactions: 0 Longest transaction: 3.67 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after second "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 18855 0.2 0.2 9480 4340 ? S 23:10 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 19767 0.4 0.3 11152 6188 ? S 23:15 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 19768 0.3 0.3 10892 6180 ? S 23:15 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 19769 0.1 0.2 10892 6072 ? S 23:15 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 19770 0.4 0.3 11152 6188 ? S 23:15 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 19771 0.3 0.3 10892 6180 ? S 23:15 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c300 dj.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 22489 hits Availability: 100.00 % Elapsed time: 64.15 secs Data transferred: 4.38 MB Response time: 0.35 secs Transaction rate: 350.57 trans/sec Throughput: 0.07 MB/sec Concurrency: 121.88 Successful transactions: 22483 Failed transactions: 0 Longest transaction: 9.34 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after third "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 18855 0.1 0.2 9480 4340 ? S 23:10 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20476 0.0 0.1 9480 3632 ? S 23:18 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20477 0.0 0.1 9480 3628 ? S 23:18 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20478 0.0 0.1 9480 3628 ? S 23:18 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20479 0.0 0.1 9480 3628 ? S 23:18 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20480 0.0 0.1 9480 3628 ? S 23:18 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 ----------------------------------------------------------------------------------------------------------------