GL-Cache: Group-level learning for efficient and high-performance caching
Juncheng Yang, Ziming Mao, Yao Yue, K. V. Rashmi
摘要
Web applications rely heavily on software caches to achieve low-latency, high-throughput services. To adapt to changing workloads, three types of learned caches (learned evictions) have been designed in recent years: object-level learning, learning-from-distribution, and learning-from-simple-experts. However, we argue that the learning granularity in existing approaches is either too fine (object-level), incurring significant computation and storage overheads, or too coarse (workload or expert-level) to capture the differences between objects and leaves a considerable efficiency gap.
In this work, we propose a new approach for learning in caches ("group-level learning"), which clusters similar objects into groups and performs learning and eviction at the group level. Learning at the group level accumulates more signals for learning, leverages more features with adaptive weights, and amortizes overheads over objects, thereby achieving both high efficiency and high throughput.
We designed and implemented GL-Cache on an opensource production cache to demonstrate group-level learning. Evaluations on 118 production block I/O and CDN cache traces show that GL-Cache has a higher hit ratio and higher throughput than state-of-the-art designs. Compared to LRB (object-level learning), GL-Cache improves throughput by 228× and hit ratio by 7% on average across cache sizes. For 10% of the traces (P90), GL-Cache provides a 25% hit ratio increase from LRB. Compared to the best of all learned caches, GL-Cache achieves a 64% higher throughput, a 3% higher hit ratio on average, and a 13% hit ratio increase at the P90.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Seer: Enabling Future-Aware Online Caching in Networked Systems 引用了 Learning Relaxed Belady for Content Distribution Network Caching
- Seer: Enabling Future-Aware Online Caching in Networked Systems 引用了 FIFO queues are all you need for cache eviction
- 3L-Cache: Low Overhead and Precise Learning-based Eviction Policy for Caches 引用了 Learning Relaxed Belady for Content Distribution Network Caching
- 3L-Cache: Low Overhead and Precise Learning-based Eviction Policy for Caches 引用了 FIFO queues are all you need for cache eviction
- FIFO queues are all you need for cache eviction 引用了 FrozenHot Cache: Rethinking Cache Management for Modern Hardware
- FIFO queues are all you need for cache eviction 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
- FrozenHot Cache: Rethinking Cache Management for Modern Hardware 引用了 Learning Relaxed Belady for Content Distribution Network Caching
- FrozenHot Cache: Rethinking Cache Management for Modern Hardware 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
- Optimizing File Systems on Heterogeneous Memory by Integrating DRAM Cache with Virtual Memory Management 引用了 FIFO queues are all you need for cache eviction
引用它的顶会 Paper17
- FIFO queues are all you need for cache evictionJuncheng Yang, Yazhuo Zhang, Ziyue Qiu, Yao Yue 等SOSP 2023 · 54 次引用
- FrozenHot Cache: Rethinking Cache Management for Modern HardwareZiyue Qiu, Juncheng Yang, Juncheng Zhang, Cheng Li 等EuroSys 2023 · 33 次引用
- 3L-Cache: Low Overhead and Precise Learning-based Eviction Policy for CachesWenbin Zhou, Zhixiong Niu, Yongqiang Xiong, Juan Fang 等FAST 2025 · 16 次引用
- Optimizing File Systems on Heterogeneous Memory by Integrating DRAM Cache with Virtual Memory ManagementYubo Liu, Yuxin Ren, Mingrui Liu, Hongbo Li 等FAST 2024 · 13 次引用
- Seer: Enabling Future-Aware Online Caching in Networked SystemsJason Lei, Vishal ShrivastavNSDI 2024 · 11 次引用
它引用的 Paper21
- Lessons Learned from the Chameleon TestbedKate Keahey, Jason Anderson, Zhuo Zhen, Pierre Riteau 等USENIX ATC 2020 · 398 次引用
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
- A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 次引用
- Bao: Making Learned Query Optimization PracticalRyan Marcus, Parimarjan Negi, Hongzi Mao, Nesime Tatbul 等SIGMOD 2021 · 242 次引用
- Learning Relaxed Belady for Content Distribution Network CachingZhenyu Song, Daniel S. Berger, Kai Li, Wyatt LloydNSDI 2020 · 193 次引用
相关 Paper
- Segcache: a memory-efficient and scalable in-memory key-value cache for small objectsJuncheng Yang, Yao Yue, Rashmi VinayakNSDI 2021 · 70 次引用
- Improving Range Scan Performance in LSM-trees with Group CachingHengrui Wang, Jiaoyi Zhang, Jiansheng Qiu, Fangzhou Yuan 等SIGMOD 2026
- Merlin: An Efficient Adaptive Cache Eviction Algorithm via Fine-Grained CharacterizationLiujia Li, Jinhao Guo, Yi Fan, Jianyu Wu 等OSDI 2026
- Darwin: Flexible Learning-based CDN CachingJiayi Chen, Nihal Sharma, Tarannum Khan, Shu Liu 等SIGCOMM 2023 · 13 次引用
- SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web CachesYazhuo Zhang, Juncheng Yang, Yao Yue, Ymir Vigfusson 等NSDI 2024 · 63 次引用
