Kosmo: Efficient Online Miss Ratio Curve Generation for Eviction Policy Evaluation
Kia Shakiba, Sari Sultan, Michael Stumm
Abstract
In-memory caches play an important role in reducing the load on backend storage servers for many workloads. Miss ratio curves (MRCs) are an important tool for configuring these caches with respect to cache size and eviction policy. MRCs provide insight into the trade-off between cache size (and thus costs) and miss ratio for a specific eviction policy. Over the years, many MRC-generation algorithms have been developed. However, to date, only Miniature Simulations is capable of efficiently generating MRCs for popular eviction policies, such as Least Frequently Used (LFU), First-In-First-Out (FIFO), 2Q, and Least Recently/Frequently Used (LRFU), that do not adhere to the inclusion property. One critical downside of Miniature Simulations is that it incurs significant memory overhead, precluding its use for online cache analysis at runtime in many cases.
In this paper, we introduce Kosmo, an MRC generation algorithm that allows for the simultaneous generation of MRCs for a variety of eviction policies that do not adhere to the inclusion property. We evaluate Kosmo using 52 publiclyaccessible cache access traces with a total of roughly 126 billion accesses. Compared to Miniature Simulations configured with 100 simulated caches, Kosmo has lower memory overhead by a factor of 3.6 on average, and as high as 36, and a higher throughput by a factor of 1.3 making it far more suitable for online MRC generation.
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 a62b5ae8-78ba-45a9-bfa7-728d17ddcaf8Cited by top-tier papers4
- FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size CacheXiaojun Guo, Hua Wang, Ke Zhou, Hong Jiang et al.EuroSys 2024 · 1 citation
- Merlin: An Efficient Adaptive Cache Eviction Algorithm via Fine-Grained CharacterizationLiujia Li, Jinhao Guo, Yi Fan, Jianyu Wu et al.OSDI 2026
- Espresso: Constructing Cost-Efficient CXL JBOF via Inter-SSD Computing Resource SharingShushu Yi, Yuda An, Li Peng, Xiurui Pan et al.OSDI 2026
- MDK: Rethinking the Data Center Memory Reclamation ProblemShaurya Patel, Suli Yang, Yawen Wang, Kan Wu et al.OSDI 2026
Builds on6
- InfiniCache: Exploiting Ephemeral Serverless Functions to Build a Cost-Effective Memory CacheAo Wang, Jingyuan Zhang, Xiaolong Ma, Ali Anwar et al.FAST 2020 · 118 citations
- Segcache: a memory-efficient and scalable in-memory key-value cache for small objectsJuncheng Yang, Yao Yue, Rashmi VinayakNSDI 2021 · 70 citations
- FIFO queues are all you need for cache evictionJuncheng Yang, Yazhuo Zhang, Ziyue Qiu, Yao Yue et al.SOSP 2023 · 54 citations
- eMRC: Efficient Miss Ratio Approximation for Multi-Tier CachingZhang Liu, Hee Won Lee, Yu Xiang, Dirk Grunwald et al.FAST 2021 · 19 citations
- Efficient Miss Ratio Curve Computation for Heterogeneous Content PopularityDamiano Carra, Giovanni NegliaUSENIX ATC 2020 · 13 citations
Related papers
- 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
- TTLs Matter: Efficient Cache Sizing with TTL-Aware Miss Ratio Curves and Working Set SizesSari Sultan, Kia Shakiba, Albert Lee, Paul Chen et al.EuroSys 2024 · 8 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
- LPCA: learned MRC profiling based cache allocation for file storage systemsYibin Gu, Yifan Li, Hua Wang, Li Liu et al.DAC 2022 · 4 citations
- 3L-Cache: Low Overhead and Precise Learning-based Eviction Policy for CachesWenbin Zhou, Zhixiong Niu, Yongqiang Xiong, Juan Fang et al.FAST 2025 · 16 citations
