diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-02-22 12:24:04 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-02-22 12:24:04 +0100 |
commit | d7b9186a2a0285356b9aa38b84c8a7a151e48593 (patch) | |
tree | 689aab2d5fd90989b591eb16e665e9bbd3b99f86 /Microbenchmarks/CPU-DPU/run-alloc-rank.sh | |
parent | ba4f965bf9b7fb9f7cd441e82f37255e3948b736 (diff) |
CPU-DPU microbenchmark: switch to nanoseconds
Diffstat (limited to 'Microbenchmarks/CPU-DPU/run-alloc-rank.sh')
-rwxr-xr-x | Microbenchmarks/CPU-DPU/run-alloc-rank.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Microbenchmarks/CPU-DPU/run-alloc-rank.sh b/Microbenchmarks/CPU-DPU/run-alloc-rank.sh new file mode 100755 index 0000000..a6907fe --- /dev/null +++ b/Microbenchmarks/CPU-DPU/run-alloc-rank.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e + +echo "prim-benchmarks CPU-DPU alloc (dfatool edition)" +echo "Started at $(date)" +echo "Revision $(git describe --always)" + +# runtime exclusive of host_code execution time: 25 seconds per inner loop +# *16 -> about 7 minutes per outer loop +# *163 -> about 18 hours total +for i in 1 4 8 16 32 48 64; do + for j in $(seq 0 16); do + echo $i/64 $j/16 + ./make-size.sh $j + n_nops=$((j * 256)) + if make -B NR_DPUS=$i NR_TASKLETS=1 BL=10 DPU_BINARY=\'\"bin/dpu_size\"\'; then + for l in $(seq 1 100); do + bin/host_code -w 1 -e 0 -x 1 -i 65536 -N $n_nops || true + done + fi + done +done + +echo "Completed at $(date)" |