diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-20 18:20:39 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-20 18:23:06 -0400 |
| commit | ec0512af6bbb8ba05eb13fc1aac7754283dd13aa (patch) | |
| tree | 17b31bba227776734555f9dde3ad17aa39aa54f4 /run_tacle_rtss20.sh | |
| parent | dd606a16e840880e7617b140f6083af8ea83b6b7 (diff) | |
Unify unpaired timing scripts for DIS, TACLe, and SD-VBS
Now supports specifying an input generation command for
each benchmark - see dis/dis2MbInNames.txt for an example.
Diffstat (limited to 'run_tacle_rtss20.sh')
| -rwxr-xr-x | run_tacle_rtss20.sh | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/run_tacle_rtss20.sh b/run_tacle_rtss20.sh deleted file mode 100755 index 6770c55..0000000 --- a/run_tacle_rtss20.sh +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | # Copyright 2020 Joshua Bakita | ||
| 3 | # This script runs the baselines and Level-A/B and Level-C all_pairs for TACLe w/out MC^2 | ||
| 4 | |||
| 5 | if uname -a | grep -q mc2; then | ||
| 6 | echo "You need to run this without MC^2!" | ||
| 7 | exit | ||
| 8 | fi | ||
| 9 | |||
| 10 | if [ "$EUID" -ne 0 ]; then | ||
| 11 | echo "You need to be root to enable interrupt isolation and real-time execution!" | ||
| 12 | exit | ||
| 13 | fi | ||
| 14 | |||
| 15 | echo "This will run the contended and uncontended TACLe baseline, all-pairs, and Level-C micro-benchamarks in non-interactive mode." | ||
| 16 | echo "Please press enter to confirm (Ctrl-C to abort)..." | ||
| 17 | read | ||
| 18 | |||
| 19 | echo "performance" > /sys/devices/system/cpu/cpu15/cpufreq/scaling_governor | ||
| 20 | echo "performance" > /sys/devices/system/cpu/cpu31/cpufreq/scaling_governor | ||
| 21 | |||
| 22 | cd baseline | ||
| 23 | baseNo=baseline/$(date +"%b%d-%H")-xc-xi-1k.txt | ||
| 24 | echo "" | ./run_baseline.sh 15 1001 1k ../all_pairs/tacleNames.txt | ||
| 25 | baseYes=baseline/$(date +"%b%d-%H")-c-xi-1k.txt | ||
| 26 | echo "" | ./run_baseline.sh 15 1001 1k ../all_pairs/tacleNames.txt --contend | ||
| 27 | |||
| 28 | cd ../all_pairs | ||
| 29 | pairsNo=all_pairs/$(date +"%b%d-%H")-xc-xi-1k | ||
| 30 | echo "" | ./run_all_pairs.sh 15 31 1001 1k ./tacleNames.txt | ||
| 31 | pairsYes=all_pairs/$(date +"%b%d-%H")-c-xi-1k | ||
| 32 | echo "" | ./run_all_pairs.sh 15 31 1001 1k ./tacleNames.txt --contend | ||
| 33 | |||
| 34 | cd ../baseline | ||
| 35 | echo "" | ../smt_analysis_rtss20/run_all_pairs_Level-C_TACLe.sh 15 31 1001 1k ./tacleNames.txt | ||
| 36 | cNo=all_pairs/$(date +"%b%d-%H")-xc-xi-1k-LC-TACLe.txt | ||
| 37 | echo "" | ../smt_analysis_rtss20/run_all_pairs_Level-C_TACLe.sh 15 31 1001 1k ./tacleNames.txt --contend | ||
| 38 | cYes=all_pairs/$(date +"%b%d-%H")-c-xi-1k-LC-TACLe.txt | ||
| 39 | |||
| 40 | echo "==== DONE ===" | ||
| 41 | echo "Results are in:" | ||
| 42 | echo "- "$baseNo | ||
| 43 | echo "- "$baseYes | ||
| 44 | echo "- "$pairsNo" (A/B)" | ||
| 45 | echo "- "$pairsYes" (A/B)" | ||
| 46 | echo "- "$cNo | ||
| 47 | echo "- "$cYes | ||
| 48 | |||
