On Linux chrt and iotop can be used to set the scheduling priority for a process.
We can use it to tactically make all heavy compilation processes have "idle" priority which means they will only execute if nothing else is trying to. AFAIK, this is a global setting and should be respected between cgroups etc.
Since we can now schedule more jobs on a single CI box, such change makes it less likely for time sensitive tasks (tests) to miss some deadline, while still utilizing resources when possible.
On Linux
chrt
andiotop
can be used to set the scheduling priority for a process.We can use it to tactically make all heavy compilation processes have "idle" priority which means they will only execute if nothing else is trying to. AFAIK, this is a global setting and should be respected between cgroups etc.
Since we can now schedule more jobs on a single CI box, such change makes it less likely for time sensitive tasks (tests) to miss some deadline, while still utilizing resources when possible.