summaryrefslogtreecommitdiffstats
path: root/run_bench.sh
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-23 15:56:49 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-23 15:56:49 -0400
commit8e9d3399bbc1249370a4423bce3d1db9e417d952 (patch)
tree9f8c98a0d3dd4f1e9abc33b40b6383486ef61aeb /run_bench.sh
parent08acd263bc6286a1b9ccb94a0210a8a9ce91ac27 (diff)
Fix an argument parsing error in libextra and cleanup
Diffstat (limited to 'run_bench.sh')
-rwxr-xr-xrun_bench.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_bench.sh b/run_bench.sh
index ddc6bcc..6c92fd5 100755
--- a/run_bench.sh
+++ b/run_bench.sh
@@ -363,10 +363,10 @@ for (( i = 0; i < ${#bench[@]} ; i++ )); do
363 # Synchronize between pairs - original hard real-time SMT approach 363 # Synchronize between pairs - original hard real-time SMT approach
364 if [[ -v $LITMUS ]]; then 364 if [[ -v $LITMUS ]]; then
365 echo "${input[$i]}" | numactl $numa_arg0 taskset -c $core $prefix/${bench[$i]} ${bench[$i]} $maxJobs $core $core_two ${bench[$j]} $runID-$userRunID-A 1 & PID1=$!; 365 echo "${input[$i]}" | numactl $numa_arg0 taskset -c $core $prefix/${bench[$i]} ${bench[$i]} $maxJobs $core $core_two ${bench[$j]} $runID-$userRunID-A 1 & PID1=$!;
366 echo "${input[$j]}" | numactl $numa_arg1 taskset -c $core_two $prefix/${bench[$j]} ${bench[$j]} $maxJobs $core_two $core ${bench[$i]} $runID-$userRunID-B 2 & PID2=$!; 366 echo "${input[$j]}" | numactl $numa_arg1 taskset -c $core_two $prefix/${bench[$j]} ${bench[$j]} $maxJobs $core_two $core ${bench[$i]} $runID-$userRunID-B 1 & PID2=$!;
367 else 367 else
368 echo "${input[$i]}" | chrt -r 97 numactl $numa_arg0 taskset -c $core $prefix/${bench[$i]} ${bench[$i]} $maxJobs $core $core_two ${bench[$j]} $runID-$userRunID-A 1 & PID1=$!; 368 echo "${input[$i]}" | chrt -r 97 numactl $numa_arg0 taskset -c $core $prefix/${bench[$i]} ${bench[$i]} $maxJobs $core $core_two ${bench[$j]} $runID-$userRunID-A 1 & PID1=$!;
369 echo "${input[$j]}" | chrt -r 97 numactl $numa_arg1 taskset -c $core_two $prefix/${bench[$j]} ${bench[$j]} $maxJobs $core_two $core ${bench[$i]} $runID-$userRunID-B 2 & PID2=$!; 369 echo "${input[$j]}" | chrt -r 97 numactl $numa_arg1 taskset -c $core_two $prefix/${bench[$j]} ${bench[$j]} $maxJobs $core_two $core ${bench[$i]} $runID-$userRunID-B 1 & PID2=$!;
370 fi 370 fi
371 # We launched them asynchronously, so we have to wait 371 # We launched them asynchronously, so we have to wait
372 wait $PID1 $PID2 372 wait $PID1 $PID2