Skip to main content

WARM_CACHE_FILL_FRACTION

Constant WARM_CACHE_FILL_FRACTION 

Source
pub const WARM_CACHE_FILL_FRACTION: f64 = 0.667;
Expand description

Fraction of block-cache capacity the warm pass fills before stopping ([warm_walk]).

Deliberately below 1.0: an LRU evicts from its tail, so warming to exact capacity would have the pass’s own tail evict its head before the first query runs. Headroom also absorbs pinned index blocks (when WARATAH_PIN_INDEX is on) and the first queries’ own misses.