Expand description
Right-sizing advice from the job history: the spread of each profile’s and each job’s sampled peaks, waits and
slot use, and the memory and slots to set. Pure: the store reads the history, the daemon serves the result
(api::Sizing). It never changes the config: a client applies advice through PUT /v1/config, which validates
it like any other config, and under [sizing] auto the daemon applies what auto::changes picks the same way.
Modules§
- auto
- Auto sizing: which profiles’
memoryandslotsthe daemon changes now, from the advice and within 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 asPUT /v1/configdoes, and records it. Never lowers a profile a run met the cap of, never sizes a profile from fewer than[sizing] min_jobsjobs, never leaves a profile outside its bounds, and sizes each profile against the budget the changes before it in the same look leave.
Structs§
- Held
- One runner container’s time in a slot. Times in milliseconds.
- History
- What the store reads for sizing.
- Ran
- One finished job of this daemon’s runners, as sizing reads it. Times in milliseconds.
- Window
- What
advisesizes against besides the history.
Enums§
- Measure
- What a run’s sampled memory counts.
Functions§
- advise
- The advice for every profile of
configfromhistory, against the slice’smemory_maxasconfig’s admission policy budgets it.