Skip to main content

Module sizing

Module sizing 

Source
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.

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 advise sizes against besides the history.

Functions§

advise
The advice for every profile of config from history, against the slice’s memory_max.