Skip to main content

CACHE_RESIDENCY_SENDFILE_THRESHOLD

Constant CACHE_RESIDENCY_SENDFILE_THRESHOLD 

Source
pub const CACHE_RESIDENCY_SENDFILE_THRESHOLD: f64 = 0.80;
Expand description

Minimum page-cache residency ratio to trigger the cachestat sendfile fast-path. At >=80% resident, sendfile outperforms io_uring for files in the decision zone.