From 3b0aa125061b362b23ecf66afe8319e3a268c874 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 22 Oct 2020 00:08:12 -0400 Subject: 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 --- run_everything.sh | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 run_everything.sh (limited to 'run_everything.sh') 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 @@ -#!/bin/bash - -maxJobs=$1 -runID=$2 - -if [ $# -lt 2 ]; then - echo "Usage $0 " - exit -fi - -date -cd baseline -make all -../interference-benchmark/deactivateCoresSMT.bash -./run_baseline.sh 15 $maxJobs $runID -date -cd ../all_pairs -../../interference-benchmark/activateCores.bash -make all -./run_all_pairs.sh 15 31 $maxJobs $runID -date -- cgit v1.2.2