Skip to main content

Module memory

Module memory 

Source
Expand description

What a profile’s runs say about its memory (ADR 0070): each job’s sizing window (admission::recent), what a raise needs (raise_need: only runs that met the current cap since the profile took it), what a lowering must stay above (lower_floor: every windowed run’s need), and a lowering auto sizing made that went too far, which is reverted. Pure; advise and auto sizing read it, never a client.

Constants§

CHANGES_READ
How far back auto sizing’s recorded changes are read for a revert, in ms: 60 days, so a lowering up to 30 days before the run that met its cap is found while that run is in the history.
FAILED_RUNS
A lowering is reverted after this many failures in a row at it, of a job that succeeded at the cap it came from.
HISTORY
How far back the windows read, in ms: 30 days, whatever since a client asked for.