さくらVPSベンチマーク

1Gコースと2Gコースでunixbenchを実行してみた結果。

 

環境

  • OS: FreeBSD 9.0
  • ベンチマークソフト: UnixBench 5.1.3

UnixBench 5.1.3インストール

  1. ソースをダウンロード

    cd /tmp
    fetch http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
  2. ファイル展開
    cd /usr/src
    tar xvfo /tmp/UnixBench5.1.3.tgz
  3. Makefileを開き、次の行を編集。

    #ifdef GRAPHIC_TESTS
    #GL_LIBS = -lGL -lXext -lX11
    
    #GRAPHIC_BINS = $(PROGDIR)/ubgears
    #else
    GRAPHIC_BINS =
    #endif
  4. コンパイル。

    make
  5. 実行。

    ./Run

1Gコース

   BYTE UNIX Benchmarks (Version 5.1.3)

   System: secondary.paix.jp: FreeBSD
   OS: FreeBSD -- 9.0-RELEASE -- FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
   Machine: i386 (GENERIC)
   Language: en_US.utf8 (charmap=, collate=)
   CPU: no details available
   7:38PM  up  3:51, 1 user, load averages: 0.00, 0.00, 0.00; runlevel

------------------------------------------------------------------------
Benchmark Run: Tue May 08 2012 19:38:47 - 20:06:21
unknown CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        9624264.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2000.3 MWIPS (7.6 s, 7 samples)
Execl Throughput                               2095.4 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        144371.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           59017.7 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        160036.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                              942798.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 213937.5 lps   (10.0 s, 7 samples)
Process Creation                               6043.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4302.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1095.3 lpm   (60.0 s, 2 samples)
System Call Overhead                         552751.2 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    9624264.4    824.7
Double-Precision Whetstone                       55.0       2000.3    363.7
Execl Throughput                                 43.0       2095.4    487.3
File Copy 1024 bufsize 2000 maxblocks          3960.0     144371.5    364.6
File Copy 256 bufsize 500 maxblocks            1655.0      59017.7    356.6
File Copy 4096 bufsize 8000 maxblocks          5800.0     160036.4    275.9
Pipe Throughput                               12440.0     942798.7    757.9
Pipe-based Context Switching                   4000.0     213937.5    534.8
Process Creation                                126.0       6043.1    479.6
Shell Scripts (1 concurrent)                     42.4       4302.6   1014.8
Shell Scripts (8 concurrent)                      6.0       1095.3   1825.4
System Call Overhead                          15000.0     552751.2    368.5
                                                                   ========
System Benchmarks Index Score                                         545.6

2Gコース

   BYTE UNIX Benchmarks (Version 5.1.3)

   System: primary.paix.jp: FreeBSD
   OS: FreeBSD -- 9.0-RELEASE -- FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
   Machine: i386 (GENERIC)
   Language: en_US.utf8 (charmap=, collate=)
   CPU: no details available
   6:40PM  up 4 days,  9:14, 3 users, load averages: 0.12, 0.04, 0.01; runlevel

------------------------------------------------------------------------
Benchmark Run: Tue May 08 2012 18:40:59 - 19:08:40
unknown CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        9759060.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     1993.0 MWIPS (7.7 s, 7 samples)
Execl Throughput                               2140.0 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        164487.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           62976.4 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        159742.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                              944167.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 220236.8 lps   (10.0 s, 7 samples)
Process Creation                               5318.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3932.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1407.4 lpm   (60.0 s, 2 samples)
System Call Overhead                         544656.1 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    9759060.8    836.3
Double-Precision Whetstone                       55.0       1993.0    362.4
Execl Throughput                                 43.0       2140.0    497.7
File Copy 1024 bufsize 2000 maxblocks          3960.0     164487.3    415.4
File Copy 256 bufsize 500 maxblocks            1655.0      62976.4    380.5
File Copy 4096 bufsize 8000 maxblocks          5800.0     159742.4    275.4
Pipe Throughput                               12440.0     944167.4    759.0
Pipe-based Context Switching                   4000.0     220236.8    550.6
Process Creation                                126.0       5318.9    422.1
Shell Scripts (1 concurrent)                     42.4       3932.8    927.5
Shell Scripts (8 concurrent)                      6.0       1407.4   2345.7
System Call Overhead                          15000.0     544656.1    363.1
                                                                   ========
System Benchmarks Index Score                                         558.2

 どちらもほとんど変わらない。
同居するインスタンスの稼働率次第なところもありそうだけど、ほぼメモリとHD容量の差ということになるのかもしれない。

自宅PC(参考)

   BYTE UNIX Benchmarks (Version 5.1.3)

   System: newsvr.dek.dip.jp: FreeBSD
   OS: FreeBSD -- 6.2-RELEASE -- FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
   Machine: i386 (SMP-GENERIC)
   Language: en_US.utf8 (charmap=, collate=)
   CPU: no details available
   2:02PM  up 2 days, 17:28, 1 user, load averages: 0.02, 0.11, 0.09; runlevel

------------------------------------------------------------------------
Benchmark Run: Wed May 09 2012 14:02:37 - 14:31:01
unknown CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        4779949.5 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                      890.0 MWIPS (10.6 s, 7 samples)
Execl Throughput                               1144.4 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        119617.4 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           32090.0 KBps  (30.2 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks         54876.5 KBps  (30.8 s, 2 samples)
Pipe Throughput                              463706.6 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  63870.2 lps   (10.0 s, 7 samples)
Process Creation                               4301.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   2695.7 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    360.2 lpm   (60.1 s, 2 samples)
System Call Overhead                         356498.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    4779949.5    409.6
Double-Precision Whetstone                       55.0        890.0    161.8
Execl Throughput                                 43.0       1144.4    266.1
File Copy 1024 bufsize 2000 maxblocks          3960.0     119617.4    302.1
File Copy 256 bufsize 500 maxblocks            1655.0      32090.0    193.9
File Copy 4096 bufsize 8000 maxblocks          5800.0      54876.5     94.6
Pipe Throughput                               12440.0     463706.6    372.8
Pipe-based Context Switching                   4000.0      63870.2    159.7
Process Creation                                126.0       4301.8    341.4
Shell Scripts (1 concurrent)                     42.4       2695.7    635.8
Shell Scripts (8 concurrent)                      6.0        360.2    600.3
System Call Overhead                          15000.0     356498.7    237.7
                                                                   ========
System Benchmarks Index Score                                         274.1

 年代もののPCだけあって、さすがに遅かった。

タイトルとURLをコピーしました