AbyssLukeのガイドライン(Maybe archived)

はてダから移転。多分更新しないかもしれない。

DTIのVPSとさくらのVPSでunixbenchしてみた

6月1日利用開始で無料期間中なServersMan@VPS(Standardプラン)と会員向け無料ベータ版中のさくらのVPS(募集停止中)でunixbenchをしてみた。

なんか「さくらのVPSをしらべてみた」とかの記事に触発されて。
SystemのHostnameで伏せている所がありますが、ServersMan@VPS側は独自ドメインを設定しています(別に晒しても問題ないけど)
続きを読むからどうぞ。

前置き

  • 2つ共OSはCentOS 5.5*1です。
  • SSH上からほぼ同時に計測を開始しています。

ServersMan@VPS (Standard)

メモ:OpenVZなVPS。swapはない。IPv4アドレスに加えIPv6アドレスが付与されている。

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: ***.**: GNU/Linux
   OS: GNU/Linux -- 2.6.18-194.3.1.el5.028stab069.5 -- #1 SMP Tue May 18 17:48:31 MSD 2010
   Machine: i686 (i386)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU L5520 @ 2.27GHz (4522.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Xeon(R) CPU L5520 @ 2.27GHz (4522.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   17:43:58 up 12 days, 59 min,  1 user,  load average: 0.23, 0.21, 0.09; runlevel 3

                                                                                                                                              • -
Benchmark Run: é 7æ 16 2010 17:43:58 - 18:14:48 2 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 5383906.4 lps (10.0 s, 7 samples) Double-Precision Whetstone 1373.1 MWIPS (11.3 s, 7 samples) Execl Throughput 1903.7 lps (29.6 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 249838.6 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 67908.6 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 547439.9 KBps (30.1 s, 2 samples) Pipe Throughput 474965.7 lps (10.0 s, 7 samples) Pipe-based Context Switching 19365.2 lps (10.0 s, 7 samples) Process Creation 5955.4 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 1940.4 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 273.0 lpm (60.1 s, 2 samples) System Call Overhead 435070.6 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 5383906.4 461.3 Double-Precision Whetstone 55.0 1373.1 249.7 Execl Throughput 43.0 1903.7 442.7 File Copy 1024 bufsize 2000 maxblocks 3960.0 249838.6 630.9 File Copy 256 bufsize 500 maxblocks 1655.0 67908.6 410.3 File Copy 4096 bufsize 8000 maxblocks 5800.0 547439.9 943.9 Pipe Throughput 12440.0 474965.7 381.8 Pipe-based Context Switching 4000.0 19365.2 48.4 Process Creation 126.0 5955.4 472.7 Shell Scripts (1 concurrent) 42.4 1940.4 457.6 Shell Scripts (8 concurrent) 6.0 273.0 455.0 System Call Overhead 15000.0 435070.6 290.0 ======== System Benchmarks Index Score 370.0
                                                                                                                                              • -
Benchmark Run: é 7æ 16 2010 18:14:48 - 18:53:34 2 CPUs in system; running 2 parallel copies of tests Dhrystone 2 using register variables 4479067.2 lps (10.0 s, 7 samples) Double-Precision Whetstone 2711.9 MWIPS (10.1 s, 7 samples) Execl Throughput 1915.9 lps (29.7 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 212137.1 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 67161.8 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 957631.7 KBps (30.0 s, 2 samples) Pipe Throughput 461208.2 lps (10.0 s, 7 samples) Pipe-based Context Switching 138142.6 lps (10.0 s, 7 samples) Process Creation 6051.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 1932.6 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 268.1 lpm (60.2 s, 2 samples) System Call Overhead 408032.5 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 4479067.2 383.8 Double-Precision Whetstone 55.0 2711.9 493.1 Execl Throughput 43.0 1915.9 445.6 File Copy 1024 bufsize 2000 maxblocks 3960.0 212137.1 535.7 File Copy 256 bufsize 500 maxblocks 1655.0 67161.8 405.8 File Copy 4096 bufsize 8000 maxblocks 5800.0 957631.7 1651.1 Pipe Throughput 12440.0 461208.2 370.7 Pipe-based Context Switching 4000.0 138142.6 345.4 Process Creation 126.0 6051.2 480.3 Shell Scripts (1 concurrent) 42.4 1932.6 455.8 Shell Scripts (8 concurrent) 6.0 268.1 446.9 System Call Overhead 15000.0 408032.5 272.0 ======== System Benchmarks Index Score 465.4

さくらのVPS(無料クローズドベータ(980))

メモ:KVMなVPS。x86_64。swapは2000M。Webからシリアルコンソールが利用可能*2。どこかでみたがホスト側CPUは4コアらしい(Core(TM)2 Duoとでてるけど)

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: www****u.sakura.ne.jp: GNU/Linux
   OS: GNU/Linux -- 2.6.18-194.8.1.el5 -- #1 SMP Thu Jul 1 19:04:48 EDT 2010
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (5319.8 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (5340.6 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   17:43:58 up 21:45,  1 user,  load average: 0.29, 0.16, 0.06; runlevel 3

                                                                                                                                              • -
Benchmark Run: é 7æ 16 2010 17:43:58 - 18:11:52 2 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 13066539.9 lps (10.0 s, 7 samples) Double-Precision Whetstone 2880.2 MWIPS (8.9 s, 7 samples) Execl Throughput 2148.8 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 614755.2 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 199825.8 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1067088.9 KBps (30.0 s, 2 samples) Pipe Throughput 1872819.1 lps (10.0 s, 7 samples) Pipe-based Context Switching 276289.5 lps (10.0 s, 7 samples) Process Creation 7479.0 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 5006.0 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1146.5 lpm (60.0 s, 2 samples) System Call Overhead 3242264.8 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 13066539.9 1119.7 Double-Precision Whetstone 55.0 2880.2 523.7 Execl Throughput 43.0 2148.8 499.7 File Copy 1024 bufsize 2000 maxblocks 3960.0 614755.2 1552.4 File Copy 256 bufsize 500 maxblocks 1655.0 199825.8 1207.4 File Copy 4096 bufsize 8000 maxblocks 5800.0 1067088.9 1839.8 Pipe Throughput 12440.0 1872819.1 1505.5 Pipe-based Context Switching 4000.0 276289.5 690.7 Process Creation 126.0 7479.0 593.6 Shell Scripts (1 concurrent) 42.4 5006.0 1180.7 Shell Scripts (8 concurrent) 6.0 1146.5 1910.8 System Call Overhead 15000.0 3242264.8 2161.5 ======== System Benchmarks Index Score 1097.1
                                                                                                                                              • -
Benchmark Run: é 7æ 16 2010 18:11:52 - 18:39:53 2 CPUs in system; running 2 parallel copies of tests Dhrystone 2 using register variables 25241062.9 lps (10.0 s, 7 samples) Double-Precision Whetstone 5687.8 MWIPS (8.6 s, 7 samples) Execl Throughput 6413.3 lps (29.6 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 256371.4 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 71115.2 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 645165.1 KBps (30.0 s, 2 samples) Pipe Throughput 3360822.6 lps (10.0 s, 7 samples) Pipe-based Context Switching 671611.6 lps (10.0 s, 7 samples) Process Creation 17504.6 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 7927.0 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1369.6 lpm (60.1 s, 2 samples) System Call Overhead 5240569.0 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 25241062.9 2162.9 Double-Precision Whetstone 55.0 5687.8 1034.2 Execl Throughput 43.0 6413.3 1491.5 File Copy 1024 bufsize 2000 maxblocks 3960.0 256371.4 647.4 File Copy 256 bufsize 500 maxblocks 1655.0 71115.2 429.7 File Copy 4096 bufsize 8000 maxblocks 5800.0 645165.1 1112.4 Pipe Throughput 12440.0 3360822.6 2701.6 Pipe-based Context Switching 4000.0 671611.6 1679.0 Process Creation 126.0 17504.6 1389.3 Shell Scripts (1 concurrent) 42.4 7927.0 1869.6 Shell Scripts (8 concurrent) 6.0 1369.6 2282.6 System Call Overhead 15000.0 5240569.0 3493.7 ======== System Benchmarks Index Score 1464.1

*1:ちなみにServersMan@VPSのデフォOSはCentOS 5.4

*2:iptablesを誤って設定してしまったときはシリアルコンソールからリセットすればいいかも。ServersMan@VPSもWebからiptablesリセットできるけど