c0d3man52

Webサイト制作

[Unixbench] さくらVPS 3コア・2GB(東京リージョン)

さくらVPS 3コア・2GBでUnixbenchを取ってみました。リージョンは東京です。

更新日: 2018.7.17公開日: 2017.9.6

※数値は2017年9月6日現在のものです。

テスト環境

項目スペック
CPUIntel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz * 3コア
メモリ2GB
ストレージSSD 50GB
OSUbuntu 16.04
月額料金1,706円

OSインストール直後のプレーンな状態で、他のタスクは何も動いていない前提です。

Unixbenchのインストール&実行

 $ sudo apt-get install make gcc git
 $ git clone https://github.com/kdlucas/byte-unixbench
 $ cd byte-unixbench/UnixBench
 $ ./Run

結果

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   January 13, 2011                   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.3)

   System: tk2-252-35518: GNU/Linux
   OS: GNU/Linux -- 4.4.0-62-generic -- #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017
   Machine: x86\_64 (x86\_64)
   Language: en\_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5200.0 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5200.0 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 2: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5200.0 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   13:39:27 up 12 min,  1 user,  load average: 0.52, 0.29, 0.11; runlevel 2017-09-06

------------------------------------------------------------------------
Benchmark Run: Wed Sep 06 2017 13:39:27 - 14:07:33
3 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       34857390.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3635.4 MWIPS (9.9 s, 7 samples)
Execl Throughput                               3778.6 lps   (29.5 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1129284.4 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          308365.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2479337.1 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2248315.6 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  54165.4 lps   (10.0 s, 7 samples)
Process Creation                               9303.4 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  10721.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   2865.4 lpm   (60.0 s, 2 samples)
System Call Overhead                        3650430.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   34857390.3   2986.9
Double-Precision Whetstone                       55.0       3635.4    661.0
Execl Throughput                                 43.0       3778.6    878.8
File Copy 1024 bufsize 2000 maxblocks          3960.0    1129284.4   2851.7
File Copy 256 bufsize 500 maxblocks            1655.0     308365.8   1863.2
File Copy 4096 bufsize 8000 maxblocks          5800.0    2479337.1   4274.7
Pipe Throughput                               12440.0    2248315.6   1807.3
Pipe-based Context Switching                   4000.0      54165.4    135.4
Process Creation                                126.0       9303.4    738.4
Shell Scripts (1 concurrent)                     42.4      10721.2   2528.6
Shell Scripts (8 concurrent)                      6.0       2865.4   4775.7
System Call Overhead                          15000.0    3650430.0   2433.6
                                                                   ========
System Benchmarks Index Score                                        1561.0

------------------------------------------------------------------------
Benchmark Run: Wed Sep 06 2017 14:07:33 - 14:35:41
3 CPUs in system; running 3 parallel copies of tests

Dhrystone 2 using register variables      103515310.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    10893.8 MWIPS (9.8 s, 7 samples)
Execl Throughput                              13700.4 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1123373.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          302283.6 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       3278364.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                             6741523.0 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 494457.4 lps   (10.0 s, 7 samples)
Process Creation                              35625.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  26455.7 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   3362.1 lpm   (60.0 s, 2 samples)
System Call Overhead                        6832240.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  103515310.0   8870.2
Double-Precision Whetstone                       55.0      10893.8   1980.7
Execl Throughput                                 43.0      13700.4   3186.1
File Copy 1024 bufsize 2000 maxblocks          3960.0    1123373.5   2836.8
File Copy 256 bufsize 500 maxblocks            1655.0     302283.6   1826.5
File Copy 4096 bufsize 8000 maxblocks          5800.0    3278364.9   5652.4
Pipe Throughput                               12440.0    6741523.0   5419.2
Pipe-based Context Switching                   4000.0     494457.4   1236.1
Process Creation                                126.0      35625.8   2827.4
Shell Scripts (1 concurrent)                     42.4      26455.7   6239.5
Shell Scripts (8 concurrent)                      6.0       3362.1   5603.6
System Call Overhead                          15000.0    6832240.7   4554.8
                                                                   ========
System Benchmarks Index Score                                        3612.8

同価格帯のクラウドサーバー・Google Compute Engine f1-smallが1029.8だったので、シングルコアでもGoogle Compute Engine f1-smallに勝ってます。劇的にコスパがいいですね。

これくらいのスペックになると、CDNなどを上手に使えば、通常のサイトなら100万PVとかでも余裕で捌けそうです。