diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-02-22 15:59:51 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-02-22 15:59:51 +0100 |
commit | 02619c6af481c62a5cb4c2c78a015de072b0e091 (patch) | |
tree | 69915f68bb3e019d11f8ef52a8e28f9f6e9dc650 /Microbenchmarks | |
parent | c8dc9659344f07f5432b71ee8a76a6d2f8108f48 (diff) |
CPU-DPU: overwrite old logs; skip one-element transfers
Diffstat (limited to 'Microbenchmarks')
-rw-r--r-- | Microbenchmarks/CPU-DPU/host/app.c | 4 | ||||
-rwxr-xr-x | Microbenchmarks/CPU-DPU/run-alloc-rank-idle.sh | 2 | ||||
-rwxr-xr-x | Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh | 2 | ||||
-rwxr-xr-x | Microbenchmarks/CPU-DPU/run-transfer-rank-idle.sh | 2 | ||||
-rwxr-xr-x | Microbenchmarks/CPU-DPU/run-transfer-rank-stress.sh | 2 | ||||
-rwxr-xr-x | Microbenchmarks/CPU-DPU/run-transfer-rank.sh | 4 |
6 files changed, 8 insertions, 8 deletions
diff --git a/Microbenchmarks/CPU-DPU/host/app.c b/Microbenchmarks/CPU-DPU/host/app.c index 7c402bc..bb86d09 100644 --- a/Microbenchmarks/CPU-DPU/host/app.c +++ b/Microbenchmarks/CPU-DPU/host/app.c @@ -217,6 +217,6 @@ int main(int argc, char **argv) { free(C); free(C2); DPU_ASSERT(dpu_free(dpu_set)); - - return status ? 0 : -1; + + return 0; } diff --git a/Microbenchmarks/CPU-DPU/run-alloc-rank-idle.sh b/Microbenchmarks/CPU-DPU/run-alloc-rank-idle.sh index 321f14c..01483eb 100755 --- a/Microbenchmarks/CPU-DPU/run-alloc-rank-idle.sh +++ b/Microbenchmarks/CPU-DPU/run-alloc-rank-idle.sh @@ -4,4 +4,4 @@ mkdir -p "$(hostname)-alloc" ./run-alloc-rank.sh | tee "$(hostname)-alloc/rank-idle.txt" -xz -v -9 -M 800M "$(hostname)-alloc/rank-idle.txt" +xz -f -v -9 -M 800M "$(hostname)-alloc/rank-idle.txt" diff --git a/Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh b/Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh index cf90174..da136c0 100755 --- a/Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh +++ b/Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh @@ -15,4 +15,4 @@ stress -c ${NCORES} & cleanexit -xz -v -9 -M 800M "$(hostname)-alloc/rank-stress-c${NCORES}.txt" +xz -f -v -9 -M 800M "$(hostname)-alloc/rank-stress-c${NCORES}.txt" diff --git a/Microbenchmarks/CPU-DPU/run-transfer-rank-idle.sh b/Microbenchmarks/CPU-DPU/run-transfer-rank-idle.sh index 89dda03..b69aa8e 100755 --- a/Microbenchmarks/CPU-DPU/run-transfer-rank-idle.sh +++ b/Microbenchmarks/CPU-DPU/run-transfer-rank-idle.sh @@ -4,4 +4,4 @@ mkdir -p "$(hostname)-transfer" ./run-transfer-rank.sh | tee "$(hostname)-transfer/rank-idle.txt" -xz -v -9 -M 800M "$(hostname)-transfer/rank-idle.txt" +xz -f -v -9 -M 800M "$(hostname)-transfer/rank-idle.txt" diff --git a/Microbenchmarks/CPU-DPU/run-transfer-rank-stress.sh b/Microbenchmarks/CPU-DPU/run-transfer-rank-stress.sh index e2f4020..b18c876 100755 --- a/Microbenchmarks/CPU-DPU/run-transfer-rank-stress.sh +++ b/Microbenchmarks/CPU-DPU/run-transfer-rank-stress.sh @@ -15,4 +15,4 @@ stress -c ${NCORES} & cleanexit -xz -v -9 -M 800M "$(hostname)-transfer/rank-stress-c${NCORES}.txt" +xz -f -v -9 -M 800M "$(hostname)-transfer/rank-stress-c${NCORES}.txt" diff --git a/Microbenchmarks/CPU-DPU/run-transfer-rank.sh b/Microbenchmarks/CPU-DPU/run-transfer-rank.sh index 61e9dba..169c5a0 100755 --- a/Microbenchmarks/CPU-DPU/run-transfer-rank.sh +++ b/Microbenchmarks/CPU-DPU/run-transfer-rank.sh @@ -12,14 +12,14 @@ for i in 1 4 8 16 32 48 64; do for k in SERIAL PUSH BROADCAST; do # BROADCAST sends the same data to all DPUs, so data size must not exceed the amount of MRAM available on a single DPU (i.e., 64 MB) # 8 B ... 64 MB - for l in 1 16 256 4096 65536 262144 1048576 4194304 6291456 8388608; do + for l in 4096 65536 262144 1048576 4194304 6291456 8388608; do make -B NR_DPUS=$i NR_TASKLETS=1 BL=10 TRANSFER=$k bin/host_code -w 0 -e 100 -x 1 -i $l done done - # maximum amount of data for k in SERIAL PUSH; do make -B NR_DPUS=$i NR_TASKLETS=1 BL=10 TRANSFER=$k + # utilize 50% to 100% of per-DPU MRAM capacity bin/host_code -w 0 -e 100 -x 1 -i $(( 4194304 * i )) bin/host_code -w 0 -e 100 -x 1 -i $(( 6291456 * i )) bin/host_code -w 0 -e 100 -x 1 -i $(( 8388608 * i )) |