Skip to main content

sweep_size

Function sweep_size 

Source
pub fn sweep_size(bytes: u64) -> u64
Expand description

The sweep size a working set of bytes is probed at: the power of two at or below it, never below MIN_WORKING_SET.

One cache entry an octave, rather than one per distinct byte count. Down, so the ceiling a consumer reads is one the working set can reach: the rate climbs steeply per octave along the ramp, and the size above would report close to twice what these bytes move.