arXiv · 2605.26168
LearnedCache: eBPF-Integrated Perceptron-Based Eviction Policies for the Linux Page Cache
Abstract
Any device that runs Linux uses the Linux page cache, a central pillar in OS and application performance, serving to reduce extraneous disk access. Many page cache eviction policies have been developed but remain bound by the rigidity of heuristics. Promising research has been done on neural cache eviction policies, but only in the field of user-space applications such as CDNs. We present LearnedCache, a set of machine-learning-based page cache eviction policies that run live inside the Linux kernel through the cache_ext eBPF framework. LearnedCache trains a lightweight perceptron per workload on kernel trace data collected using eBPF to predict whether eviction candidates will be reused within a bounded horizon and deploys it through two eBPF policies. The resulting policies consistently compete with and outperform both external heuristic policies and the kernel's own, improving application throughput by up to 44% versus standard kernel policies.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Zejia Qi. 2026-05-25. LearnedCache: eBPF-Integrated Perceptron-Based Eviction Policies for the Linux Page Cache. https://arxiv.org/abs/2605.26168
Cite the original work for its findings. Save a collection to share your selection of sources.