Skip to main content

PAGE_CACHE_ROOM

Constant PAGE_CACHE_ROOM 

Source
pub const PAGE_CACHE_ROOM: u64 = _ /* 1_073_741_824u64 */;
Expand description

What a cap keeps at least over the largest peak, for page cache: 1G. Peaks leave page cache out, and a container whose memory past them leaves the kernel less than about 500M of page cache to reclaim at its cap reclaims badly, which throttles its sockets and slows its downloads (ADR 0055).