serpent-os / tools

The home of moss (system state manager) and boulder (moss format build tool)
https://serpentos.com
132 stars 12 forks source link

boulder: Set SCHED_BATCH for builds #356

Closed ReillyBrogan closed 1 week ago

ReillyBrogan commented 2 weeks ago

By default set the priority to SCHED_BATCH to hint to the scheduler that boulder is not interactive and to optimize scheduling for throughput. This should help improve system responsiveness during high CPU builds.

In case the user doesn't want this for some reason also add a flag to disable this behavior.