---------------------------------------------------------------------------------------------------------------- Start memory ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 27135 0.0 0.1 8288 2988 ? Ss 23:00 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27136 0.0 0.0 8288 1244 ? S 23:00 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27137 0.0 0.0 8288 1244 ? S 23:00 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27138 0.0 0.0 8288 1244 ? S 23:00 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27139 0.0 0.0 8288 1244 ? S 23:00 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27140 0.0 0.0 8288 1244 ? S 23:00 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 ---------------------------------------------------------------------------------------------------------------- test: ab -c 5 -n 1000 http://ci.test.com/ ---------------------------------------------------------------------------------------------------------------- Benchmarking ci.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: ci.test.com Server Port: 80 Document Path: / Document Length: 207 bytes Concurrency Level: 5 Time taken for tests: 10.802817 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 353000 bytes HTML transferred: 207000 bytes Requests per second: 92.57 [#/sec] (mean) Time per request: 54.014 [ms] (mean) Time per request: 10.803 [ms] (mean, across all concurrent requests) Transfer rate: 31.84 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 10 52 96.0 10 1104 Waiting: 10 52 96.0 10 1104 Total: 10 52 96.0 10 1104 Percentage of the requests served within a certain time (ms) 50% 10 66% 21 75% 91 80% 93 90% 103 95% 235 98% 321 99% 424 100% 1104 (longest request) [second result similar] ---------------------------------------------------------------------------------------------------------------- memory after first "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 27135 0.0 0.1 8288 2988 ? Ss 23:45 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27136 3.6 0.1 8288 2764 ? S 23:45 0:03 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27137 4.2 0.1 8288 2764 ? S 23:45 0:03 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27138 5.0 0.1 8288 2764 ? S 23:45 0:04 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27139 4.8 0.1 8288 2764 ? S 23:45 0:04 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27140 4.8 0.1 8288 2764 ? S 23:45 0:04 /usr/local/bin/php -q -b 127.0.0.1:9000 ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: ab -c 100 -n 10000 http://ci.test.com/ ---------------------------------------------------------------------------------------------------------------- Benchmarking ci.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: ci.test.com Server Port: 80 Document Path: / Document Length: 207 bytes Concurrency Level: 100 Time taken for tests: 109.692997 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 3530000 bytes HTML transferred: 2070000 bytes Requests per second: 91.16 [#/sec] (mean) Time per request: 1096.930 [ms] (mean) Time per request: 10.969 [ms] (mean, across all concurrent requests) Transfer rate: 31.42 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 3 Processing: 40 1090 157.7 1061 6192 Waiting: 39 1090 157.7 1061 6191 Total: 43 1090 157.6 1061 6192 Percentage of the requests served within a certain time (ms) 50% 1061 66% 1077 75% 1089 80% 1099 90% 1166 95% 1449 98% 1478 99% 1488 100% 6192 (longest request) [second result similar] ---------------------------------------------------------------------------------------------------------------- memory after second "ab" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 27248 0.0 0.1 8284 2988 ? Ss 23:50 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27339 15.6 0.1 8284 2764 ? S 23:54 0:10 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27355 8.0 0.1 8284 2764 ? S 23:55 0:01 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27356 3.6 0.1 8284 2764 ? S 23:55 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27357 3.7 0.1 8284 2764 ? S 23:55 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 27358 2.0 0.1 8284 2764 ? S 23:55 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: http_load -rate 10 -seconds 5 ci.test.com ---------------------------------------------------------------------------------------------------------------- 49 fetches, 1 max parallel, 10143 bytes, in 5.00029 seconds 207 mean bytes/connection 9.79943 fetches/sec, 2028.48 bytes/sec msecs/connect: 0.0646939 mean, 0.089 max, 0.055 min msecs/first-response: 10.8024 mean, 11.971 max, 10.636 min HTTP response codes: code 200 -- 49 ---------------------------------------------------------------------------------------------------------------- memory after "http_load" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 24840 0.0 0.1 8284 2984 ? Ss 23:09 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 24841 0.2 0.1 8284 2760 ? S 23:09 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 24842 0.2 0.1 8284 2760 ? S 23:09 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 24843 0.2 0.1 8284 2760 ? S 23:09 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 24844 0.2 0.1 8284 2760 ? S 23:09 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 24845 0.1 0.1 8284 2760 ? S 23:09 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 ---------------------------------------------------------------------------------------------------------------- framework restart ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c50 ci.test.com ---------------------------------------------------------------------------------------------------------------- Transactions: 5001 hits Availability: 100.00 % Elapsed time: 60.08 secs Data transferred: 0.82 MB Response time: 0.07 secs Transaction rate: 83.24 trans/sec Throughput: 0.01 MB/sec Concurrency: 5.74 Successful transactions: 5001 Failed transactions: 0 Longest transaction: 0.77 Shortest transaction: 0.01 ---------------------------------------------------------------------------------------------------------------- memory after first "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 24875 0.0 0.1 8284 2988 ? Ss 23:10 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 24877 8.8 0.1 8284 2768 ? S 23:10 0:10 /usr/local/bin/php -q -b 127.0.0.1:9000 www 24879 8.8 0.1 8284 2768 ? S 23:10 0:10 /usr/local/bin/php -q -b 127.0.0.1:9000 www 24966 0.6 0.1 8284 2768 ? S 23:12 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 24968 0.0 0.1 8284 2764 ? S 23:12 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 24969 0.0 0.1 8284 2764 ? S 23:12 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c200 ci.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 6794 hits Availability: 100.00 % Elapsed time: 78.19 secs Data transferred: 1.11 MB Response time: 1.64 secs Transaction rate: 86.89 trans/sec Throughput: 0.01 MB/sec Concurrency: 142.93 Successful transactions: 6794 Failed transactions: 0 Longest transaction: 31.72 Shortest transaction: 0.01 ---------------------------------------------------------------------------------------------------------------- test: siege -d1 -t1M -c300 ci.test.com ---------------------------------------------------------------------------------------------------------------- ransactions: 5956 hits Availability: 99.65 % Elapsed time: 78.28 secs Data transferred: 0.98 MB Response time: 2.99 secs Transaction rate: 76.09 trans/sec Throughput: 0.01 MB/sec Concurrency: 227.29 Successful transactions: 5954 Failed transactions: 21 Longest transaction: 28.90 Shortest transaction: 0.01 ---------------------------------------------------------------------------------------------------------------- memory after third "siege" test ---------------------------------------------------------------------------------------------------------------- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND www 24875 0.0 0.1 8284 2988 ? Ss 23:10 0:00 /usr/local/bin/php -q -b 127.0.0.1:9000 www 25960 8.5 0.1 8284 2768 ? S 23:17 0:10 /usr/local/bin/php -q -b 127.0.0.1:9000 www 25961 8.8 0.1 8284 2768 ? S 23:17 0:10 /usr/local/bin/php -q -b 127.0.0.1:9000 www 25962 3.2 0.1 8284 2768 ? S 23:17 0:02 /usr/local/bin/php -q -b 127.0.0.1:9000 www 25963 6.9 0.1 8284 2768 ? S 23:17 0:05 /usr/local/bin/php -q -b 127.0.0.1:9000 www 25986 6.1 0.1 8284 2768 ? S 23:18 0:03 /usr/local/bin/php -q -b 127.0.0.1:9000 ----------------------------------------------------------------------------------------------------------------