summaryrefslogtreecommitdiffstats
path: root/run_everything.sh
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 00:08:12 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 00:08:12 -0400
commit3b0aa125061b362b23ecf66afe8319e3a268c874 (patch)
tree9323b85d5a3a0d14e33a28caa9ffc3b8ce7225be /run_everything.sh
parentedb491490ccd0cae4bd28ca9c9a7e095a47c749b (diff)
Add pair benchmarking and isolation specification into run_bench.sh
This allows `run_bench.sh` to replace all previous general paired benchmarking scripts. See `run_everything.sh` for an example of how to use the new script. This also fixes two critical bugs present in the old scripts: 1. The cpus_list was incorrectly set for resctrl when running synchronous pair timing with L2+L3 isolation (i). Each write to that file replaces the previous contents, and it was previously written once for each core. This prevented the entire 1st core from using any L3 cache. 2. The competing task list was indexed improperly in the asynchronous pair timing script. This caused the competing task to always be identical to the task being profiled. These issues combine to imply that in the rejected RTSS'20 paper: - All Level-C SMT timing data is suspect - Level-A and -B SMT timing data with L2+L3 isolation (i) is wildly optimistic
Diffstat (limited to 'run_everything.sh')
-rwxr-xr-xrun_everything.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/run_everything.sh b/run_everything.sh
deleted file mode 100755
index 8d46ad7..0000000
--- a/run_everything.sh
+++ /dev/null
@@ -1,21 +0,0 @@
1#!/bin/bash
2
3maxJobs=$1
4runID=$2
5
6if [ $# -lt 2 ]; then
7 echo "Usage $0 <number of iterations> <run ID>"
8 exit
9fi
10
11date
12cd baseline
13make all
14../interference-benchmark/deactivateCoresSMT.bash
15./run_baseline.sh 15 $maxJobs $runID
16date
17cd ../all_pairs
18../../interference-benchmark/activateCores.bash
19make all
20./run_all_pairs.sh 15 31 $maxJobs $runID
21date