---------------------------------------------------------------------------------------------------------------- Start memory ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 20510 0.0 0.4 46560 9188 ? S 23:19 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20511 0.0 0.4 46560 8528 ? S 23:19 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20512 0.0 0.4 46560 8536 ? S 23:19 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20513 0.0 0.4 46560 8540 ? S 23:19 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20514 0.0 0.4 46560 8540 ? S 23:19 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20515 0.0 0.4 46560 8540 ? S 23:19 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.773485 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 387000 bytes HTML transferred: 251000 bytes Requests per second: 563.86 [#/sec] (mean) Time per request: 8.867 [ms] (mean) Time per request: 1.773 [ms] (mean, across all concurrent requests) Transfer rate: 212.58 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 0 3 30.6 1 652 Waiting: 0 3 30.6 0 652 Total: 0 3 30.6 1 652 Percentage of the requests served within a certain time (ms) 50% 1 66% 1 75% 1 80% 1 90% 1 95% 1 98% 5 99% 70 100% 652 (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.118274 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 388548 bytes HTML transferred: 252004 bytes Requests per second: 894.24 [#/sec] (mean) Time per request: 5.591 [ms] (mean) Time per request: 1.118 [ms] (mean, across all concurrent requests) Transfer rate: 338.92 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 2 Processing: 0 5 2.0 5 22 Waiting: 0 4 2.2 5 22 Total: 0 5 2.0 5 22 Percentage of the requests served within a certain time (ms) 50% 5 66% 5 75% 6 80% 6 90% 7 95% 8 98% 9 99% 13 100% 22 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after first "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 20510 0.0 0.4 46692 9480 ? S 23:19 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20511 0.4 0.6 50404 13880 ? S 23:19 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20512 0.3 0.6 50420 13880 ? S 23:19 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20513 0.4 0.6 50420 13892 ? S 23:19 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20514 0.3 0.6 50420 13868 ? S 23:19 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20515 0.4 0.6 50420 13896 ? S 23:19 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: 15.818821 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 3870000 bytes HTML transferred: 2510000 bytes Requests per second: 632.16 [#/sec] (mean) Time per request: 158.188 [ms] (mean) Time per request: 1.582 [ms] (mean, across all concurrent requests) Transfer rate: 238.89 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 11 Processing: 75 125 220.1 102 10795 Waiting: 74 125 220.1 102 10795 Total: 75 125 220.2 102 10795 Percentage of the requests served within a certain time (ms) 50% 102 66% 104 75% 105 80% 105 90% 119 95% 216 98% 411 99% 433 100% 10795 (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: 14.644270 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 3870000 bytes HTML transferred: 2510000 bytes Requests per second: 682.86 [#/sec] (mean) Time per request: 146.443 [ms] (mean) Time per request: 1.464 [ms] (mean, across all concurrent requests) Transfer rate: 258.05 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 4 Processing: 80 114 90.7 99 2731 Waiting: 79 114 90.6 99 2730 Total: 80 114 90.8 99 2734 Percentage of the requests served within a certain time (ms) 50% 99 66% 100 75% 101 80% 102 90% 106 95% 125 98% 479 99% 535 100% 2734 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after second "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 20572 3.5 0.4 46688 9516 ? S 23:21 0:02 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20797 0.0 0.4 46812 8840 ? S 23:22 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20802 0.0 0.4 46812 8840 ? S 23:22 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20803 0.0 0.4 46812 8840 ? S 23:22 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20804 0.0 0.4 46812 8840 ? S 23:22 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20805 0.0 0.4 46812 8840 ? S 23:22 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 seconds 251 mean bytes/connection 9.8 fetches/sec, 2459.8 bytes/sec msecs/connect: 0.0523469 mean, 0.074 max, 0.047 min msecs/first-response: 4.0488 mean, 74.235 max, 0.911 min HTTP response codes: code 200 -- 49 ---------------------------------------------------------------------------------------------------------------- memory after "http_load" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 20825 0.0 0.4 46560 9308 ? S 23:23 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20826 0.0 0.4 46560 8528 ? S 23:23 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20827 0.0 0.4 46560 8536 ? S 23:23 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20828 0.1 0.6 50164 13532 ? S 23:23 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20829 0.0 0.4 46560 8540 ? S 23:23 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20830 0.2 0.6 50292 13768 ? S 23:23 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: 5891 hits Availability: 100.00 % Elapsed time: 60.22 secs Data transferred: 1.15 MB Response time: 0.01 secs Transaction rate: 97.82 trans/sec Throughput: 0.02 MB/sec Concurrency: 0.59 Successful transactions: 5891 Failed transactions: 0 Longest transaction: 0.70 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after first "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 20859 0.4 0.4 46688 9460 ? S 23:24 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20860 0.9 0.6 50400 13920 ? S 23:24 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20861 0.9 0.6 50416 13936 ? S 23:24 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20862 0.9 0.6 50416 13968 ? S 23:24 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20863 0.8 0.6 50416 13928 ? S 23:24 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 20864 1.0 0.6 50416 13928 ? S 23:24 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c200 dj.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 22130 hits Availability: 100.00 % Elapsed time: 59.99 secs Data transferred: 4.31 MB Response time: 0.03 secs Transaction rate: 368.89 trans/sec Throughput: 0.07 MB/sec Concurrency: 11.23 Successful transactions: 22128 Failed transactions: 0 Longest transaction: 5.30 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after second "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 20859 0.6 0.4 46688 9468 ? S 23:24 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 21939 2.1 0.6 50580 14180 ? S 23:27 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 21941 2.3 0.6 50580 14192 ? S 23:27 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 21942 2.2 0.6 50580 14184 ? S 23:27 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 21943 2.5 0.6 50580 14204 ? S 23:27 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 21957 2.2 0.6 50580 14168 ? S 23:27 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c300 dj.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 23893 hits Availability: 100.00 % Elapsed time: 60.92 secs Data transferred: 4.65 MB Response time: 0.24 secs Transaction rate: 392.20 trans/sec Throughput: 0.08 MB/sec Concurrency: 94.11 Successful transactions: 23880 Failed transactions: 0 Longest transaction: 25.99 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after third "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 20859 0.4 0.4 46688 9564 ? S 23:24 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 22976 0.0 0.0 0 0 ? Z 23:30 0:00 [python] www 22977 0.0 0.5 48412 11152 ? R 23:30 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 22978 0.0 0.4 46688 8832 ? S 23:30 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 22979 0.0 0.4 46688 8832 ? S 23:30 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 22980 0.0 0.4 46688 8776 ? R 23:30 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- www 20859 0.3 0.4 46688 9564 ? S 23:24 0:01 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 22978 0.0 0.4 46688 8832 ? S 23:30 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 22979 0.0 0.4 46688 8832 ? S 23:30 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 22980 0.0 0.4 46688 8832 ? S 23:30 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 22983 0.0 0.4 46688 8832 ? S 23:30 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 www 22984 0.0 0.4 46688 8832 ? S 23:30 0:00 python manage.py runfcgi method=prefork host=127.0.0.1 port=8801