Lune

OSDI2023顶会

Johnny Cache: the End of DRAM Cache Conflicts (in Tiered Main Memory Systems)

Baptiste Lepers, Willy Zwaenepoel

摘要

We demonstrate that hardware management of a tiered memory system offers better performance for many applications than current methods of software management. Hardware management treats the fast tier as a cache on the slower tier. The advantages are that caching can be done at cache line granularity and that data appears in fast memory as soon as it is accessed. The potential for cache conflicts has, however, led previous works to conclude these hardware methods generally perform poorly.

In this paper we show that low-overhead conflict avoidance techniques eliminate conflicts almost entirely and thereby address the above limitation. We explore two techniques. The static technique tries to avoid conflicts between pages at page allocation time. The dynamic technique relies on monitoring memory accesses to distinguish between hot and cold pages. It uses this information to avoid conflicts between hot pages, both at page allocation time and by dynamic remapping at runtime.

We have implemented these techniques in the Linux kernel on an Intel Optane machine in a system called Johnny Cache (JC). We use HPC applications, key-value stores and databases to compare JC to the default Linux tiered memory management implementation and to HeMem, a state-of-theart software management approach.

Our measurements show that JC outperforms Linux and HeMem for most applications, in some cases by up to 5×. A surprising conclusion of this paper is that a cache can provide close-to-optimal performance by minimizing conflicts purely at page allocation time, without any access monitoring or dynamic page remapping.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Chrono: Meticulous Hotness Measurement and Flexible Page Migration for Memory Tiering 引用了 HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVM
  • Tiered Memory Management: Access Latency is the Key! 引用了 HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVM
  • Tiered Memory Management: Access Latency is the Key! 引用了 Managing Memory Tiers with CXL in Virtualized Environments
  • TMO: transparent memory offloading in datacenters 引用了 HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVM
  • Optimizing File Systems on Heterogeneous Memory by Integrating DRAM Cache with Virtual Memory Management 引用了 HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVM
  • Managing Memory Tiers with CXL in Virtualized Environments 引用了 HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVM
  • Managing Memory Tiers with CXL in Virtualized Environments 引用了 TMO: transparent memory offloading in datacenters
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Managing Memory Tiers with CXL in Virtualized EnvironmentsYuhong Zhong, Daniel S. Berger, Carl A. Waldspurger, Ryan Wee 等OSDI 2024 · 77 次引用
  2. Tiered Memory Management: Access Latency is the Key!Midhul Vuppalapati, Rachit AgarwalSOSP 2024 · 22 次引用
  3. Optimizing File Systems on Heterogeneous Memory by Integrating DRAM Cache with Virtual Memory ManagementYubo Liu, Yuxin Ren, Mingrui Liu, Hongbo Li 等FAST 2024 · 13 次引用
  4. Chrono: Meticulous Hotness Measurement and Flexible Page Migration for Memory TieringZhenlin Qi, Shengan Zheng, Ying Huang, Yifeng Hui 等EuroSys 2025 · 9 次引用
  5. CHARM: Chiplet Heterogeneity-Aware Runtime Mapping SystemAlessandro Fogli, Bo Zhao, Peter R. Pietzuch, Jana GicevaEuroSys 2026 · 2 次引用

它引用的 Paper2

  1. TMO: transparent memory offloading in datacentersJohannes Weiner, Niket Agarwal, Dan Schatzberg, Leon Yang 等ASPLOS 2022 · 103 次引用
  2. HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVMAmanda Raybuck, Tim Stamler, Wei Zhang, Mattan Erez 等SOSP 2021 · 93 次引用

相关 Paper

  1. KLOCs: kernel-level object contexts for heterogeneous memory systemsSudarsun Kannan, Yujie Ren, Abhishek BhattacharjeeASPLOS 2021 · 22 次引用
  2. Nomad: Non-Exclusive Memory Tiering via Transactional Page MigrationLingfeng Xiang, Zhen Lin, Weishu Deng, Hui Lu 等OSDI 2024 · 59 次引用
  3. FlexMem: Adaptive Page Profiling and Migration for Tiered MemoryDong Xu, Junhee Ryu, Kwangsik Shin, Pengfei Su 等USENIX ATC 2024 · 41 次引用
  4. Exploring the Design Space of Page Management for Multi-Tiered Memory SystemsJonghyeon Kim, Wonkyo Choe, Jeongseob AhnUSENIX ATC 2021 · 108 次引用
  5. Merchandiser: Data Placement on Heterogeneous Memory for Task-Parallel HPC Applications with Load-Balance AwarenessZhen Xie, Jie Liu, Jiajia Li, Dong LiPPoPP 2023 · 18 次引用
黄昏的海面,两侧是细线勾勒的悬崖