summaryrefslogtreecommitdiffstats
path: root/run_bench.sh
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2021-03-09 20:49:40 -0500
committerJoshua Bakita <jbakita@cs.unc.edu>2021-03-09 20:54:19 -0500
commit1d44f945a2fd163b35dc30f599fdcc5e016011bc (patch)
tree5fd29a3ecdad6e3b4212dd960572e8daad659620 /run_bench.sh
parent0c2be2d9e3de91ab0a06ef6bbf9ef5d4328b8181 (diff)
Benchmarks: Move thrashing task to a submodule and update paths
Diffstat (limited to 'run_bench.sh')
-rwxr-xr-xrun_bench.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/run_bench.sh b/run_bench.sh
index 6c92fd5..c5ed73b 100755
--- a/run_bench.sh
+++ b/run_bench.sh
@@ -111,7 +111,7 @@ if [[ $userRunID == "" ]]; then
111 echo "Missing argument: a run ID is required" 111 echo "Missing argument: a run ID is required"
112 exit 112 exit
113fi 113fi
114if [[ -v contend && ! -f "/playpen/mc2/imx6q-thrasher/thrasher" ]]; then 114if [[ -v contend && ! -f "./thrasher/thrasher" ]]; then
115 echo "ERROR: cannot find thrasher binary for -B. Exiting..." 115 echo "ERROR: cannot find thrasher binary for -B. Exiting..."
116 exit 116 exit
117fi 117fi
@@ -307,12 +307,12 @@ read
307if [[ -v contend ]]; then 307if [[ -v contend ]]; then
308 echo "Done. Starting 6 contending tasks..." 308 echo "Done. Starting 6 contending tasks..."
309 # Run two contending tasks on each other CCX 309 # Run two contending tasks on each other CCX
310 taskset -c 1 /playpen/mc2/imx6q-thrasher/thrasher & 310 taskset -c 1 ./thrasher/thrasher &
311 taskset -c 2 /playpen/mc2/imx6q-thrasher/thrasher & 311 taskset -c 2 ./thrasher/thrasher &
312 taskset -c 5 /playpen/mc2/imx6q-thrasher/thrasher & 312 taskset -c 5 ./thrasher/thrasher &
313 taskset -c 6 /playpen/mc2/imx6q-thrasher/thrasher & 313 taskset -c 6 ./thrasher/thrasher &
314 taskset -c 9 /playpen/mc2/imx6q-thrasher/thrasher & 314 taskset -c 9 ./thrasher/thrasher &
315 taskset -c 10 /playpen/mc2/imx6q-thrasher/thrasher & 315 taskset -c 10 ./thrasher/thrasher &
316fi 316fi
317sleep 1 # Wait for contending tasks to start 317sleep 1 # Wait for contending tasks to start
318echo "Done. Beginning benchmarks..." 318echo "Done. Beginning benchmarks..."