Server Port: 80
Document Path: /index.html
Document Length: 612 bytes
Concurrency Level: 1000
Time taken for tests: 12.010 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 83600000 bytes
HTML transferred: 61200000 bytes
Requests per second: 8326.49 [#/sec] (mean)
Time per request: 120.099 [ms] (mean)
Time per request: 0.120 [ms] (mean, across all concurrent requests)
Transfer rate: 6797.80 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 53 8.9 53 82
Processing: 17 67 11.4 66 98
Waiting: 0 49 14.3 43 84
Total: 70 119 6.5 120 140
Percentage of the requests served within a certain time (ms)
50% 120
66% 122
75% 123
80% 124
90% 126
95% 128
98% 129
99% 130
100% 140 (longest request)
(5)xcache加速php
安装xcache
[root@CXW src]# wget http://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz [root@CXW src]# cd xcache-3.2.0/ [root@CXW xcache-3.2.0]# /usr/src/php5.6/bin/phpize

[root@CXW xcache-3.2.0]# ./configure --enable-xcache --enable-xcache-coverager --enable-xcache-optimizer --with-php-config=/usr/src/php5.6/bin/php-config [root@CXW xcache-3.2.0]# make && make install Installing shared extensions:
安装完成之后,出现下面的界面,记住以下路径,后面会用到
/usr/src/php5.6/lib/php/extensions/no-debug-non-zts-20131226/ [root@CXW xcache-3.2.0]# touch /tmp/xcache [root@CXW xcache-3.2.0]# chmod 777 /tmp/xcache
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/bofangqi/article-76432-12.html
疯