Jos jedan benchmark.
https://github.com/jeffhammond/STREAM/
STREAM is the de facto industry standard benchmark
for measuring sustained memory bandwidth.
Elbrus-804 (4 x Elbrus-8C@ 1.2 GHz)
Kod:
32 threads:
lcc -O2 stream.c -DSTREAM_ARRAY_SIZE=128000000 -fopenmp -D_OPENMP -o stream_o2
Function Best Rate MB/s Avg time Min time Max time
Copy: 41290.2 0.062330 0.049600 0.075405
Scale: 38965.8 0.066462 0.052559 0.089966
Add: 45483.6 0.084720 0.067541 0.104502
Triad: 47157.2 0.076541 0.065144 0.102686
Evo rezultata ovog testa na mom kompjuteru radi poredjenja:
CentOS 7
i3-3240 @ 3.4GHz
Kod:
Function Best Rate MB/s Avg time Min time Max time
Copy: 12747.1 0.042779 0.040166 0.048886
Scale: 8340.6 0.068424 0.061386 0.079884
Add: 9125.3 0.092775 0.084162 0.121602
Triad: 9462.2 0.086650 0.081165 0.098782