契約できたので、とりあえずUnixBenchを実行してみました。旧VPS(512)との簡単な比較など。とりあえず新2G(さくらの契約情報をみるとv3と書いていたので、以下v3って呼びます)
# # # # # # # ##### ###### # # #### # # # # ## # # # # # # # ## # # # # # # # # # # # ## ##### ##### # # # # ###### # # # # # # ## # # # # # # # # # # # # ## # # # # # # # ## # # # # #### # # # # # ##### ###### # # #### # # Version 5.1.2 Based on the Byte Magazine Unix Benchmark Multi-CPU version Version 5 revisions by Ian Smith, Sunnyvale, CA, USA December 22, 2007 johantheghost at yahoo period com 1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 1 x Execl Throughput 1 2 3 1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 1 x File Copy 256 bufsize 500 maxblocks 1 2 3 1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 1 x Process Creation 1 2 3 1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 1 x Shell Scripts (1 concurrent) 1 2 3 1 x Shell Scripts (8 concurrent) 1 2 3 3 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 3 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 3 x Execl Throughput 1 2 3 3 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 3 x File Copy 256 bufsize 500 maxblocks 1 2 3 3 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 3 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 3 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 3 x Process Creation 1 2 3 3 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 3 x Shell Scripts (1 concurrent) 1 2 3 3 x Shell Scripts (8 concurrent) 1 2 3 ======================================================================== BYTE UNIX Benchmarks (Version 5.1.2) System: ---- : GNU/Linux OS: GNU/Linux -- 2.6.32-220.7.1.el6.x86_64 -- #1 SMP Wed Mar 7 00:52:02 GMT 2012 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Xeon(R) CPU E5645 (4800.2 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET CPU 1: Intel(R) Xeon(R) CPU E5645 (4800.2 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET CPU 2: Intel(R) Xeon(R) CPU E5645 (4800.2 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET 08:38:33 up 38 min, 1 user, load average: 0.07, 0.03, 0.00; runlevel 3 ------------------------------------------------------------------------ Benchmark Run: Sat Apr 07 2012 08:38:33 - 09:05:56 3 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 21836277.8 lps (10.0 s, 7 samples) Double-Precision Whetstone 2847.7 MWIPS (7.1 s, 7 samples) Execl Throughput 1767.1 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 721410.2 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 202597.0 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1560504.3 KBps (30.0 s, 2 samples) Pipe Throughput 1423703.7 lps (10.0 s, 7 samples) Pipe-based Context Switching 215662.5 lps (10.0 s, 7 samples) Process Creation 4615.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 3243.8 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1436.5 lpm (60.0 s, 2 samples) System Call Overhead 1639273.1 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 21836277.8 1871.1 Double-Precision Whetstone 55.0 2847.7 517.8 Execl Throughput 43.0 1767.1 411.0 File Copy 1024 bufsize 2000 maxblocks 3960.0 721410.2 1821.7 File Copy 256 bufsize 500 maxblocks 1655.0 202597.0 1224.2 File Copy 4096 bufsize 8000 maxblocks 5800.0 1560504.3 2690.5 Pipe Throughput 12440.0 1423703.7 1144.5 Pipe-based Context Switching 4000.0 215662.5 539.2 Process Creation 126.0 4615.2 366.3 Shell Scripts (1 concurrent) 42.4 3243.8 765.1 Shell Scripts (8 concurrent) 6.0 1436.5 2394.1 System Call Overhead 15000.0 1639273.1 1092.8 ======== System Benchmarks Index Score 1006.5 ------------------------------------------------------------------------ Benchmark Run: Sat Apr 07 2012 09:05:56 - 09:33:23 3 CPUs in system; running 3 parallel copies of tests Dhrystone 2 using register variables 64226145.1 lps (10.0 s, 7 samples) Double-Precision Whetstone 8485.4 MWIPS (7.5 s, 7 samples) Execl Throughput 10182.6 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 854675.7 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 232433.9 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2296499.2 KBps (30.0 s, 2 samples) Pipe Throughput 4183405.9 lps (10.0 s, 7 samples) Pipe-based Context Switching 718135.9 lps (10.0 s, 7 samples) Process Creation 31626.6 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 12303.9 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1673.9 lpm (60.0 s, 2 samples) System Call Overhead 4241051.8 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 64226145.1 5503.5 Double-Precision Whetstone 55.0 8485.4 1542.8 Execl Throughput 43.0 10182.6 2368.1 File Copy 1024 bufsize 2000 maxblocks 3960.0 854675.7 2158.3 File Copy 256 bufsize 500 maxblocks 1655.0 232433.9 1404.4 File Copy 4096 bufsize 8000 maxblocks 5800.0 2296499.2 3959.5 Pipe Throughput 12440.0 4183405.9 3362.9 Pipe-based Context Switching 4000.0 718135.9 1795.3 Process Creation 126.0 31626.6 2510.0 Shell Scripts (1 concurrent) 42.4 12303.9 2901.9 Shell Scripts (8 concurrent) 6.0 1673.9 2789.8 System Call Overhead 15000.0 4241051.8 2827.4 ======== System Benchmarks Index Score 2571.8
旧512のUnixBench結果はこちらunixbench-sakuravps512
結果を表にするとこんな感じ。
[table id=21 /]
1CPUの時は少し速く、マルチCPUのときはかなり速くなってます。旧512が仮想2コア、新2Gが仮想3コアなので純粋な比較というわけではないですが。/proc/cpuinfoを見ると、CPUはIntel® Xeon® Processor E5645 (12M Cache, 2.40 GHz, 5.86 GT/s Intel® QPI)。intel-Xeon-E5645。前のcore2からサーバ用CPUになっている。atomの3倍早い。
まだ旧512からwordpressを移行していないですが、移行すると少し速くなりそうで良い感じです