diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-17 21:36:21 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-17 21:36:21 -0400 |
| commit | e5db76ee18640ce27df8756e573ef8b497af4750 (patch) | |
| tree | 8442b5f064f93c02906f4ef48cdb478cf627b4d2 /run_tacle_rtss20.sh | |
| parent | ecf6547fdce39b3ec0f333c9b391b0f1c25deba5 (diff) | |
All the TACLeBench runner scripts as used for the (rejected) RTSS'20 submission
Everything without isolation: run_tacle_rtss20.sh
For isolation you have to run the hodgepodge of scripts as before.
Diffstat (limited to 'run_tacle_rtss20.sh')
| -rwxr-xr-x | run_tacle_rtss20.sh | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/run_tacle_rtss20.sh b/run_tacle_rtss20.sh new file mode 100755 index 0000000..6770c55 --- /dev/null +++ b/run_tacle_rtss20.sh | |||
| @@ -0,0 +1,48 @@ | |||
| 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 | |||
