diff options
Diffstat (limited to 'run_bench.sh')
-rwxr-xr-x | run_bench.sh | 4 |
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 |