From b16e25d69337b4b2353715e83b615254110a5196 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 11 Mar 2021 17:10:20 -0500 Subject: Benchmarks: Fix path to thrasher binary --- 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 c5ed73b..cf94719 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 "./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 ./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 & + 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