summaryrefslogtreecommitdiffstats
path: root/run_all_tacle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_all_tacle.sh')
-rwxr-xr-xrun_all_tacle.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/run_all_tacle.sh b/run_all_tacle.sh
index c0f07cc..51a9c24 100755
--- a/run_all_tacle.sh
+++ b/run_all_tacle.sh
@@ -10,6 +10,10 @@ if [ $# -lt 2 ]; then
10 echo "Usage $0 <number of iterations> <run ID>" 10 echo "Usage $0 <number of iterations> <run ID>"
11 exit 11 exit
12fi 12fi
13if [[ "$EUID" != 0 ]]; then
14 echo "You need to be root to enable spatial isolation!"
15 exit
16fi
13date 17date
14 18
15# Run the pairs baseline and some comparisons to examine the effect of less cache 19# Run the pairs baseline and some comparisons to examine the effect of less cache
@@ -30,13 +34,13 @@ date
30cd ../all_pairs 34cd ../all_pairs
31make all -j32 35make all -j32
32# No cache isolation 36# No cache isolation
33pairXI=all_pairs/$(date +"%b%d-%H")-c-xi-$runID.txt 37pairXI=all_pairs/$(date +"%b%d-%H")-c-xi-$runID"-A.txt and -B.txt"
34echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I xi $runID 38echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I xi $runID
35# Shared L2, split L3 39# Shared L2, split L3
36pairI3=all_pairs/$(date +"%b%d-%H")-c-i3-$runID.txt 40pairI3=all_pairs/$(date +"%b%d-%H")-c-i3-$runID"-A.txt and -B.txt"
37echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I i3 $runID 41echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I i3 $runID
38# Split L2, split L3 42# Split L2, split L3
39pairI=all_pairs/$(date +"%b%d-%H")-c-i-$runID.txt 43pairI=all_pairs/$(date +"%b%d-%H")-c-i-$runID"-A.txt and -B.txt"
40echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I i $runID 44echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I i $runID
41date 45date
42 46