Expand description
Auto sizing: which profiles’ memory, slots and cpus the daemon changes now, from the advice, the runs since
each profile’s last change and the limits [sizing] and each profile set. Pure: the daemon reads the history and
when each profile last changed, writes each change through the config check as PUT /v1/config does, and records
it. Never lowers a profile while a job is on its cap, never changes memory from fewer than [sizing] min_jobs
jobs, never lowers within [sizing] interval of a profile’s last change or raises within raise_interval, never
leaves a profile outside its bounds, and sizes each profile against the budget the changes before it in the same
look leave. Moves cpus only on the CPU averages of runs at the profile’s current cpus since its last change
and since the daemon got them, never on CPU peaks: a parallel build peaks at whatever cap it gets.
Structs§
- Context
- What auto sizing reads besides the config and the history.
- Look
- What a look does: the changes
changespicks, and thecpusraises it cannot make.