FIFO queues are all you need for cache eviction
Juncheng Yang, Yazhuo Zhang, Ziyue Qiu, Yao Yue, Rashmi Vinayak
Abstract
As a cache eviction algorithm, FIFO has a lot of attractive properties, such as simplicity, speed, scalability, and flashfriendliness. The most prominent criticism of FIFO is its low efficiency (high miss ratio).
In this work, we demonstrate a simple, scalable FIFObased algorithm with three static queues (S3-FIFO). Evaluated on 6594 cache traces from 14 datasets, we show that S3-FIFO has lower miss ratios than state-of-the-art algorithms across traces. Moreover, S3-FIFO's efficiency is robust -it has the lowest mean miss ratio on 10 of the 14 datasets. FIFO queues enable S3-FIFO to achieve good scalability with 6× higher throughput compared to optimized LRU at 16 threads.
Our insight is that most objects in skewed workloads will only be accessed once in a short window, so it is critical to evict them early (also called quick demotion). The key of S3-FIFO is a small FIFO queue that filters out most objects from entering the main cache, which provides a guaranteed demotion speed and high demotion precision.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 80fda52e-1276-4eff-a248-a42dbd6876ebCited by top-tier papers32
- InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache ManagementWonbeom Lee, Jungi Lee, Junghwan Seo, Jaewoong SimOSDI 2024 · 248 citations
- KVCache Cache in the Wild: Characterizing and Optimizing KVCache Cache at a Large Cloud ProviderJiahao Wang, Jinbo Han, Xingda Wei, Sijie Shen et al.USENIX ATC 2025 · 70 citations
- SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web CachesYazhuo Zhang, Juncheng Yang, Yao Yue, Ymir Vigfusson et al.NSDI 2024 · 63 citations
- Baleen: ML Admission & Prefetching for Flash CachesDaniel Lin-Kit Wong, Hao Wu, Carson Molder, Sathya Gunasekar et al.FAST 2024 · 26 citations
- Bagpipe: Accelerating Deep Recommendation Model TrainingSaurabh Agarwal, Chengpo Yan, Ziyi Zhang, Shivaram VenkataramanSOSP 2023 · 17 citations
Builds on23
- A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 citations
- The CacheLib Caching Engine: Design and Experiences at ScaleBenjamin Berg, Daniel S. Berger, Sara McAllister, Isaac Grosof et al.OSDI 2020 · 145 citations
- LinnOS: Predictability on Unpredictable Flash Storage with a Light Neural NetworkMingzhe Hao, Levent Toksoz, Nanqinqin Li, Edward Edberg Halim et al.OSDI 2020 · 97 citations
- OSCA: An Online-Model Based Cache Allocation Scheme in Cloud Block Storage SystemsYu Zhang, Ping Huang, Ke Zhou, Hua Wang et al.USENIX ATC 2020 · 74 citations
- The Storage Hierarchy is Not a Hierarchy: Optimizing Caching on Modern Storage Devices with OrthusKan Wu, Zhihan Guo, Guanzhou Hu, Kaiwei Tu et al.FAST 2021 · 73 citations
Related papers
- Learning-Augmented Heuristics: Simple Yet Smart, Robust and Interpretable Cache EvictionHaocheng Xia, William Nixon, Bintang Dwi Marthen, Pranav Bhandari et al.OSDI 2026 · 1 citation
- Demystifying and Improving Lazy Promotion in Cache EvictionQinghan Chen, Muhammad Haekal Muhyidin Al-Araby, Ziyue Qiu, Zhuofan Chen et al.VLDB 2026
- Merlin: An Efficient Adaptive Cache Eviction Algorithm via Fine-Grained CharacterizationLiujia Li, Jinhao Guo, Yi Fan, Jianyu Wu et al.OSDI 2026
- FrozenHot Cache: Rethinking Cache Management for Modern HardwareZiyue Qiu, Juncheng Yang, Juncheng Zhang, Cheng Li et al.EuroSys 2023 · 33 citations
- Segcache: a memory-efficient and scalable in-memory key-value cache for small objectsJuncheng Yang, Yao Yue, Rashmi VinayakNSDI 2021 · 70 citations
