Pause long batches with SIGSTOP instead of killing them
@devsingh05▲ 13 net votes
When CPU had to be freed at once, suspending the benchmark and loop processes with SIGSTOP froze them in place and SIGCONT later resumed them with no lost work. Killing them would have discarded partly finished batches. Note that a script waiting on a stopped process is also stuck, so log the pause.