diff options
Diffstat (limited to 'run_bench.sh')
| -rwxr-xr-x | run_bench.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/run_bench.sh b/run_bench.sh index 250d843..ddc6bcc 100755 --- a/run_bench.sh +++ b/run_bench.sh | |||
| @@ -373,11 +373,11 @@ for (( i = 0; i < ${#bench[@]} ; i++ )); do | |||
| 373 | else | 373 | else |
| 374 | # No synchronization between pairs - original soft real-time SMT approach | 374 | # No synchronization between pairs - original soft real-time SMT approach |
| 375 | if [[ -v $LITMUS ]]; then | 375 | if [[ -v $LITMUS ]]; then |
| 376 | echo "${input[$i]}" | numactl $numa_arg0 taskset -c $core $prefix/${bench[$j]} ${bench[$j]} -1 $core NULL 0 & PID1=$!; | 376 | echo "${input[$j]}" | numactl $numa_arg0 taskset -c $core $prefix/${bench[$j]} ${bench[$j]} -1 $core NULL 0 & PID1=$!; |
| 377 | echo "${input[$j]}" | numactl $numa_arg1 taskset -c $core_two $prefix/${bench[$i]} ${bench[$i]}"+"${bench[$j]} $maxJobs $core_two $runID-$userRunID 1 & PID2=$!; | 377 | echo "${input[$i]}" | numactl $numa_arg1 taskset -c $core_two $prefix/${bench[$i]} ${bench[$i]}"+"${bench[$j]} $maxJobs $core_two $runID-$userRunID 1 & PID2=$!; |
| 378 | else | 378 | else |
| 379 | echo "${input[$i]}" | chrt -r 97 numactl $numa_arg0 taskset -c $core $prefix/${bench[$j]} ${bench[$j]} -1 $core NULL 0 & PID1=$!; | 379 | echo "${input[$j]}" | chrt -r 97 numactl $numa_arg0 taskset -c $core $prefix/${bench[$j]} ${bench[$j]} -1 $core NULL 0 & PID1=$!; |
| 380 | echo "${input[$j]}" | chrt -r 97 numactl $numa_arg1 taskset -c $core_two $prefix/${bench[$i]} ${bench[$i]}"+"${bench[$j]} $maxJobs $core_two $runID-$userRunID 1 & PID2=$!; | 380 | echo "${input[$i]}" | chrt -r 97 numactl $numa_arg1 taskset -c $core_two $prefix/${bench[$i]} ${bench[$i]}"+"${bench[$j]} $maxJobs $core_two $runID-$userRunID 1 & PID2=$!; |
| 381 | fi | 381 | fi |
| 382 | wait $PID2 | 382 | wait $PID2 |
| 383 | kill $PID1 | 383 | kill $PID1 |
