summaryrefslogtreecommitdiff
path: root/HST-S/baselines/cpu/run.sh
blob: ffb2cc650e36058774f59fec64ad54f1482e402a (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
#!/bin/sh

set -e

HOST="$(hostname)"

echo $HOST

(
echo "prim-benchmarks HST-S CPU (dfatool edition)"
echo "Started at $(date)"
echo "Revision $(git describe --always)"

# baseline ./hist supports -x, however -x 0 references uninitialized variables
# and likely never has been used or tested. So we'll leave that out here.

make -B verbose=1

for nr_threads in 88 64 44 32 24 20 1 2 4 6 8 12 16; do
	for i in `seq 1 20`; do
		timeout --foreground -k 1m 30m ./hist -t ${nr_threads} -i 1006632960 || true
		sleep 10
	done
done
) | tee "${HOST}-explore.txt"