check gem5 DMIPS for STREAM

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-11-28 00:00:01 +00:00
parent 5d233f2664
commit 7d9327c6c8

View File

@@ -14491,7 +14491,7 @@ Dhrystone is very simple:
The benchmark is single-threaded.
After a quick look at it, Dhrystone in `-O3` is is very likely completely CPU bound, as there are no loops over variable sized arrays, except for some dummy ones that only run once. It just does a bunch of operations on local and global C variables, which are very likely to be inlined and treated fully in registers until the final write back. TODO confirm with some kind of measurement.
After a quick look at it, Dhrystone in `-O3` is is very likely completely CPU bound, as there are no loops over variable sized arrays, except for some dummy ones that only run once. It just does a bunch of operations on local and global C variables, which are very likely to be inlined and treated fully in registers until the final write back, or to fit entirely in cache. TODO confirm with some kind of measurement. The benchmark also makes no syscalls except for measuring time and reporting results.
<<buildroot>> has a `dhrystone` package, but because it is so interesting to us, we decided to also build it ourselves, which allows things like static and baremetal compilation more easily.
@@ -19091,7 +19091,7 @@ Summary of manually collected results on <<p51>> at LKMC a18f28e263c91362519ef55
|1.1005150 * 10^7
|0.2
|a605448f07e6380634b1aa7e9732d111759f69fd + 1
|605448f07e6380634b1aa7e9732d111759f69fd
|<<dhrystone>> -O3
|`gem5 --arch aarch64`
|4 * 10^5
@@ -19099,6 +19099,14 @@ Summary of manually collected results on <<p51>> at LKMC a18f28e263c91362519ef55
|9.2034139 * 10^7
|1.6
|5d233f2664a78789f9907d27e2a40e86cefad595
|<<stream-benchmark>> -O3
|`gem5 --arch aarch64 --userland-args 300000 2`
|3 * 10^5 * 2
|64
|9.9674773 * 10^7
|1.6
|===
The first step is to determine a number of loops that will run long enough to have meaningful results, but not too long that we will get bored, so about 1 minute.