---------------------------------------------------------------------------------------------------------------- Start memory ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 30527 0.0 0.2 50440 4364 ? S 00:11 0:00 python manage.py runfcgi method=threaded 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.350313 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 388161 bytes HTML transferred: 251753 bytes Requests per second: 740.57 [#/sec] (mean) Time per request: 6.752 [ms] (mean) Time per request: 1.350 [ms] (mean, across all concurrent requests) Transfer rate: 280.68 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 1 4 4.7 4 52 Waiting: 1 4 4.7 4 52 Total: 1 4 4.7 4 52 Percentage of the requests served within a certain time (ms) 50% 4 66% 5 75% 6 80% 7 90% 9 95% 12 98% 16 99% 22 100% 52 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after first "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 30527 1.5 0.3 94224 7084 ? S 00:11 0:01 python manage.py runfcgi method=threaded 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.303554 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 387000 bytes HTML transferred: 251000 bytes Requests per second: 767.13 [#/sec] (mean) Time per request: 6.518 [ms] (mean) Time per request: 1.304 [ms] (mean, across all concurrent requests) Transfer rate: 289.21 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 2 Processing: 1 5 4.0 5 44 Waiting: 1 5 3.9 5 44 Total: 1 5 4.0 5 44 Percentage of the requests served within a certain time (ms) 50% 5 66% 6 75% 7 80% 8 90% 10 95% 12 98% 16 99% 21 100% 44 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after first "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 30527 1.6 0.3 94352 7236 ? S 00:11 0:02 python manage.py runfcgi method=threaded 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: 13.280851 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 3874257 bytes HTML transferred: 2512761 bytes Requests per second: 752.96 [#/sec] (mean) Time per request: 132.809 [ms] (mean) Time per request: 1.328 [ms] (mean, across all concurrent requests) Transfer rate: 284.85 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 1.7 0 30 Processing: 61 131 9.4 132 269 Waiting: 60 130 9.5 132 268 Total: 63 131 9.0 132 269 Percentage of the requests served within a certain time (ms) 50% 132 66% 133 75% 134 80% 135 90% 137 95% 141 98% 149 99% 159 100% 269 (longest request) ---------------------------------------------------------------------------------------------------------------- memory after second "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 30701 20.4 0.4 54420 8844 ? S 00:13 0:10 python manage.py runfcgi method=threaded host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- test: ab -c 5 -n 1000 http://dj.test.com/ [second result] ---------------------------------------------------------------------------------------------------------------- apr_poll: The timeout specified has expired (70007) ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: http_load -rate 10 -seconds 5 dj.test.com ---------------------------------------------------------------------------------------------------------------- foxtrot355:/srv/CMF# http_load -rate 10 -seconds 5 dj.h 49 fetches, 1 max parallel, 12299 bytes, in 5.00091 seconds 251 mean bytes/connection 9.79822 fetches/sec, 2459.35 bytes/sec msecs/connect: 0.0483673 mean, 0.068 max, 0.045 min msecs/first-response: 2.18561 mean, 48.085 max, 1.175 min HTTP response codes: code 200 -- 49 ---------------------------------------------------------------------------------------------------------------- memory after "http_load" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 30826 0.1 0.3 51844 6432 ? S 00:16 0:00 python manage.py runfcgi method=threaded host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c50 dj.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 5854 hits Availability: 100.00 % Elapsed time: 59.89 secs Data transferred: 1.14 MB Response time: 0.00 secs Transaction rate: 97.75 trans/sec Throughput: 0.02 MB/sec Concurrency: 0.31 Successful transactions: 5854 Failed transactions: 0 Longest transaction: 0.19 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after first "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 30887 6.6 0.3 68616 6840 ? S 00:18 0:06 python manage.py runfcgi method=threaded host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c200 dj.test.com ---------------------------------------------------------------------------------------------------------------- Availability: 100.00 % Elapsed time: 60.02 secs Data transferred: 4.37 MB Response time: 0.01 secs Transaction rate: 374.14 trans/sec Throughput: 0.07 MB/sec Concurrency: 3.91 Successful transactions: 22456 Failed transactions: 0 Longest transaction: 0.69 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after second "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 30887 16.5 0.3 93708 7348 ? S 00:18 0:32 python manage.py runfcgi method=threaded host=127.0.0.1 port=8801 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c300 dj.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 29399 hits Availability: 100.00 % Elapsed time: 60.30 secs Data transferred: 5.72 MB Response time: 0.09 secs Transaction rate: 487.55 trans/sec Throughput: 0.09 MB/sec Concurrency: 43.29 Successful transactions: 29399 Failed transactions: 0 Longest transaction: 12.55 Shortest transaction: 0.00 ---------------------------------------------------------------------------------------------------------------- memory after third "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 30887 22.3 0.4 95504 8188 ? S 00:18 1:05 python manage.py runfcgi method=threaded host=127.0.0.1 port=8801 ----------------------------------------------------------------------------------------------------------------