AWSのArm版UbuntuのUnixBenchマーク

2020年12月末まで無料で使えるとのことでUbuntuの64bitArm版を試してみました。


t4g.micro 2CPU 1GBメモリ


UnixBenchマーク

~~~~
sudo apt update ;
sudo apt upgrade -y ;
git clone https://github.com/kdlucas/byte-unixbench.git ;
cd byte-unixbench/ ;
cd UnixBench/ ;
sudo apt install -y make gcc ;
make ;
./Run  ;
~~~~

結果

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

   System: ip-172-31-35-99: GNU/Linux
   OS: GNU/Linux -- 5.4.0-1024-aws -- #24-Ubuntu SMP Sat Sep 5 06:17:48 UTC 2020
   Machine: aarch64 (aarch64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   08:43:21 up 18 min,  1 user,  load average: 0.71, 0.65, 0.36; runlevel 2020-09-17

------------------------------------------------------------------------
Benchmark Run: Thu Sep 17 2020 08:43:21 - 09:12:43
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        9370962.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     1387.4 MWIPS (15.7 s, 7 samples)
Execl Throughput                               1205.6 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        207354.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           61433.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        537176.1 KBps  (30.0 s, 2 samples)
Pipe Throughput                              471412.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  14210.5 lps   (10.1 s, 7 samples)
Process Creation                               1159.0 lps   (30.1 s, 2 samples)
Shell Scripts (1 concurrent)                   1372.5 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                    226.1 lpm   (60.1 s, 2 samples)
System Call Overhead                         593986.9 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    9370962.1    803.0
Double-Precision Whetstone                       55.0       1387.4    252.3
Execl Throughput                                 43.0       1205.6    280.4
File Copy 1024 bufsize 2000 maxblocks          3960.0     207354.8    523.6
File Copy 256 bufsize 500 maxblocks            1655.0      61433.3    371.2
File Copy 4096 bufsize 8000 maxblocks          5800.0     537176.1    926.2
Pipe Throughput                               12440.0     471412.4    378.9
Pipe-based Context Switching                   4000.0      14210.5     35.5
Process Creation                                126.0       1159.0     92.0
Shell Scripts (1 concurrent)                     42.4       1372.5    323.7
Shell Scripts (8 concurrent)                      6.0        226.1    376.9
System Call Overhead                          15000.0     593986.9    396.0
                                                                   ========
System Benchmarks Index Score                                         303.5

------------------------------------------------------------------------
Benchmark Run: Thu Sep 17 2020 09:12:43 - 09:42:10
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables        8906679.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     1403.2 MWIPS (10.2 s, 7 samples)
Execl Throughput                               1039.1 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        110651.6 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           30134.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        296691.2 KBps  (30.0 s, 2 samples)
Pipe Throughput                              482502.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  68742.0 lps   (10.0 s, 7 samples)
Process Creation                               1821.0 lps   (30.1 s, 2 samples)
Shell Scripts (1 concurrent)                   1610.9 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                    224.8 lpm   (60.3 s, 2 samples)
System Call Overhead                         484504.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    8906679.4    763.2
Double-Precision Whetstone                       55.0       1403.2    255.1
Execl Throughput                                 43.0       1039.1    241.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     110651.6    279.4
File Copy 256 bufsize 500 maxblocks            1655.0      30134.5    182.1
File Copy 4096 bufsize 8000 maxblocks          5800.0     296691.2    511.5
Pipe Throughput                               12440.0     482502.3    387.9
Pipe-based Context Switching                   4000.0      68742.0    171.9
Process Creation                                126.0       1821.0    144.5
Shell Scripts (1 concurrent)                     42.4       1610.9    379.9
Shell Scripts (8 concurrent)                      6.0        224.8    374.7
System Call Overhead                          15000.0     484504.3    323.0
                                                                   ========
System Benchmarks Index Score                                         300.5
~~~

参考リンク

新しい EC2 T4g インスタンス – AWS Graviton2 によるバースト可能なパフォーマンス – 無料で利用可能 | Amazon Web Services ブログ 
https://aws.amazon.com/jp/blogs/news/new-t4g-instances-burstable-performance-powered-by-aws-graviton2/