summaryrefslogtreecommitdiff
path: root/VA/dimes-hetsim-hbm.sh
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-22 16:20:00 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-22 16:20:00 +0200
commit32f8ed0eabb3e21d8d5315b11c3c8e7e06e668af (patch)
tree4ba212e6eb19011021e919199aeae69b4c3fae0c /VA/dimes-hetsim-hbm.sh
parent27765c0a341ccdb8772481645f5e9b4fcf9c6abf (diff)
VA baseline: configurable memcpy NUMA binding
Diffstat (limited to 'VA/dimes-hetsim-hbm.sh')
-rwxr-xr-xVA/dimes-hetsim-hbm.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/VA/dimes-hetsim-hbm.sh b/VA/dimes-hetsim-hbm.sh
index 7c0df73..d260c1e 100755
--- a/VA/dimes-hetsim-hbm.sh
+++ b/VA/dimes-hetsim-hbm.sh
@@ -11,15 +11,16 @@ fn=log/$(hostname)/dimes-hetsim-hbm
make -B NUMA=1 NUMA_MEMCPY=1
-echo "CPU single-node operation with setup cost, cpu/out on same node (1/4)" >&2
+echo "CPU single-node operation with setup cost, memcpy node == input node, cpu node == output node (1/4)" >&2
parallel -j1 --eta --joblog ${fn}.1.joblog --resume --header : \
- ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -C {ram_local} -t {nr_threads} -w 0 -e 40 \
+ ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -C {ram_local} -M {cpu_memcpy} -t {nr_threads} -w 0 -e 20 \
::: nr_threads 1 2 4 8 12 16 \
- ::: ram_in $(seq 0 15) \
- ::: cpu $(seq 0 7) $(seq 0 7) \
- :::+ ram_local $(seq 0 15) \
- :::+ ram_out $(seq 0 15) \
+ ::: ram_in $(seq 0 15) \
+ :::+ cpu_memcpy $(seq 0 7) $(seq 0 7) \
+ ::: ram_local $(seq 0 15) \
+ :::+ cpu $(seq 0 7) $(seq 0 7) \
+ :::+ ram_out $(seq 0 15) \
::: input_size 167772160
make -B NUMA=1
@@ -47,7 +48,7 @@ parallel -j1 --eta --joblog ${fn}.3.joblog --resume --header : \
echo "multi-node execution (4/4)" >&2
parallel -j1 --eta --joblog ${fn}.4.joblog --resume --header : \
- ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -t {nr_threads} -w 0 -e 40 \
+ ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -t {nr_threads} -w 0 -e 20 \
::: nr_threads 32 48 64 96 128 \
::: cpu -1 \
::: ram_in $(seq 0 15) \