diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-15 10:46:58 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-15 10:46:58 +0200 |
commit | 8db4d823e02b1d74e1bf4fdbafdb097a6bffdb14 (patch) | |
tree | 5f30d91bfd30d97faa6305ea28cbfe98d9b99443 /SEL | |
parent | 7d1685383f561d3537ca3973f10bb37393fd438e (diff) |
SEL: Add DIMES HBM benchmark
Diffstat (limited to 'SEL')
-rwxr-xr-x | SEL/dimes-hetsim-hbm.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/SEL/dimes-hetsim-hbm.sh b/SEL/dimes-hetsim-hbm.sh new file mode 100755 index 0000000..361ef66 --- /dev/null +++ b/SEL/dimes-hetsim-hbm.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +cd baselines/cpu +make -B NUMA=1 + +mkdir -p log/$(hostname) +fn=log/$(hostname)/$(date +%Y%m%d) + +# 2^28 elem == 2 GiB data (upstream version uses 1.875 GiB) +# upstrem DPU and upstream CPU use uint64_t + +( + +parallel -j1 --eta --joblog ${fn}.1.joblog --header : \ + ./sel -a {ram} -b {ram} -c {cpu} -i {input_size} -t {nr_threads} -w 0 -e 40 \ + ::: nr_threads 1 2 4 8 12 16 \ + ::: cpu $(seq 0 7) \ + ::: ram $(seq 0 15) \ + ::: input_size $(( 2 ** 28 )) + +parallel -j1 --eta --joblog ${fn}.2.joblog --header : \ + ./sel -a {ram} -b {ram} -c {cpu} -i {input_size} -t {nr_threads} -w 0 -e 40 \ + ::: nr_threads 32 48 64 96 128 \ + ::: cpu -1 \ + ::: ram $(seq 0 15) \ + ::: input_size $(( 2 ** 28 )) + +) > ${fn}.txt + +xz -f -v -9 -M 800M ${fn}.txt |