Graviton G5 STREAM memory bandwidth
STREAM memory bandwidth results on an c9g.48xlarge instance.
For reference my own HPC code (memory bandwidth limited with most time spent doing parallel sparse linear algebra) ran about 40% faster compared to the last generation Graviton (G4) :)
$ ./STREAM/stream_c.exe
-------------------------------------------------------------
STREAM version $Revision: 5.10 $
-------------------------------------------------------------
This system uses 8 bytes per array element.
-------------------------------------------------------------
Array size = 100000000 (elements), Offset = 0 (elements)
Memory per array = 762.9 MiB (= 0.7 GiB).
Total memory required = 2288.8 MiB (= 2.2 GiB).
Each kernel will be executed 10 times.
The *best* time for each kernel (excluding the first iteration)
will be used to compute the reported bandwidth.
-------------------------------------------------------------
Number of Threads requested = 192
Number of Threads counted = 192
-------------------------------------------------------------
Your clock granularity/precision appears to be 1 microseconds.
Each test below will take on the order of 2414 microseconds.
(= 2414 clock ticks)
Increase the size of the arrays if this shows that
you are not getting at least 20 clock ticks per test.
-------------------------------------------------------------
WARNING -- The above is only a rough guideline.
For best results, please be sure you know the
precision of your system timer.
-------------------------------------------------------------
Function Best Rate MB/s Avg time Min time Max time
Copy: 865362.5 0.001900 0.001849 0.001957
Scale: 783524.4 0.002116 0.002042 0.002182
Add: 726863.3 0.003357 0.003302 0.003411
Triad: 689663.6 0.003587 0.003480 0.003740
-------------------------------------------------------------
Solution Validates: avg error less than 1.000000e-13 on all three arrays
-------------------------------------------------------------
$ for i in `seq 1 10`; do ./STREAM/stream_c.exe | grep Triad; done
Triad: 689049.9 0.003545 0.003483 0.003641
Triad: 691226.4 0.003630 0.003472 0.003998
Triad: 684924.1 0.003587 0.003504 0.003926
Triad: 687121.5 0.003550 0.003493 0.003590
Triad: 671894.9 0.003619 0.003572 0.003709
Triad: 685904.2 0.003603 0.003499 0.003880
Triad: 546222.2 0.004446 0.004394 0.004508
Triad: 625509.8 0.003903 0.003837 0.003983
Triad: 618552.9 0.003929 0.003880 0.004012
Triad: 682000.7 0.003565 0.003519 0.003617