diff options
Diffstat (limited to 'run_all_tacle.sh')
| -rwxr-xr-x | run_all_tacle.sh | 10 |
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 |
| 12 | fi | 12 | fi |
| 13 | if [[ "$EUID" != 0 ]]; then | ||
| 14 | echo "You need to be root to enable spatial isolation!" | ||
| 15 | exit | ||
| 16 | fi | ||
| 13 | date | 17 | date |
| 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 | |||
| 30 | cd ../all_pairs | 34 | cd ../all_pairs |
| 31 | make all -j32 | 35 | make all -j32 |
| 32 | # No cache isolation | 36 | # No cache isolation |
| 33 | pairXI=all_pairs/$(date +"%b%d-%H")-c-xi-$runID.txt | 37 | pairXI=all_pairs/$(date +"%b%d-%H")-c-xi-$runID"-A.txt and -B.txt" |
| 34 | echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I xi $runID | 38 | echo "" | ../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 |
| 36 | pairI3=all_pairs/$(date +"%b%d-%H")-c-i3-$runID.txt | 40 | pairI3=all_pairs/$(date +"%b%d-%H")-c-i3-$runID"-A.txt and -B.txt" |
| 37 | echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I i3 $runID | 41 | echo "" | ../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 |
| 39 | pairI=all_pairs/$(date +"%b%d-%H")-c-i-$runID.txt | 43 | pairI=all_pairs/$(date +"%b%d-%H")-c-i-$runID"-A.txt and -B.txt" |
| 40 | echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I i $runID | 44 | echo "" | ../run_bench.sh -m pair -p 15 -P 31 -l $maxJobs -b tacleNames.txt -B -I i $runID |
| 41 | date | 45 | date |
| 42 | 46 | ||
