summaryrefslogtreecommitdiffstats
path: root/run_bench.sh
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 03:42:36 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 03:49:48 -0400
commite03d81c688e1070c16025c2a215ccb1a24ce2098 (patch)
tree36253f0249be4f52799cabbdd3e36ae39bcd1894 /run_bench.sh
parent163c440444c74a4e0bbe0a8db3d1ca725413994b (diff)
Get all the SD-VBS tests running and add a helper script + typo fix
- Add a run_all_sd-vbs.sh script - Fix a typo in run_all_tacle.sh - Fix an issue with reversed arguments for asynchronous task pairs in run_bench.sh
Diffstat (limited to 'run_bench.sh')
-rwxr-xr-xrun_bench.sh8
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