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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
32 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Baleen: ML Admission & Prefetching for Flash Caches cites OSCA: An Online-Model Based Cache Allocation Scheme in Cloud Block Storage Systems
- Baleen: ML Admission & Prefetching for Flash Caches cites The CacheLib Caching Engine: Design and Experiences at Scale
- The Storage Hierarchy is Not a Hierarchy: Optimizing Caching on Modern Storage Devices with Orthus cites A large scale analysis of hundreds of in-memory cache clusters at Twitter
- SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web Caches cites The CacheLib Caching Engine: Design and Experiences at Scale
- SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web Caches cites A large scale analysis of hundreds of in-memory cache clusters at Twitter
- KVCache Cache in the Wild: Characterizing and Optimizing KVCache Cache at a Large Cloud Provider cites SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web Caches
- KVCache Cache in the Wild: Characterizing and Optimizing KVCache Cache at a Large Cloud Provider cites The CacheLib Caching Engine: Design and Experiences at Scale
- KVCache Cache in the Wild: Characterizing and Optimizing KVCache Cache at a Large Cloud Provider cites InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management
- KVCache Cache in the Wild: Characterizing and Optimizing KVCache Cache at a Large Cloud Provider cites A large scale analysis of hundreds of in-memory cache clusters at Twitter
- InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management cites The CacheLib Caching Engine: Design and Experiences at Scale
- A large scale analysis of hundreds of in-memory cache clusters at Twitter cites The CacheLib Caching Engine: Design and Experiences at Scale
Cited 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
