end0tknr's kipple - 新web写経開発

http://d.hatena.ne.jp/end0tknr/ から移転しました

amazon aws ec2 (c3.large)をUnixBenchでベンチマーク計測

http://aws.amazon.com/jp/ec2/pricing/
awsのスペック?や料金は↑こちらに掲載されていますが、vCPUやECUと言われてもよく分からないので、測ってみた。

[UnixBench]# ./Run                                                                                  
make all
make[1]: Entering directory `/tmp/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[1]: Leaving directory `/tmp/UnixBench'
sh: 3dinfo: command not found

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

   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

2 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10
2 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10
2 x Execl Throughput  1 2 3
2 x File Copy 1024 bufsize 2000 maxblocks  1 2 3
2 x File Copy 256 bufsize 500 maxblocks  1 2 3
2 x File Copy 4096 bufsize 8000 maxblocks  1 2 3
2 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10
2 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10
2 x Process Creation  1 2 3
2 x System Call Overhead  1 2 3 4 5 6 7 8 9 10
2 x Shell Scripts (1 concurrent)  1 2 3
2 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: ip-172-31-10-106: GNU/Linux
   OS: GNU/Linux -- 3.10.42-52.145.amzn1.x86_64 -- #1 SMP Tue Jun 10 23:46:43 UTC 2014
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz (5586.7 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz (5586.7 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   17:05:13 up 20:02,  3 users,  load average: 0.00, 0.01, 0.97; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Tue Jul 15 2014 17:05:13 - 17:33:16
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       35804336.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4404.9 MWIPS (9.9 s, 7 samples)
Execl Throughput                               4141.3 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        920697.6 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          262389.4 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2172111.2 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1832003.9 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  36402.0 lps   (10.0 s, 7 samples)
Process Creation                              10796.7 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   7122.7 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1149.1 lpm   (60.0 s, 2 samples)
System Call Overhead                        2552591.1 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   35804336.0   3068.1
Double-Precision Whetstone                       55.0       4404.9    800.9
Execl Throughput                                 43.0       4141.3    963.1
File Copy 1024 bufsize 2000 maxblocks          3960.0     920697.6   2325.0
File Copy 256 bufsize 500 maxblocks            1655.0     262389.4   1585.4
File Copy 4096 bufsize 8000 maxblocks          5800.0    2172111.2   3745.0
Pipe Throughput                               12440.0    1832003.9   1472.7
Pipe-based Context Switching                   4000.0      36402.0     91.0
Process Creation                                126.0      10796.7    856.9
Shell Scripts (1 concurrent)                     42.4       7122.7   1679.9
Shell Scripts (8 concurrent)                      6.0       1149.1   1915.1
System Call Overhead                          15000.0    2552591.1   1701.7
                                                                   ========
System Benchmarks Index Score                                        1286.4

------------------------------------------------------------------------
Benchmark Run: Tue Jul 15 2014 17:33:16 - 18:01:22
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       39608165.7 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     7327.8 MWIPS (9.9 s, 7 samples)
Execl Throughput                               6142.8 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        905103.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          262204.4 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2613738.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2099227.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 391470.5 lps   (10.0 s, 7 samples)
Process Creation                              19039.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   8398.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1174.6 lpm   (60.0 s, 2 samples)
System Call Overhead                        3127161.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   39608165.7   3394.0
Double-Precision Whetstone                       55.0       7327.8   1332.3
Execl Throughput                                 43.0       6142.8   1428.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     905103.1   2285.6
File Copy 256 bufsize 500 maxblocks            1655.0     262204.4   1584.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    2613738.3   4506.4
Pipe Throughput                               12440.0    2099227.4   1687.5
Pipe-based Context Switching                   4000.0     391470.5    978.7
Process Creation                                126.0      19039.8   1511.1
Shell Scripts (1 concurrent)                     42.4       8398.6   1980.8
Shell Scripts (8 concurrent)                      6.0       1174.6   1957.7
System Call Overhead                          15000.0    3127161.8   2084.8
                                                                   ========
System Benchmarks Index Score                                        1893.7