|
[code:1]./ab -n 30000 -c 150 http://127.0.0.1/test.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.4 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Completed 3000 requests
Completed 6000 requests
Completed 9000 requests
Completed 12000 requests
Completed 15000 requests
Completed 18000 requests
Completed 21000 requests
Completed 24000 requests
Completed 27000 requests
Finished 30000 requests
Server Software: Apache/2.0.48
Server Hostname: 127.0.0.1
Server Port: 80
Document Path: /test.php
Document Length: 29359 bytes
Concurrency Level: 150
Time taken for tests: 94.561597 seconds
Complete requests: 30000
Failed requests: 85
(Connect: 0, Length: 7, Exceptions: 78)
Write errors: 0
Total transferred: 890043865 bytes
HTML transferred: 884582733 bytes
Requests per second: 317.25 [#/sec] (mean)
Time per request: 472.808 [ms] (mean)
Time per request: 3.152 [ms] (mean, across all concurrent requests)
Transfer rate: 9191.71 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 71.5 0 5015
Processing: 432 457 166.3 446 4949
Waiting: -3100 -228 42.8 -223 0
Total: 432 459 182.8 446 5567
Percentage of the requests served within a certain time (ms)
50% 446
66% 449
75% 451
80% 452
90% 455
95% 458
98% 461
99% 465
100% 5567 (longest request)[/code:1]
其中test.php文件的内容为:
[code:1]
<?php
phpinfo();
?>
[/code:1]
请大家帮我分析一下这个结果的性能如何?
(apache 2.0.48+PHP5+LinuxAS FOR 2.6.4) |
|