Linode has announced all new pure SSD VPS hosting plans which have comparable pricing on some plans to DigitalOcean SSD based VPS server plans. So decided to spin up their respective 2GB VPS plans which both come to $20/month and revisit Centmin Mod Nginx CLI install benchmarks with the 13th Centmin Mod .07 beta release.
Centmin Mod installer is based on the 13th .07 beta listed in Google+ Community thread and will install the following web stack majority of which is done via source compilation (read FAQ #18 for reasons why):
- Nginx 1.5.13 via source compile
- PHP 5.4.27 then upgrade to PHP 5.5.11 (php-fpm) via source compile
- MariaDB 5.5.36 MySQL performance fork via official YUM repository
- PHP opcode cache: APC Cache 3.13 + igbinary 1.12-dev via source compile
- Memcached Server 1.4.17 + Memcache 3.0.8 PHP Extension via source compile
- Libmemcached 1.0.18 + Memcached 2.1.0 PHP Extension via source compile
- ImageMagick 3.1.2 PHP Extension via source compile
- NSD for DNS via source compile
- Siege Benchmark Tool via source compile
- CSF Firewall via source compile
The Linode and DigitalOcean 2GB VPS plans specifications are fairly close with Linode having 8GB more SSD disk space available.
Linode 2GB VPS
- 2GB Memory
- 2 Processor(s)
- 48GB SSD Disk
- 3TB Transfer
- CentOS 6.5 64bit
- Freemont, California
DigitalOcean 2GB VPS
- 2GB Memory
- 2 Processor(s)
- 40GB SSD Disk
- 3TB Transfer
- CentOS 6.5 64bit
- San Francisco region
Centmin Mod .07
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
Centmin Mod 1.2.3-eva2000.07 - http://centminmod.com -------------------------------------------------------- Centmin Mod Menu -------------------------------------------------------- 1). Centmin Install 2). Add Nginx vhost domain 3). NSD setup domain name DNS 4). Nginx Upgrade / Downgrade 5). PHP Upgrade / Downgrade 6). XCache Re-install 7). APC Cache Re-install 8). XCache Install 9). APC Cache Install 10). Memcached Server Re-install 11). MariaDB 5.2, 5.5, 10 Upgrade Sub-Menu 12). Zend OpCache Install/Re-install 13). Install ioping.sh vbtechsupport.com/1239/ 14). SELinux disable 15). Install/Re-install imagick PHP Extension 16). Change SSHD Port Number 17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc 18). Suhosin PHP Extension install 19). Install FFMPEG and FFMPEG PHP Extension 20). NSD Re-install 21). Exit -------------------------------------------------------- Enter option [ 1 - 21 ] |
CLI install command
To run Centmin Mod CLI Install script, all I did was load up CentOS 6.5 64bit image for both VPS servers and SSH in and ran this one line command and waited for installation to complete and report the total installation time:
|
1 |
time curl -sL http://centminmod.com/centminmod_beta/installer.sh | bash |
CLI install benchmark results
DigitalOcean 2GB VPS ended up with faster CLI install time. It seems some downloaded components for Centmin Mod also downloaded much faster i.e. Google ngx_pagespeed’s PSOL binary downloaded at 26.1MB/s with DigitalOcean VPS while only managing 139KB/s with Linode VPS. But ultimately source compilation speed usually is determined by processor speed and give then ServerBear UnixBench benchmark results, it does look like DigitalOcean 2GB VPS has the faster processing power.
- Linode 2GB VPS = Total Centmin Mod Install Time: 1775.994987934 seconds. Almost 30 minutes.
- DigitalOcean 2GB VPS = Total Centmin Mod Install Time: 1361.410512372 seconds. Just over 22 minutes.
Update:
- Spun up more Linode and DigitalOcean VPS plans for more tests for 4GB, 8GB and 16GB VPS plans. Clearly the large plans from Linode performed better than DigitalOcean as they had more cpu cores to work with. Full ServerBear results here.
- However, Linode higher plans definitely are faster even for the 4GB Linode 4 core plan was ~7.5% faster DigitalOcean’s 16GB 8 core plan.
- At 2GB and 8GB plans, both had 2 and 8 cpu cores to work respectively. DigitalOcean won for install times with 2GB plans being 26% faster than Linode. With 16GB plan, Linode was 10% faster than DigitalOcean.
The Centmin Mod CLI Install benchmark times:
- DigitalOcean 2GB VPS (2 cores) = Install Time: 1361.410512372 seconds
- DigitalOcean 4GB VPS (2 cores) = Install Time: 1399.195370295 seconds
- DigitalOcean 8GB VPS (4 cores) = Install Time: 1345.712748882 seconds
- DigitalOcean 16GB VPS (8 cores) = Install Time: 1029.784321412 seconds
- Linode 2GB VPS (2 cores) = Install Time: 1775.994987934 seconds
- Linode 4GB VPS (4 cores) = Install Time: 951.771001711 seconds
- Linode 8GB VPS (6 cores) = Install Time: 962.287260593 seconds
- Linode 16GB VPS (8 cores) = Install Time: 921.727023983 seconds
Note:
- Centmin Mod .07 beta installer includes a feature where by if your VPS or server has more than >2.8GB of memory installed, the initial install source directory at /svr-setup is mounted now as a tmpfs ramdisk which is auto unmounted at end of initial installation. If you have less than <2.8GB of memory installed then the usual method of on disk /svr-setup directory is used. Thus the 4GB, 8GB and 16GB VPS tests had their source files all mounted on a ram disk.
Linode 2GB VPS
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
ccache stats: cache directory /home/.ccache cache hit (direct) 761 cache hit (preprocessed) 303 cache miss 2585 called for link 151 called for preprocessing 217 compile failed 27 preprocessor error 26 bad compiler arguments 48 unsupported source language 57 autoconf compile/link 503 no input file 112 files in cache 5503 cache size 124.2 Mbytes max cache size 2.0 Gbytes Total Centmin Mod Install Time: 1775.994987934 seconds |
|
1 2 3 4 5 6 |
free -mt total used free shared buffers cached Mem: 1993 139 1853 0 0 19 -/+ buffers/cache: 119 1873 Swap: 255 0 255 Total: 2249 139 2109 |
|
1 2 3 4 5 |
df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/xvda ext3 47G 2.8G 44G 6% / tmpfs tmpfs 997M 0 997M 0% /dev/shm tmpfs tmpfs 997M 0 997M 0% /tmp |
|
1 2 3 4 5 6 7 |
top -b -n1 | head -n8 top - 01:38:42 up 34 min, 1 user, load average: 0.18, 1.21, 1.01 Tasks: 84 total, 1 running, 83 sleeping, 0 stopped, 0 zombie Cpu0 : 18.1%us, 10.0%sy, 0.0%ni, 71.4%id, 0.3%wa, 0.0%hi, 0.0%si, 0. Cpu1 : 16.8%us, 10.1%sy, 0.0%ni, 72.8%id, 0.2%wa, 0.0%hi, 0.0%si, 0. Mem: 2041164k total, 143684k used, 1897480k free, 664k buffers Swap: 262140k total, 128k used, 262012k free, 20076k cached |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 62 model name : Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz stepping : 4 microcode : 0x416 cpu MHz : 2800.046 cache size : 25600 KB physical id : 0 siblings : 2 core id : 9 cpu cores : 1 apicid : 18 initial apicid : 18 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu de tsc msr pae cx8 apic sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl nonstop_tsc pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt tsc_deadline_timer aes f16c rdrand hypervisor lahf_lm ida arat epb pln pts dtherm fsgsbase erms bogomips : 5602.42 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 62 model name : Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz stepping : 4 microcode : 0x416 cpu MHz : 2800.046 cache size : 25600 KB physical id : 0 siblings : 2 core id : 9 cpu cores : 1 apicid : 18 initial apicid : 18 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu de tsc msr pae cx8 apic sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl nonstop_tsc pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt tsc_deadline_timer aes f16c rdrand hypervisor lahf_lm ida arat epb pln pts dtherm fsgsbase erms bogomips : 5602.42 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: |
DigitalOcean 2GB VPS
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
ccache stats: cache directory /home/.ccache cache hit (direct) 761 cache hit (preprocessed) 303 cache miss 2585 called for link 151 called for preprocessing 217 compile failed 27 preprocessor error 26 bad compiler arguments 48 unsupported source language 57 autoconf compile/link 503 no input file 112 files in cache 5501 cache size 122.0 Mbytes max cache size 2.0 Gbytes Total Centmin Mod Install Time: 1361.410512372 seconds |
|
1 2 3 4 5 6 |
free -mt total used free shared buffers cached Mem: 2006 135 1871 0 3 20 -/+ buffers/cache: 112 1894 Swap: 0 0 0 Total: 2006 135 1871 |
|
1 2 3 4 5 |
df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/vda ext4 40G 3.3G 35G 9% / tmpfs tmpfs 1004M 0 1004M 0% /dev/shm tmpfs tmpfs 1004M 0 1004M 0% /tmp |
|
1 2 3 4 5 6 7 |
top -b -n1 | head -n8 top - 01:41:13 up 24 min, 1 user, load average: 0.50, 1.24, 0.96 Tasks: 90 total, 1 running, 89 sleeping, 0 stopped, 0 zombie Cpu0 : 37.0%us, 9.6%sy, 0.0%ni, 52.5%id, 0.5%wa, 0.0%hi, 0.0%si, 0. Cpu1 : 35.7%us, 9.4%sy, 0.0%ni, 53.3%id, 1.1%wa, 0.0%hi, 0.0%si, 0. Mem: 2054460k total, 138744k used, 1915716k free, 3160k buffers Swap: 0k total, 0k used, 0k free, 20488k cached |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 2 model name : QEMU Virtual CPU version 1.0 stepping : 3 cpu MHz : 2399.998 cache size : 4096 KB fpu : yes fpu_exception : yes cpuid level : 4 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good unfair_spinlock pni vmx cx16 popcnt hypervisor lahf_lm bogomips : 4799.99 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 2 model name : QEMU Virtual CPU version 1.0 stepping : 3 cpu MHz : 2399.998 cache size : 4096 KB fpu : yes fpu_exception : yes cpuid level : 4 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good unfair_spinlock pni vmx cx16 popcnt hypervisor lahf_lm bogomips : 4799.99 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: |
ServerBear Benchmarks
I also ran ServerBear benchmarks on both Linode 2GB and DigitalOcean 2GB VPS servers so you can check them out. UnixBench score is 2x times faster on DigitalOcean 2GB VPS compared to Linode 2GB VPS. However, Linode VPS definitely has much faster disk I/O.
Update:
Did 4GB vs 8GB vs 16GB tests too. I wouldn’t pay to much attention to UnixBench comparisons between DigitalOcean and Linode as some sub tests are influenced by the differing Linux Kernel versions used. From previous local tests I have done with CentOS, the 2.6.32 Kernels performed better in some UnixBench subtests than 3.xx Kernels which are used by Linode. Particularly, for Process Creation Index tests. On local test server I did compare UnixBench results with CentOS 6.5 and 3 different Linux Kernels and there are dramatic differences in Process Creation Index which can be seen on the same server tested by just changing the Linux Kernel!
|
1 2 3 4 |
Process Creation Index 2.6.32-431 = 3287.4 3.8.13-26.1 = 2417.4 3.13.4-1 = 1341.0 |
Linode used 3.13.7 Kernels while DigitalOcean used 2.6.32-431.1.2.0.1 Kernels. So I’d just pay attention to the Disk I/O and Network performance.
- DigitalOcean 2GB http://serverbear.com/benchmark/2014/04/17/h4VnHlFDrT8Om7G8
- DigitalOcean 4GB http://serverbear.com/benchmark/2014/04/17/pjwjiyesn06oEWjP
- DigitalOcean 8GB http://serverbear.com/benchmark/2014/04/17/nLx8oaRMgUKxRhY0
- DigitalOcean 16GB http://serverbear.com/benchmark/2014/04/17/isNrk2UW8LqXjYds
- Linode 2GB http://serverbear.com/benchmark/2014/04/17/OXjMLQY5spoLogxs
- Linode 4GB http://serverbear.com/benchmark/2014/04/17/QcVe5QVlrPIHNkYW
- Linode 8GB http://serverbear.com/benchmark/2014/04/17/jpCvQsq2oqJzCDKT
- Linode 16GB http://serverbear.com/benchmark/2014/04/17/WGAE29c6j7skawMo
Just a side by side compare of Linode 16GB (left) vs DigitalOcean 16GB (right) for UnixBench sub tests and overall index scores. Linode has lower Pipe Throughput, Pipe-based Context Switching, Process Creation, and Shell Scripts scores compared to DigitalOcean. Kernel related ?
Linode 2GB VPS
System Specs
| RAM | 1993 MB |
| HDD | 49 GB |
| CPU Model | Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz |
| CPU Cores | 2 |
| CPU Speed | 2800 MHz |
| CPU Cache | 25600 KB |
UnixBench
| UnixBench (w/ all processors) | 1040.7 |
| UnixBench (w/ one processor) | 568.4 |
IOPS
I/O Pings
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
ioping -c 10 request=1 time=0.1 ms request=2 time=0.2 ms request=3 time=0.3 ms request=4 time=0.3 ms request=5 time=0.2 ms request=6 time=0.1 ms request=7 time=0.2 ms request=8 time=0.1 ms request=9 time=0.1 ms request=10 time=0.3 ms 10 requests completed in 9003.3 ms, 5222 iops, 20.4 mb/s |
I/O Seek Test (No Cache)
|
1 2 3 |
ioping -RD 7653 iops, 29.9 mb/s min/avg/max/mdev = 0.1/0.1/5.2/0.2 ms |
I/O Reads – Sequential
|
1 2 3 |
ioping -RL 3028 iops, 757.1 mb/s min/avg/max/mdev = 0.2/0.3/25.3/0.5 ms |
I/O Reads – Cached
|
1 2 3 |
ioping -RC 48055 iops, 187.7 mb/s min/avg/max/mdev = 0.0/0.0/0.0/0.0 ms |
DD
|
1 2 |
dd if=/dev/zero of=sb-io-test bs=1M count=1k conv=fdatasync <strong>1.32728 s, 809 MB/s</strong> |
|
1 2 |
dd if=/dev/zero of=sb-io-test bs=64k count=16k conv=fdatasync <strong>1.44971 s, 741 MB/s</strong> |
|
1 2 |
dd if=/dev/zero of=sb-io-test bs=1M count=1k oflag=dsync <strong>2.11543 s, 508 MB/s</strong> |
|
1 2 |
dd if=/dev/zero of=sb-io-test bs=64k count=16k oflag=dsync <strong>11.7278 s, 91.6 MB/s</strong> |
FIO
| Read IOPS | 56964.0 |
| Read Bandwidth | 227.8 MB/second |
| Write IOPS | 23338.0 |
| Write Bandwidth | 93.3 MB/second |
DigitalOcean 2GB VPS
System Specs
| RAM | 2006 MB |
| HDD | 41 GB |
| CPU Model | QEMU Virtual CPU version 1.0 |
| CPU Cores | 2 |
| CPU Speed | 2399 MHz |
| CPU Cache | 4096 KB |
UnixBench
| UnixBench (w/ all processors) | 2033.8 |
| UnixBench (w/ one processor) | 1079.3 |
IOPS
I/O Pings
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
ioping -c 10 request=1 time=0.2 ms request=2 time=0.3 ms request=3 time=0.3 ms request=4 time=0.4 ms request=5 time=0.4 ms request=6 time=0.4 ms request=7 time=0.6 ms request=8 time=0.4 ms request=9 time=0.4 ms request=10 time=0.4 ms 10 requests completed in 9006.4 ms, 2603 iops, 10.2 mb/s |
I/O Seek Test (No Cache)
|
1 2 3 |
ioping -RD 5822 iops, 22.7 mb/s min/avg/max/mdev = 0.1/0.2/2.8/0.1 ms |
I/O Reads – Sequential
|
1 2 3 |
ioping -RL 2374 iops, 593.4 mb/s min/avg/max/mdev = 0.2/0.4/1.3/0.2 ms |
I/O Reads – Cached
|
1 2 3 |
ioping -RC 266023 iops, 1039.2 mb/s min/avg/max/mdev = 0.0/0.0/0.0/0.0 ms |
DD
|
1 2 |
dd if=/dev/zero of=sb-io-test bs=1M count=1k conv=fdatasync <strong>9.55823 s, 112 MB/s</strong> |
|
1 2 |
dd if=/dev/zero of=sb-io-test bs=64k count=16k conv=fdatasync <strong>7.30861 s, 147 MB/s</strong> |
|
1 2 |
dd if=/dev/zero of=sb-io-test bs=1M count=1k oflag=dsync <strong>14.3876 s, 74.6 MB/s</strong> |
|
1 2 |
dd if=/dev/zero of=sb-io-test bs=64k count=16k oflag=dsync <strong>51.59 s, 20.8 MB/s</strong> |
FIO
| Read IOPS | 28785.0 |
| Read Bandwidth | 115.1 MB/second |
| Write IOPS | 11512.0 |
| Write Bandwidth | 46.0 MB/second |
Linode Mobile App
Definitely liking the Linode mobile app – it’s the icing on the cake !




