Hill-Cache: Adaptive Integration of Recency and Frequency in Caching with Hill-Climbing
Yunfan Li, Huiqi Hu, Chaojing Lei, Xuan Zhou, Weining Qian
Abstract
Cache replacement policies are essential for maximizing application performance. Policies such as LRFU, which incorporate both recency and frequency, have shown efficacy in improving hit rates in many studies. In this paper, we theoretically investigated how parameters impact hit rates in LRFU and discovered two distinct features named unimodality and correlation. Drawing on our understanding, we formulated Hill-Cache. Hill-Cache provides a holistic approach to cache. It incorporates recency and frequency and employs a hill-climbing algorithm for adaptability. Additionally, it improves churn resistance through quick demotion, the approach that the most recent research suggests. By overcoming the limitations of LRFU, including high maintenance overhead and dependency on parameters, Hill-Cache distinguishes itself as a new cache method. Hill-Cache is well-suited for situations where there is an efficiency gap between performance devices and capacity devices, including data caching applications and database systems. Our evaluations, employing 36 real-world traces and various sophisticated policies across diverse cache sizes, demonstrated the superior performance of Hill-Cache. It reduces the average miss rate by 11.97% compared to LRU and outperforms other advanced cache policies such as ARC, LIRS, DLIRS, CACHEUS, and S3FIFO. We incorporated Hill-Cache into Memcached and RocksDB, significantly improving performance metrics such as throughput and latency.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get b1369bd3-f80f-4b02-a73e-4422ae4e029dRelated papers
- twCache: Thread-Wise Cache Management with High Concurrency PerformanceYigui Yuan, Peiquan Jin, Xiaoliang WangICDE 2025 · 2 citations
- Latency-Aware Caching with Delayed Hits: From Bursty Traffic to Pipeline ArchitecturesNadav Keren, Gil Einziger, Gabriel ScalosubNSDI 2026 · 1 citation
- Learning Cache Replacement with CACHEUSLiana V. Rodriguez, Farzana Beente Yusuf, Steven Lyons, Eysler Paz et al.FAST 2021 · 26 citations
- Competitive Consistent Caching for TransactionsShuai An, Yang Cao, Wenyue ZhaoICDE 2022 · 1 citation
- Demystifying and Improving Lazy Promotion in Cache EvictionQinghan Chen, Muhammad Haekal Muhyidin Al-Araby, Ziyue Qiu, Zhuofan Chen et al.VLDB 2026
