summaryrefslogtreecommitdiffstats
path: root/run_tacle_rtss20.sh
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-20 18:20:39 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-20 18:23:06 -0400
commitec0512af6bbb8ba05eb13fc1aac7754283dd13aa (patch)
tree17b31bba227776734555f9dde3ad17aa39aa54f4 /run_tacle_rtss20.sh
parentdd606a16e840880e7617b140f6083af8ea83b6b7 (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-xrun_tacle_rtss20.sh48
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
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