summaryrefslogtreecommitdiff
path: root/TS/dimes-hetsim-hbm.sh
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-26 18:10:39 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-26 18:10:39 +0200
commita78066c0f24e70cc044ad9d49be1bdf7ccc783e9 (patch)
tree4316e7edbc80c9dcc8c0d340f4d75cd05dfec0f5 /TS/dimes-hetsim-hbm.sh
parent03416c3f762f58f722eea0edc290c0f379320bdf (diff)
TS: re-add --resume
Diffstat (limited to 'TS/dimes-hetsim-hbm.sh')
-rwxr-xr-xTS/dimes-hetsim-hbm.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/TS/dimes-hetsim-hbm.sh b/TS/dimes-hetsim-hbm.sh
index 192a705..0b57ab2 100755
--- a/TS/dimes-hetsim-hbm.sh
+++ b/TS/dimes-hetsim-hbm.sh
@@ -5,7 +5,7 @@ make -B NUMA=1
make inputs/randomlist10M.txt
mkdir -p log/$(hostname)
-fn=log/$(hostname)/$(date +%Y%m%d)
+fn=log/$(hostname)/dimes-hetsim-hbm
# Upstream DPU version uses ts_size = 33554432 elements and query_length = 256 with int32_t data
# Upstream CPU version uses inputs/randomlist33M.txt with 33618177 elements and query_length = 256 with double
@@ -22,7 +22,7 @@ export -f run_benchmark
echo "single-node execution (1/2)" >&2
-parallel -j1 --eta --joblog ${fn}.1.joblog --header : \
+parallel -j1 --eta --joblog ${fn}.1.joblog --resume --header : \
run_benchmark nr_threads={nr_threads} ram={ram} cpu={cpu} \
::: i $(seq 0 5) \
::: nr_threads 1 2 4 8 12 16 \
@@ -31,13 +31,11 @@ parallel -j1 --eta --joblog ${fn}.1.joblog --header : \
echo "multi-node execution (2/2)" >&2
-parallel -j1 --eta --joblog ${fn}.2.joblog --header : \
+parallel -j1 --eta --joblog ${fn}.2.joblog --resume --header : \
run_benchmark nr_threads={nr_threads} ram={ram} cpu={cpu} \
::: i $(seq 0 20) \
::: nr_threads 32 48 64 96 128 \
::: cpu -1 \
::: ram $(seq 0 15)
-) > ${fn}.txt
-
-xz -f -v -9 -M 800M ${fn}.txt
+) >> ${fn}.txt