diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2021-03-11 17:10:20 -0500 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2021-03-11 17:10:20 -0500 |
| commit | b16e25d69337b4b2353715e83b615254110a5196 (patch) | |
| tree | 640a1368ba9d7a25dcb34c51f7a23a66e98f0018 /run_bench.sh | |
| parent | 0163557cb47d1cbe9018ab39b5f8f8ace65b9af7 (diff) | |
Benchmarks: Fix path to thrasher binary
Diffstat (limited to 'run_bench.sh')
| -rwxr-xr-x | run_bench.sh | 14 |
1 files changed, 7 insertions, 7 deletions
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 | |||
| 111 | echo "Missing argument: a run ID is required" | 111 | echo "Missing argument: a run ID is required" |
| 112 | exit | 112 | exit |
| 113 | fi | 113 | fi |
| 114 | if [[ -v contend && ! -f "./thrasher/thrasher" ]]; then | 114 | if [[ -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 |
| 117 | fi | 117 | fi |
| @@ -307,12 +307,12 @@ read | |||
| 307 | if [[ -v contend ]]; then | 307 | if [[ -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 ./thrasher/thrasher & | 310 | taskset -c 1 ../thrasher/thrasher & |
| 311 | taskset -c 2 ./thrasher/thrasher & | 311 | taskset -c 2 ../thrasher/thrasher & |
| 312 | taskset -c 5 ./thrasher/thrasher & | 312 | taskset -c 5 ../thrasher/thrasher & |
| 313 | taskset -c 6 ./thrasher/thrasher & | 313 | taskset -c 6 ../thrasher/thrasher & |
| 314 | taskset -c 9 ./thrasher/thrasher & | 314 | taskset -c 9 ../thrasher/thrasher & |
| 315 | taskset -c 10 ./thrasher/thrasher & | 315 | taskset -c 10 ../thrasher/thrasher & |
| 316 | fi | 316 | fi |
| 317 | sleep 1 # Wait for contending tasks to start | 317 | sleep 1 # Wait for contending tasks to start |
| 318 | echo "Done. Beginning benchmarks..." | 318 | echo "Done. Beginning benchmarks..." |
