刚做了2个测试:
1、nginx+php-cgi fpm
100000 fetches, 100 max parallel, 2e+06 bytes, in 39.5206 seconds
20 mean bytes/connection
2530.33 fetches/sec, 50606.6 bytes/sec
msecs/connect: 0.538099 mean, 3000.11 max, 0.106 min
msecs/first-response: 38.9175 mean, 402.378 max, 0.313 min
HTTP response codes:
code 200 — 100000
2、lighttpd+php-cgi fpm
100000 fetches, 100 max parallel, 2e+06 bytes, in 15.6593 seconds
20 mean bytes/connection
6385.99 fetches/sec, 127720 bytes/sec
msecs/connect: 3.78652 mean, 3001.08 max, 0.105 min
msecs/first-response: 9.88036 mean, 229.16 max, 0.495 min
HTTP response codes:
code 200 — 100000
