Benchmark for AWS EC2 t3a.nano

From Leo's Notes
Last edited on 2 March 2021, at 16:48.

Benchmark for a AWS EC2 t3a.nano virtual machine. This is the cheapest EC2 instance that you can obtain.


Results Overview[edit source]

Hardware AWS EC2 t3a.nano
CPU AMD EPYC 7571
Hypervisor AWS
Memory 512 MB
Disk 8 GB EBS SSD
Operating System Amazon Linux 2, Xen
Score 1251.3 / 2131.2

Raw Output

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

   System: ip-172-31-28-229.us-east-2.compute.internal: GNU/Linux
   OS: GNU/Linux -- 4.14.152-127.182.amzn2.x86_64 -- #1 SMP Thu Nov 14 17:32:43 UTC 2019
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: AMD EPYC 7571 (4398.8 bogomips)
          Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: AMD EPYC 7571 (4398.8 bogomips)
          Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   18:47:53 up 2 min,  1 user,  load average: 0.40, 0.14, 0.04; runlevel 2019-12-24

------------------------------------------------------------------------
Benchmark Run: Tue Dec 24 2019 18:47:53 - 19:15:53
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       36668225.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     5175.0 MWIPS (9.7 s, 7 samples)
Execl Throughput                               4809.4 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        908652.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          248673.4 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2385408.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1481956.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  32022.4 lps   (10.0 s, 7 samples)
Process Creation                               9565.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   7580.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1349.7 lpm   (60.0 s, 2 samples)
System Call Overhead                        1618113.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   36668225.3   3142.1
Double-Precision Whetstone                       55.0       5175.0    940.9
Execl Throughput                                 43.0       4809.4   1118.5
File Copy 1024 bufsize 2000 maxblocks          3960.0     908652.1   2294.6
File Copy 256 bufsize 500 maxblocks            1655.0     248673.4   1502.6
File Copy 4096 bufsize 8000 maxblocks          5800.0    2385408.3   4112.8
Pipe Throughput                               12440.0    1481956.3   1191.3
Pipe-based Context Switching                   4000.0      32022.4     80.1
Process Creation                                126.0       9565.8    759.2
Shell Scripts (1 concurrent)                     42.4       7580.8   1787.9
Shell Scripts (8 concurrent)                      6.0       1349.7   2249.4
System Call Overhead                          15000.0    1618113.7   1078.7
                                                                   ========
System Benchmarks Index Score                                        1251.3

------------------------------------------------------------------------
Benchmark Run: Tue Dec 24 2019 19:15:53 - 19:43:56
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       45648861.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     8484.5 MWIPS (9.9 s, 7 samples)
Execl Throughput                               7442.9 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1310687.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          363358.9 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       3616098.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2031766.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 359530.6 lps   (10.0 s, 7 samples)
Process Creation                              22320.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   9632.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1362.8 lpm   (60.1 s, 2 samples)
System Call Overhead                        2073458.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   45648861.8   3911.6
Double-Precision Whetstone                       55.0       8484.5   1542.6
Execl Throughput                                 43.0       7442.9   1730.9
File Copy 1024 bufsize 2000 maxblocks          3960.0    1310687.3   3309.8
File Copy 256 bufsize 500 maxblocks            1655.0     363358.9   2195.5
File Copy 4096 bufsize 8000 maxblocks          5800.0    3616098.3   6234.7
Pipe Throughput                               12440.0    2031766.1   1633.3
Pipe-based Context Switching                   4000.0     359530.6    898.8
Process Creation                                126.0      22320.3   1771.4
Shell Scripts (1 concurrent)                     42.4       9632.9   2271.9
Shell Scripts (8 concurrent)                      6.0       1362.8   2271.4
System Call Overhead                          15000.0    2073458.7   1382.3
                                                                   ========
System Benchmarks Index Score                                        2131.2


Ran it again with full CPU credits on March 1, 2021.

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

   System: ip-172-31-32-175.ca-central-1.compute.internal: GNU/Linux
   OS: GNU/Linux -- 4.14.173-137.229.amzn2.x86_64 -- #1 SMP Wed Apr 1 18:06:08 UTC 2020
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: AMD EPYC 7571 (4399.6 bogomips)
          Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: AMD EPYC 7571 (4399.6 bogomips)
          Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   04:39:58 up 22 days,  2:05,  1 user,  load average: 0.47, 0.11, 0.04; runlevel 2021-02-08

------------------------------------------------------------------------
Benchmark Run: Tue Mar 02 2021 04:39:58 - 05:08:00
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       31568080.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4478.7 MWIPS (9.7 s, 7 samples)
Execl Throughput                               4157.0 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        753499.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          210242.9 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1856118.2 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1277124.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  21806.8 lps   (10.0 s, 7 samples)
Process Creation                               7773.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   6515.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1143.1 lpm   (60.0 s, 2 samples)
System Call Overhead                        1375763.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   31568080.1   2705.1
Double-Precision Whetstone                       55.0       4478.7    814.3
Execl Throughput                                 43.0       4157.0    966.7
File Copy 1024 bufsize 2000 maxblocks          3960.0     753499.1   1902.8
File Copy 256 bufsize 500 maxblocks            1655.0     210242.9   1270.4
File Copy 4096 bufsize 8000 maxblocks          5800.0    1856118.2   3200.2
Pipe Throughput                               12440.0    1277124.2   1026.6
Pipe-based Context Switching                   4000.0      21806.8     54.5
Process Creation                                126.0       7773.1    616.9
Shell Scripts (1 concurrent)                     42.4       6515.3   1536.6
Shell Scripts (8 concurrent)                      6.0       1143.1   1905.1
System Call Overhead                          15000.0    1375763.8    917.2
                                                                   ========
System Benchmarks Index Score                                        1035.9

------------------------------------------------------------------------
Benchmark Run: Tue Mar 02 2021 05:08:00 - 05:36:06
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       39527952.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     7363.9 MWIPS (9.9 s, 7 samples)
Execl Throughput                               6030.5 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1121818.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          313672.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2970670.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1783562.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 305888.3 lps   (10.0 s, 7 samples)
Process Creation                              18613.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   8269.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1146.6 lpm   (60.1 s, 2 samples)
System Call Overhead                        1796125.5 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   39527952.3   3387.1
Double-Precision Whetstone                       55.0       7363.9   1338.9
Execl Throughput                                 43.0       6030.5   1402.4
File Copy 1024 bufsize 2000 maxblocks          3960.0    1121818.3   2832.9
File Copy 256 bufsize 500 maxblocks            1655.0     313672.8   1895.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    2970670.7   5121.8
Pipe Throughput                               12440.0    1783562.5   1433.7
Pipe-based Context Switching                   4000.0     305888.3    764.7
Process Creation                                126.0      18613.6   1477.3
Shell Scripts (1 concurrent)                     42.4       8269.1   1950.3
Shell Scripts (8 concurrent)                      6.0       1146.6   1911.1
System Call Overhead                          15000.0    1796125.5   1197.4
                                                                   ========
System Benchmarks Index Score                                        1813.4