blob: 2a7991e33cff77c4f43e612988a1a5980c3066fd (
plain) (
blame)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
#!/bin/bash
# Run baselines for all the DIS tasks
if [ "$EUID" -ne 0 ]
then
echo "You need to be root to enable cache way and interrupt isolation!"
exit
fi
if uname -a | grep -q "mc2"; then
echo "MC^2 detected! Cache isolation will be enabled"
iso="i"
else
echo "MC^2 not detected."
iso="xi"
fi
cd dis
WSSS=WSSS_maxstride2mb
caches=caches_all
if [[ $1 == "--contend" ]]; then
echo "Will run 6 contending tasks"
echo "Files will be named $datestring-<benchmark name>-10-c-"$iso".txt"
echo "Please verify the above settings. Press enter to continue..."
read
echo "field" > /tmp/disNames.txt
../run_bench.sh -p 15 -B -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 field-10
./postproc.sh $datestring-field-10-c-$iso
echo "matrix" > /tmp/disNames.txt
../run_bench.sh -p 15 -B -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 matrix-10
./postproc.sh $datestring-matrix-10-c-$iso
echo "neighborhood" > /tmp/disNames.txt
../run_bench.sh -p 15 -B -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 neighborhood-10
./postproc.sh $datestring-neighborhood-10-c-$iso
echo "pointer" > /tmp/disNames.txt
../run_bench.sh -p 15 -B -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 pointer-10
./postproc.sh $datestring-pointer-10-c-$iso
echo "transitive" > /tmp/disNames.txt
../run_bench.sh -p 15 -B -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 transitive-10
./postproc.sh $datestring-transitive-10-c-$iso
echo "update" > /tmp/disNames.txt
../run_bench.sh -p 15 -B -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 update-10
./postproc.sh $datestring-update-10-c-$iso
else
echo "Will run no contending tasks (use --contend for contending tasks)"
echo "Files will be named $datestring-<benchmark name>-10-xc-"$iso".txt"
echo "Please verify the above settings. Press enter to continue..."
read
echo "field" > /tmp/disNames.txt
../run_bench.sh -p 15 -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 field-10
./postproc.sh $datestring-field-10-xc-$iso
echo "matrix" > /tmp/disNames.txt
../run_bench.sh -p 15 -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 matrix-10
./postproc.sh $datestring-matrix-10-xc-$iso
echo "neighborhood" > /tmp/disNames.txt
../run_bench.sh -p 15 -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 neighborhood-10
./postproc.sh $datestring-neighborhood-10-xc-$iso
echo "pointer" > /tmp/disNames.txt
../run_bench.sh -p 15 -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 pointer-10
./postproc.sh $datestring-pointer-10-xc-$iso
echo "transitive" > /tmp/disNames.txt
../run_bench.sh -p 15 -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 transitive-10
./postproc.sh $datestring-transitive-10-xc-$iso
echo "update" > /tmp/disNames.txt
../run_bench.sh -p 15 -l 10 -b /tmp/disNames.txt -W WSSS -C caches -T in0 update-10
./postproc.sh $datestring-update-10-xc-$iso
fi
|