blob: 62ad03676bcdac11e31ad347d56810530ede3dbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
|