From d7b9186a2a0285356b9aa38b84c8a7a151e48593 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 22 Feb 2024 12:24:04 +0100 Subject: CPU-DPU microbenchmark: switch to nanoseconds --- Microbenchmarks/CPU-DPU/run-alloc-rank.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 Microbenchmarks/CPU-DPU/run-alloc-rank.sh (limited to 'Microbenchmarks/CPU-DPU/run-alloc-rank.sh') 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)" -- cgit v1.2.3