summaryrefslogtreecommitdiff
path: root/RED/dimes-hetsim-hbm.sh
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-05 13:53:46 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-05 13:53:46 +0200
commit0fe0489897c6fb480d0b7f06228da2e099b55bde (patch)
treed31a9d0180482334959b630a8a8828e650e8ad6f /RED/dimes-hetsim-hbm.sh
parent0ef7f7458af27f5922797bba0147ccabc3e29223 (diff)
RED: Add DIMES benchmark scripts
Diffstat (limited to 'RED/dimes-hetsim-hbm.sh')
-rwxr-xr-xRED/dimes-hetsim-hbm.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/RED/dimes-hetsim-hbm.sh b/RED/dimes-hetsim-hbm.sh
new file mode 100755
index 0000000..b9defb3
--- /dev/null
+++ b/RED/dimes-hetsim-hbm.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+cd baselines/cpu
+make -B NUMA=1
+
+mkdir -p log/$(hostname)
+fn=log/$(hostname)/$(date +%Y%m%d)-baseline
+
+# upstream DPU version uses 419430400 * int64 == 3.125 GiB
+
+(
+
+echo "CPU single-node (1/2)" >&2
+
+parallel -j1 --eta --joblog ${fn}.1.joblog --resume --header : \
+ ./red -i 419430400 -w 0 -e 5 -t 8 -x 1 -a {ram} -c {cpu} \
+ ::: cpu $(seq 0 7) \
+ ::: ram $(seq 0 15) \
+ ::: nr_threads 1 2 4 8 12 16
+
+echo "CPU multi-node (2/2)" >&2
+
+parallel -j1 --eta --joblog ${fn}.2.joblog --resume --header : \
+ ./red -i 419430400 -w 0 -e 5 -t 8 -x 1 -a {ram} -c {cpu} \
+ ::: cpu -1 \
+ ::: ram $(seq 0 15) \
+ ::: nr_threads 32 48 64 96 128
+
+) > ${fn}.txt
+
+xz -f -v -9 -M 800M ${fn}.txt