summaryrefslogtreecommitdiff
path: root/Microbenchmarks/CPU-DPU/run.sh
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-06-07 14:56:05 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-06-07 14:56:05 +0200
commit3884cdaff9c0fbd149931f3e4ddf28e4624652e4 (patch)
treeeef42d68efbb297f4da01d3901b2c613b60b908b /Microbenchmarks/CPU-DPU/run.sh
parent0118d5173e849135527bba960139213f09d4b19c (diff)
port cpu-dpu microbenchmark to dfatool
Diffstat (limited to 'Microbenchmarks/CPU-DPU/run.sh')
-rwxr-xr-xMicrobenchmarks/CPU-DPU/run.sh22
1 files changed, 7 insertions, 15 deletions
diff --git a/Microbenchmarks/CPU-DPU/run.sh b/Microbenchmarks/CPU-DPU/run.sh
index 0132cb1..48261ec 100755
--- a/Microbenchmarks/CPU-DPU/run.sh
+++ b/Microbenchmarks/CPU-DPU/run.sh
@@ -1,22 +1,14 @@
#!/bin/bash
-mkdir -p profile
set -e
-for i in 1 2 4 8 16 32 64
-do
- for j in 1
- do
- for k in SERIAL PUSH BROADCAST
- do
- for l in 1 4 16 64 256 1024 4096 16384 65536 262144 1048576 4194304
- do
- NR_DPUS=$i NR_TASKLETS=$j BL=10 TRANSFER=$k make all
- wait
- ./bin/host_code -w 5 -e 20 -i ${l} >& profile/${i}_tl${j}_TR${k}_i${l}.txt
- wait
- make clean
- wait
+for i in 1 2 4 8 16 32 64; do
+ for j in 1; do
+ for k in SERIAL PUSH BROADCAST; do
+ # 8 B ... 64 MB
+ for l in 1 4 16 64 256 1024 4096 16384 65536 262144 1048576 4194304 838868; do
+ make -B NR_DPUS=$i NR_TASKLETS=$j BL=10 TRANSFER=$k
+ bin/host_code -w 0 -e 50 -i $l
done
done
done