vultr开的是2.5 USD的,do开的是5usd的,看性能:
vultr的:
======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: vultr.guest: GNU/Linux OS: GNU/Linux -- 3.16.0-5-amd64 -- #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) Machine: x86_64 (unknown) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Virtual CPU a7769a6388d5 (4800.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 06:06:42 up 10 min, 1 user, load average: 0.07, 0.04, 0.00; runlevel 5 ------------------------------------------------------------------------ Benchmark Run: Sun Mar 11 2018 06:06:42 - 06:34:46 1 CPU in system; running 1 parallel copy of tests Dhrystone 2 using register variables 28578764.4 lps (10.0 s, 7 samples) Double-Precision Whetstone 4475.2 MWIPS (9.8 s, 7 samples) Execl Throughput 4562.8 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 610064.8 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 188084.3 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1442821.8 KBps (30.0 s, 2 samples) Pipe Throughput 1148112.5 lps (10.0 s, 7 samples) Pipe-based Context Switching 181614.1 lps (10.0 s, 7 samples) Process Creation 10661.7 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 7318.1 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 917.2 lpm (60.1 s, 2 samples) System Call Overhead 1041017.3 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 28578764.4 2448.9 Double-Precision Whetstone 55.0 4475.2 813.7 Execl Throughput 43.0 4562.8 1061.1 File Copy 1024 bufsize 2000 maxblocks 3960.0 610064.8 1540.6 File Copy 256 bufsize 500 maxblocks 1655.0 188084.3 1136.5 File Copy 4096 bufsize 8000 maxblocks 5800.0 1442821.8 2487.6 Pipe Throughput 12440.0 1148112.5 922.9 Pipe-based Context Switching 4000.0 181614.1 454.0 Process Creation 126.0 10661.7 846.2 Shell Scripts (1 concurrent) 42.4 7318.1 1726.0 Shell Scripts (8 concurrent) 6.0 917.2 1528.6 System Call Overhead 15000.0 1041017.3 694.0 ======== System Benchmarks Index Score 1160.7
do的:
======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: eu-vip-01: GNU/Linux OS: GNU/Linux -- 3.16.0-5-amd64 -- #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) Machine: x86_64 (unknown) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz (4400.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 06:07:25 up 6 days, 13:05, 1 user, load average: 0.48, 0.63, 0.42; runlevel 5 ------------------------------------------------------------------------ Benchmark Run: Sun Mar 11 2018 06:07:25 - 06:35:29 1 CPU in system; running 1 parallel copy of tests Dhrystone 2 using register variables 24799592.7 lps (10.0 s, 7 samples) Double-Precision Whetstone 4114.9 MWIPS (9.6 s, 7 samples) Execl Throughput 3665.1 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 422579.8 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 136390.1 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 933043.9 KBps (30.0 s, 2 samples) Pipe Throughput 931056.4 lps (10.0 s, 7 samples) Pipe-based Context Switching 148095.7 lps (10.0 s, 7 samples) Process Creation 8991.0 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 5063.0 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 640.1 lpm (60.0 s, 2 samples) System Call Overhead 926397.2 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 24799592.7 2125.1 Double-Precision Whetstone 55.0 4114.9 748.2 Execl Throughput 43.0 3665.1 852.3 File Copy 1024 bufsize 2000 maxblocks 3960.0 422579.8 1067.1 File Copy 256 bufsize 500 maxblocks 1655.0 136390.1 824.1 File Copy 4096 bufsize 8000 maxblocks 5800.0 933043.9 1608.7 Pipe Throughput 12440.0 931056.4 748.4 Pipe-based Context Switching 4000.0 148095.7 370.2 Process Creation 126.0 8991.0 713.6 Shell Scripts (1 concurrent) 42.4 5063.0 1194.1 Shell Scripts (8 concurrent) 6.0 640.1 1066.8 System Call Overhead 15000.0 926397.2 617.6 ======== System Benchmarks Index Score 904.1
可以很容易的看出,单就cpu性能而言,vultr的性能比do高出28%多。
受益匪浅,感触良多!