summaryrefslogtreecommitdiff
path: root/benchmark-scripts/milos.sh
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-10-25 15:50:21 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-10-25 15:50:21 +0200
commitfbe786c11825f7d0ffdf828a09e457dd3a73ddce (patch)
tree44a5d129dfc44a40eb27283f2294c91208c5522e /benchmark-scripts/milos.sh
parent77816a0a261dd3542181dc002c9521f6af22b8d0 (diff)
Add benchmark script for milos.inf.uos.de (DRAM/HBM server)HEADmain
Diffstat (limited to 'benchmark-scripts/milos.sh')
-rwxr-xr-xbenchmark-scripts/milos.sh37
1 files changed, 37 insertions, 0 deletions
diff --git a/benchmark-scripts/milos.sh b/benchmark-scripts/milos.sh
new file mode 100755
index 0000000..62ad036
--- /dev/null
+++ b/benchmark-scripts/milos.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+# Usage: "benchmark-scripts/milos.sh"
+
+rm -rf build
+
+mkdir build
+cd build
+cmake ..
+make
+cd ..
+
+mkdir -p log
+
+TS=$(date +%Y-%m-%d)
+CHASE="build/chase -c 536870912 -i 1 -e 50 -o dfatool"
+
+set -x
+
+# idle system
+: > log/${TS}-milos-dram-idle.txt
+: > log/${TS}-milos-hbm-idle.txt
+
+for cpunode in $(seq 0 7); do
+ for datanode in $(seq 0 7); do
+ ${CHASE} -n map ${cpunode}:${datanode} >> log/${TS}-milos-dram-idle.txt
+ for stride in 1 2 4 8 16 32 64; do
+ ${CHASE} -n map ${cpunode}:${datanode} -a forward ${stride} >> log/${TS}-milos-dram-idle.txt
+ done
+ done
+ for datanode in $(seq 8 15); do
+ ${CHASE} -n map ${cpunode}:${datanode} >> log/${TS}-milos-hbm-idle.txt
+ for stride in 1 2 4 8 16 32 64; do
+ ${CHASE} -n map ${cpunode}:${datanode} -a forward ${stride} >> log/${TS}-milos-hbm-idle.txt
+ done
+ done
+done