diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-08 16:35:46 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-08 16:35:46 +0200 |
commit | 3633e0409cb244a951a251047bd97a2e35986084 (patch) | |
tree | 2f2f661111c8dc91e920de2cc43a0895d6a57991 /SCAN-RSS/dimes-hetsim-hbm.sh | |
parent | 304e74a12bc2644855094da4689a67d87e6c045a (diff) |
SCAN-RSS: NUMA support
Diffstat (limited to 'SCAN-RSS/dimes-hetsim-hbm.sh')
-rwxr-xr-x | SCAN-RSS/dimes-hetsim-hbm.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/SCAN-RSS/dimes-hetsim-hbm.sh b/SCAN-RSS/dimes-hetsim-hbm.sh new file mode 100755 index 0000000..0a198f5 --- /dev/null +++ b/SCAN-RSS/dimes-hetsim-hbm.sh @@ -0,0 +1,33 @@ +#!/bin/sh + +cd baselines/cpu +make -B NUMA=1 + +mkdir -p log/$(hostname) +fn=log/$(hostname)/$(date +%Y%m%d) + +# upstream uses 251658240 * INT64 == 1.875 GiB + +( + +echo "single-node execution (1/2)" >&2 + +parallel -j1 --eta --joblog ${fn}.1.joblog --resume --header : \ + ./scan -i {input_size} -a {ram} -b {ram} -c {cpu} -t {nr_threads} -w 0 -e 5 -x 1 \ + ::: nr_threads 1 2 4 8 12 16 \ + ::: cpu $(seq 0 7) \ + ::: ram $(seq 0 15) \ + ::: input_size 251658240 + +echo "multi-node execution (2/2)" >&2 + +parallel -j1 --eta --joblog ${fn}.2.joblog --resume --header : \ + ./scan -i {input_size} -a {ram} -b {ram} -c {cpu} -t {nr_threads} -w 0 -e 40 -x 1 \ + ::: nr_threads 32 48 64 96 128 \ + ::: cpu -1 \ + ::: ram $(seq 0 15) \ + ::: input_size 251658240 + +) > ${fn}.txt + +xz -f -v -9 -M 800M ${fn}.txt |