Skip to main content

need

Function need 

Source
pub fn need(peak: u64, margin: u32) -> u64
Expand description

What a set of jobs whose largest sampled peak is peak needs, with margin percent: the peak plus the margin, or plus PAGE_CACHE_ROOM when that is more, rounded up to GRANULE. The largest, not a percentile: the cap kills a job that goes over it, so a cap below a peak a job reached kills it again.