summaryrefslogtreecommitdiffstats
path: root/run_tacle_rtss20.sh
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-17 21:36:21 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-17 21:36:21 -0400
commite5db76ee18640ce27df8756e573ef8b497af4750 (patch)
tree8442b5f064f93c02906f4ef48cdb478cf627b4d2 /run_tacle_rtss20.sh
parentecf6547fdce39b3ec0f333c9b391b0f1c25deba5 (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-xrun_tacle_rtss20.sh48
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
5if uname -a | grep -q mc2; then
6 echo "You need to run this without MC^2!"
7 exit
8fi
9
10if [ "$EUID" -ne 0 ]; then
11 echo "You need to be root to enable interrupt isolation and real-time execution!"
12 exit
13fi
14
15echo "This will run the contended and uncontended TACLe baseline, all-pairs, and Level-C micro-benchamarks in non-interactive mode."
16echo "Please press enter to confirm (Ctrl-C to abort)..."
17read
18
19echo "performance" > /sys/devices/system/cpu/cpu15/cpufreq/scaling_governor
20echo "performance" > /sys/devices/system/cpu/cpu31/cpufreq/scaling_governor
21
22cd baseline
23baseNo=baseline/$(date +"%b%d-%H")-xc-xi-1k.txt
24echo "" | ./run_baseline.sh 15 1001 1k ../all_pairs/tacleNames.txt
25baseYes=baseline/$(date +"%b%d-%H")-c-xi-1k.txt
26echo "" | ./run_baseline.sh 15 1001 1k ../all_pairs/tacleNames.txt --contend
27
28cd ../all_pairs
29pairsNo=all_pairs/$(date +"%b%d-%H")-xc-xi-1k
30echo "" | ./run_all_pairs.sh 15 31 1001 1k ./tacleNames.txt
31pairsYes=all_pairs/$(date +"%b%d-%H")-c-xi-1k
32echo "" | ./run_all_pairs.sh 15 31 1001 1k ./tacleNames.txt --contend
33
34cd ../baseline
35echo "" | ../smt_analysis_rtss20/run_all_pairs_Level-C_TACLe.sh 15 31 1001 1k ./tacleNames.txt
36cNo=all_pairs/$(date +"%b%d-%H")-xc-xi-1k-LC-TACLe.txt
37echo "" | ../smt_analysis_rtss20/run_all_pairs_Level-C_TACLe.sh 15 31 1001 1k ./tacleNames.txt --contend
38cYes=all_pairs/$(date +"%b%d-%H")-c-xi-1k-LC-TACLe.txt
39
40echo "==== DONE ==="
41echo "Results are in:"
42echo "- "$baseNo
43echo "- "$baseYes
44echo "- "$pairsNo" (A/B)"
45echo "- "$pairsYes" (A/B)"
46echo "- "$cNo
47echo "- "$cYes
48