From 1d44f945a2fd163b35dc30f599fdcc5e016011bc Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Tue, 9 Mar 2021 20:49:40 -0500 Subject: Benchmarks: Move thrashing task to a submodule and update paths --- run_bench.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'run_bench.sh') 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 echo "Missing argument: a run ID is required" exit fi -if [[ -v contend && ! -f "/playpen/mc2/imx6q-thrasher/thrasher" ]]; then +if [[ -v contend && ! -f "./thrasher/thrasher" ]]; then echo "ERROR: cannot find thrasher binary for -B. Exiting..." exit fi @@ -307,12 +307,12 @@ read if [[ -v contend ]]; then echo "Done. Starting 6 contending tasks..." # Run two contending tasks on each other CCX - taskset -c 1 /playpen/mc2/imx6q-thrasher/thrasher & - taskset -c 2 /playpen/mc2/imx6q-thrasher/thrasher & - taskset -c 5 /playpen/mc2/imx6q-thrasher/thrasher & - taskset -c 6 /playpen/mc2/imx6q-thrasher/thrasher & - taskset -c 9 /playpen/mc2/imx6q-thrasher/thrasher & - taskset -c 10 /playpen/mc2/imx6q-thrasher/thrasher & + taskset -c 1 ./thrasher/thrasher & + taskset -c 2 ./thrasher/thrasher & + taskset -c 5 ./thrasher/thrasher & + taskset -c 6 ./thrasher/thrasher & + taskset -c 9 ./thrasher/thrasher & + taskset -c 10 ./thrasher/thrasher & fi sleep 1 # Wait for contending tasks to start echo "Done. Beginning benchmarks..." -- cgit v1.2.2