コスパ最強という噂の Vultr で、4コアCPU・メモリ8GBのインスタンスをテストしてみる。
まずはcpuinfo
root@vultr:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Virtual CPU e7da7129d3ee
stepping : 1
microcode : 0x1
cpu MHz : 2399.996
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx rdrand hypervisor lahf_lm fsgsbase bmi1 avx2 smep bmi2 erms invpcid
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 : 60
model name : Virtual CPU e7da7129d3ee
stepping : 1
microcode : 0x1
cpu MHz : 2399.996
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx rdrand hypervisor lahf_lm fsgsbase bmi1 avx2 smep bmi2 erms invpcid
bogomips : 4799.99
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Virtual CPU e7da7129d3ee
stepping : 1
microcode : 0x1
cpu MHz : 2399.996
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx rdrand hypervisor lahf_lm fsgsbase bmi1 avx2 smep bmi2 erms invpcid
bogomips : 4799.99
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Virtual CPU e7da7129d3ee
stepping : 1
microcode : 0x1
cpu MHz : 2399.996
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx rdrand hypervisor lahf_lm fsgsbase bmi1 avx2 smep bmi2 erms invpcid
bogomips : 4799.99
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
次いでfree
root@vultr:~# free -m
total used free shared buffers cached
Mem: 7985 1240 6744 0 83 971
-/+ buffers/cache: 185 7799
Swap: 0 0 0
そしてdf
root@vultr:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 148G 1.5G 139G 2% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 799M 352K 799M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 0 3.9G 0% /run/shm
none 100M 0 100M 0% /run/user
そしてunixbenchの結果
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: vultr.guest: GNU/Linux
OS: GNU/Linux -- 3.13.0-53-generic -- #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Virtual CPU e7da7129d3ee (4800.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 1: Virtual CPU e7da7129d3ee (4800.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 2: Virtual CPU e7da7129d3ee (4800.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 3: Virtual CPU e7da7129d3ee (4800.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
03:15:14 up 31 min, 1 user, load average: 0.00, 0.02, 0.05; runlevel 2
------------------------------------------------------------------------
Benchmark Run: Tue Sep 15 2015 03:15:14 - 03:43:24
4 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 25731799.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3502.1 MWIPS (9.9 s, 7 samples)
Execl Throughput 2353.1 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 759678.3 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 225131.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1655029.0 KBps (30.0 s, 2 samples)
Pipe Throughput 1851894.9 lps (10.0 s, 7 samples)
Pipe-based Context Switching 32689.8 lps (10.0 s, 7 samples)
Process Creation 3951.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 5649.5 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1604.7 lpm (60.0 s, 2 samples)
System Call Overhead 3202204.9 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 25731799.0 2205.0
Double-Precision Whetstone 55.0 3502.1 636.7
Execl Throughput 43.0 2353.1 547.2
File Copy 1024 bufsize 2000 maxblocks 3960.0 759678.3 1918.4
File Copy 256 bufsize 500 maxblocks 1655.0 225131.0 1360.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 1655029.0 2853.5
Pipe Throughput 12440.0 1851894.9 1488.7
Pipe-based Context Switching 4000.0 32689.8 81.7
Process Creation 126.0 3951.8 313.6
Shell Scripts (1 concurrent) 42.4 5649.5 1332.4
Shell Scripts (8 concurrent) 6.0 1604.7 2674.5
System Call Overhead 15000.0 3202204.9 2134.8
========
System Benchmarks Index Score 1043.2
------------------------------------------------------------------------
Benchmark Run: Tue Sep 15 2015 03:43:24 - 04:11:42
4 CPUs in system; running 4 parallel copies of tests
Dhrystone 2 using register variables 78896835.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 12718.6 MWIPS (9.8 s, 7 samples)
Execl Throughput 7081.7 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 746725.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 210036.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2115572.3 KBps (30.0 s, 2 samples)
Pipe Throughput 5248363.7 lps (10.0 s, 7 samples)
Pipe-based Context Switching 771622.1 lps (10.0 s, 7 samples)
Process Creation 12140.1 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 10726.3 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2320.9 lpm (60.0 s, 2 samples)
System Call Overhead 6647653.0 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 78896835.5 6760.7
Double-Precision Whetstone 55.0 12718.6 2312.5
Execl Throughput 43.0 7081.7 1646.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 746725.9 1885.7
File Copy 256 bufsize 500 maxblocks 1655.0 210036.0 1269.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 2115572.3 3647.5
Pipe Throughput 12440.0 5248363.7 4218.9
Pipe-based Context Switching 4000.0 771622.1 1929.1
Process Creation 126.0 12140.1 963.5
Shell Scripts (1 concurrent) 42.4 10726.3 2529.8
Shell Scripts (8 concurrent) 6.0 2320.9 3868.2
System Call Overhead 15000.0 6647653.0 4431.8
========
System Benchmarks Index Score 2552.3
思ったほど出てない…東京だからか、ハズレか。