Linode 1G 1024 CentOS7+Apache+PHP 負載能力ab測試

來源:互聯網
上載者:User
使用的系統資訊:

[root@localhost ~]# uname -aLinux localhost.localdomain 3.15.4-x86_64-linode45 #1 SMP Mon Jul 7 08:42:36 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux[root@localhost ~]# php -vPHP 5.4.16 (cli) (built: Aug  6 2014 13:12:28)Copyright (c) 1997-2013 The PHP GroupZend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies[root@localhost ~]# httpd -vServer version: Apache/2.4.6 (CentOS)Server built:   Jul 23 2014 14:48:00[root@localhost ~]#



ab測試 phpinfo() 結果:輸送量 759!

D:\wamp\bin\apache\apache2.4.9\bin>ab -n 100 -c 10 http://linode.zbphp.com/This is ApacheBench, Version 2.3 <$Revision: 1554214 $>Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/Licensed to The Apache Software Foundation, http://www.apache.org/Benchmarking linode.zbphp.com (be patient).....doneServer Software:        Apache/2.4.6Server Hostname:        linode.zbphp.comServer Port:            80Document Path:          /Document Length:        52627 bytesConcurrency Level:      10Time taken for tests:   7.592 secondsComplete requests:      100Failed requests:        14   (Connect: 0, Receive: 0, Length: 14, Exceptions: 0)Total transferred:      5280981 bytesHTML transferred:       5262681 bytesRequests per second:    13.17 [#/sec] (mean)Time per request:       759.206 [ms] (mean)Time per request:       75.921 [ms] (mean, across all concurrent requests)Transfer rate:          679.29 [Kbytes/sec] receivedConnection Times (ms)              min  mean[+/-sd] median   maxConnect:       60   73   4.7     70      80Processing:   208  635 101.4    660     690Waiting:       70  237 120.5    220     640Total:        279  708 101.5    740     770Percentage of the requests served within a certain time (ms)  50%    740  66%    740  75%    740  80%    745  90%    750  95%    760  98%    760  99%    770 100%    770 (longest request)D:\wamp\bin\apache\apache2.4.9\bin>
  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.