Lune

EuroSys2023顶会

FrozenHot Cache: Rethinking Cache Management for Modern Hardware

Ziyue Qiu, Juncheng Yang, Juncheng Zhang, Cheng Li, Xiaosong Ma, Qi Chen, Mao Yang, Yinlong Xu

摘要

Caching is crucial for accelerating data access, employed as a ubiquitous design in modern systems at many parts of computer systems. With increasing core count, and shrinking latency gap between cache and modern storage devices, hit-path scalability becomes increasingly critical. However, existing production in-memory caches often use list-based management with promotion on each cache hit, which requires extensive locking and poses a significant overhead for scaling beyond a few cores. Moreover, existing techniques for improving scalability either (1) only focus on the indexing structure and do not improve cache management scalability, or (2) sacrifice efficiency or miss-path scalability.

Inspired by highly skewed data popularity and short-term hotspot stability in cache workloads, we propose Frozen-Hot, a generic approach to improve the scalability of listbased caches. FrozenHot partitions the cache space into two parts: a frozen cache and a dynamic cache. The frozen cache serves requests for hot objects with minimal latency by eliminating promotion and locking, while the latter leverages the existing cache design to achieve workload adaptivity. We built FrozenHot as a library that can be easily integrated into existing systems. We demonstrate its performance by enabling FrozenHot in two production systems: HHVM and RocksDB using under 100 lines of code. Evaluated using production traces from MSR and Twitter, FrozenHot improves the throughput of three baseline cache algorithms by up to 551%. Compared to stock RocksDB, FrozenHot-enhanced RocksDB shows a higher throughput on all YCSB workloads with up to 90% increase, as well as reduced tail latency.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Reducing Cross-Cloud/Region Costs with the Auto-Configuring MACARON Cache 引用了 Learning Relaxed Belady for Content Distribution Network Caching
  • Reducing Cross-Cloud/Region Costs with the Auto-Configuring MACARON Cache 引用了 FIFO queues are all you need for cache eviction
  • Reducing Cross-Cloud/Region Costs with the Auto-Configuring MACARON Cache 引用了 HotRing: A Hotspot-Aware In-Memory Key-Value Store
  • Reducing Cross-Cloud/Region Costs with the Auto-Configuring MACARON Cache 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
  • Getting the MOST out of your Storage Hierarchy with Mirror-Optimized Storage Tiering 引用了 Learning Relaxed Belady for Content Distribution Network Caching
  • Getting the MOST out of your Storage Hierarchy with Mirror-Optimized Storage Tiering 引用了 The CacheLib Caching Engine: Design and Experiences at Scale
  • Getting the MOST out of your Storage Hierarchy with Mirror-Optimized Storage Tiering 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
  • FIFO queues are all you need for cache eviction 引用了 The CacheLib Caching Engine: Design and Experiences at Scale
  • FIFO queues are all you need for cache eviction 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
  • The CacheLib Caching Engine: Design and Experiences at Scale 引用了 Learning Relaxed Belady for Content Distribution Network Caching
  • PIMLex: A High-Performance Learned Index with Processing-in-Memory 引用了 HotRing: A Hotspot-Aware In-Memory Key-Value Store
  • GPHash: An Efficient Hash Index for GPU with Byte-Granularity Persistent Memory 引用了 HotRing: A Hotspot-Aware In-Memory Key-Value Store
  • GPHash: An Efficient Hash Index for GPU with Byte-Granularity Persistent Memory 引用了 A large scale analysis of hundreds of in-memory cache clusters at Twitter
  • A large scale analysis of hundreds of in-memory cache clusters at Twitter 引用了 The CacheLib Caching Engine: Design and Experiences at Scale
  • A large scale analysis of hundreds of in-memory cache clusters at Twitter 引用了 HotRing: A Hotspot-Aware In-Memory Key-Value Store
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. FIFO queues are all you need for cache evictionJuncheng Yang, Yazhuo Zhang, Ziyue Qiu, Yao Yue 等SOSP 2023 · 54 次引用
  2. PIMLex: A High-Performance Learned Index with Processing-in-MemoryLixiao Cui, Kedi Yang, Yusen Li, Gang Wang 等FAST 2025 · 11 次引用
  3. Reducing Cross-Cloud/Region Costs with the Auto-Configuring MACARON CacheHojin Park, Ziyue Qiu, Gregory R. Ganger, George AmvrosiadisSOSP 2024 · 3 次引用
  4. GPHash: An Efficient Hash Index for GPU with Byte-Granularity Persistent MemoryMenglei Chen, Yu Hua, Zhangyu Chen, Ming Zhang 等FAST 2025 · 3 次引用
  5. Getting the MOST out of your Storage Hierarchy with Mirror-Optimized Storage TieringKaiwei Tu, Kan Wu, Andrea C. Arpaci-Dusseau, Remzi H. Arpaci-DusseauFAST 2026 · 2 次引用

它引用的 Paper11

  1. A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 次引用
  2. Learning Relaxed Belady for Content Distribution Network CachingZhenyu Song, Daniel S. Berger, Kai Li, Wyatt LloydNSDI 2020 · 193 次引用
  3. The CacheLib Caching Engine: Design and Experiences at ScaleBenjamin Berg, Daniel S. Berger, Sara McAllister, Isaac Grosof 等OSDI 2020 · 145 次引用
  4. SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid StorageHao Chen, Chaoyi Ruan, Cheng Li, Xiaosong Ma 等FAST 2021 · 120 次引用
  5. HotRing: A Hotspot-Aware In-Memory Key-Value StoreJiqiang Chen, Liang Chen, Sheng Wang, Guoyun Zhu 等FAST 2020 · 80 次引用

相关 Paper

  1. twCache: Thread-Wise Cache Management with High Concurrency PerformanceYigui Yuan, Peiquan Jin, Xiaoliang WangICDE 2025 · 2 次引用
  2. Fairer and More Scalable Reader-Writer Locks by Optimizing Queue ManagementTakashi Hoshino, Kenjiro TauraPPoPP 2025 · 1 次引用
  3. HotPrefix: Hotness-Aware KV Cache Scheduling for Efficient Prefix Sharing in LLM Inference SystemsYuhang Li, Rong Gu, Chengying Huan, Zhibin Wang 等SIGMOD 2026 · 9 次引用
  4. AC-Cache: A Memory-Efficient Caching System for Small Objects via Exploiting Access CorrelationsFulin Nan, Ronglong Wu, Zhirong Shen, Jiahui Yang 等PPoPP 2025 · 1 次引用
  5. HotRAP: Hot Record Retention and Promotion for LSM-trees with Tiered StorageJiansheng Qiu, Fangzhou Yuan, Mingyu Gao, Huanchen ZhangUSENIX ATC 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖