Optimize WordPress for speed
Here are the results from my current (old) system for comparison:
Benchmarking thebside.ca (be patient).....done
Server Software: Apache/2.2.9
Server Hostname: thebside.ca
Server Port: 80
Document Path: /
Document Length: 26643 bytes
Concurrency Level: 10
Time taken for tests: 126.358 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 2716600 bytes
HTML transferred: 2664300 bytes
Requests per second: 0.79 [#/sec] (mean)
Time per request: 12635.836 [ms] (mean)
Time per request: 1263.584 [ms] (mean, across all concurrent requests)
Transfer rate: 21.00 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 21.1 1 108
Processing: 3432 12418 1510.4 12669 15194
Waiting: 2785 7833 906.1 7867 9657
Total: 3433 12423 1507.4 12669 15195
Percentage of the requests served within a certain time (ms)
50% 12669
66% 12956
75% 13106
80% 13145
90% 13978
95% 14549
98% 14919
99% 15195
100% 15195 (longest request)
Specs of the old machine:
Athlon XP 2100+, 756 MB RAM
hdparm -tT /dev/sda1
/dev/sda1:
Timing cached reads: 336 MB in 2.00 seconds = 167.97 MB/sec
Timing buffered disk reads: 192 MB in 3.03 seconds = 63.40 MB/sec
Now below are the numbers for my new hardware, though they may deteriorate as I add additional services.
Benchmarking localhost (be patient).....done
Server Software: Apache/2.2.11
Server Hostname: localhost
Server Port: 80
Document Path: /
Document Length: 28407 bytes
Concurrency Level: 10
Time taken for tests: 12.385 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 2890200 bytes
HTML transferred: 2840700 bytes
Requests per second: 8.07 [#/sec] (mean)
Time per request: 1238.451 [ms] (mean)
Time per request: 123.845 [ms] (mean, across all concurrent requests)
Transfer rate: 227.90 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 9 30.1 0 119
Processing: 782 1220 163.2 1205 1781
Waiting: 499 790 145.2 757 1344
Total: 782 1229 182.8 1205 1781
Percentage of the requests served within a certain time (ms)
50% 1205
66% 1243
75% 1286
80% 1308
90% 1516
95% 1666
98% 1734
99% 1781
100% 1781 (longest request)
And the new server’s specs?
AMD Athlon Dual Core 5050e, 4GB RAM
hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1292 MB in 2.00 seconds = 646.06 MB/sec
Timing buffered disk reads: 252 MB in 3.00 seconds = 83.94 MB/sec
So things are looking good!