Skip to main content

WARM_CACHE_PROBE_INTERVAL

Constant WARM_CACHE_PROBE_INTERVAL 

Source
pub const WARM_CACHE_PROBE_INTERVAL: u64 = 4096;
Expand description

Warm-pass cache-usage probe cadence (iterated entries).

rocksdb_cache_get_usage takes the cache’s internal shard mutex, so probing per entry would throttle the walk itself; a few thousand entries between probes bounds overshoot to a block or two.