Kosmo: Efficient Online Miss Ratio Curve Generation for Eviction Policy Evaluation
Kia Shakiba, Sari Sultan, Michael Stumm
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- FIFO queues are all you need for cache eviction 引用了 Segcache: a memory-efficient and scalable in-memory key-value cache for small objects
- Merlin: An Efficient Adaptive Cache Eviction Algorithm via Fine-Grained Characterization 引用了 FIFO queues are all you need for cache eviction
- Merlin: An Efficient Adaptive Cache Eviction Algorithm via Fine-Grained Characterization 引用了 FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size Cache
- FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size Cache 引用了 Segcache: a memory-efficient and scalable in-memory key-value cache for small objects
- FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size Cache 引用了 FIFO queues are all you need for cache eviction
- FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size Cache 引用了 Efficient Miss Ratio Curve Computation for Heterogeneous Content Popularity
- MDK: Rethinking the Data Center Memory Reclamation Problem 引用了 FIFO queues are all you need for cache eviction
引用它的顶会 Paper4
- FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size CacheXiaojun Guo, Hua Wang, Ke Zhou, Hong Jiang 等EuroSys 2024 · 1 次引用
- Merlin: An Efficient Adaptive Cache Eviction Algorithm via Fine-Grained CharacterizationLiujia Li, Jinhao Guo, Yi Fan, Jianyu Wu 等OSDI 2026
- Espresso: Constructing Cost-Efficient CXL JBOF via Inter-SSD Computing Resource SharingShushu Yi, Yuda An, Li Peng, Xiurui Pan 等OSDI 2026
- MDK: Rethinking the Data Center Memory Reclamation ProblemShaurya Patel, Suli Yang, Yawen Wang, Kan Wu 等OSDI 2026
它引用的 Paper6
- InfiniCache: Exploiting Ephemeral Serverless Functions to Build a Cost-Effective Memory CacheAo Wang, Jingyuan Zhang, Xiaolong Ma, Ali Anwar 等FAST 2020 · 118 次引用
- Segcache: a memory-efficient and scalable in-memory key-value cache for small objectsJuncheng Yang, Yao Yue, Rashmi VinayakNSDI 2021 · 70 次引用
- FIFO queues are all you need for cache evictionJuncheng Yang, Yazhuo Zhang, Ziyue Qiu, Yao Yue 等SOSP 2023 · 54 次引用
- eMRC: Efficient Miss Ratio Approximation for Multi-Tier CachingZhang Liu, Hee Won Lee, Yu Xiang, Dirk Grunwald 等FAST 2021 · 19 次引用
- Efficient Miss Ratio Curve Computation for Heterogeneous Content PopularityDamiano Carra, Giovanni NegliaUSENIX ATC 2020 · 13 次引用
相关 Paper
- OSCA: An Online-Model Based Cache Allocation Scheme in Cloud Block Storage SystemsYu Zhang, Ping Huang, Ke Zhou, Hua Wang 等USENIX ATC 2020 · 74 次引用
- TTLs Matter: Efficient Cache Sizing with TTL-Aware Miss Ratio Curves and Working Set SizesSari Sultan, Kia Shakiba, Albert Lee, Paul Chen 等EuroSys 2024 · 8 次引用
- SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web CachesYazhuo Zhang, Juncheng Yang, Yao Yue, Ymir Vigfusson 等NSDI 2024 · 63 次引用
- LPCA: learned MRC profiling based cache allocation for file storage systemsYibin Gu, Yifan Li, Hua Wang, Li Liu 等DAC 2022 · 4 次引用
- 3L-Cache: Low Overhead and Precise Learning-based Eviction Policy for CachesWenbin Zhou, Zhixiong Niu, Yongqiang Xiong, Juan Fang 等FAST 2025 · 16 次引用
