Lune

HPCA2023顶会

HoPP: Hardware-Software Co-Designed Page Prefetching for Disaggregated Memory

Haifeng Li, Ke Liu, Ting Liang, Zuojun Li, Tianyue Lu, Hui Yuan, Yinben Xia, Yungang Bao, Mingyu Chen, Yizhou Shan

摘要

Memory disaggregation is a promising direction to mitigate memory contention in datacenters. To make memory disaggregation practical, prior efforts expose remote memory to applications transparently via virtual memory subsystem's swapping interface. However, due to the semantic gap between OS and applications -OS cannot know the memory accessing sequences of an application but via page faults. This approach has two limitations. First, it learns little from page faults' access history, which leads to sub-optimal prefetching predictions. Second, a page fault can still occur even if there is a prefetch-hit which leads to a large kernel overhead.

To address such limitations, our key insight is to decouple the address capturing from page faults by collecting full memory access traces in the memory controller. Using this idea, we build HoPP -a hardware-software co-designed prefetching framework. HoPP adds hardware modules to the memory controller to feed sufficient hot pages to OS in real-time, which has three benefits in HoPP's software design: 1) it improves existing prefetching algorithms with simple revamps, also offers more insights to build better policies; 2) the prefetch algorithm can run as a separate data path alongside the normal remote data path via page faults, potentially hiding the swap latency from applications, and enabling fine-grained control over prefetching behaviors; 3) the prefetch-hit overhead can be eliminated by early page table entry (PTE) injection, i.e., inject PTE for the prefetched page as soon as it returns. We implemented a proof-of-concept prototype using commodity servers along with a hardwarebased memory tracking tool called HMTT to emulate a modified memory controller. Results show that compared to Fastswap and Leap, HoPP-optimized prefetching algorithm achieves over 90% accuracy and coverage, which leads to up to 59% completion time improvement for various datacenter applications.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • FetchBPF: Customizable Prefetching Policies in Linux with eBPF 引用了 Effectively Prefetching Remote Memory with Leap
  • FetchBPF: Customizable Prefetching Policies in Linux with eBPF 引用了 Can far memory improve job throughput?
  • FetchBPF: Customizable Prefetching Policies in Linux with eBPF 引用了 AIFM: High-Performance, Application-Integrated Far Memory
  • Pond: CXL-Based Memory Pooling Systems for Cloud Platforms 引用了 Effectively Prefetching Remote Memory with Leap
  • Pond: CXL-Based Memory Pooling Systems for Cloud Platforms 引用了 Can far memory improve job throughput?
  • Pond: CXL-Based Memory Pooling Systems for Cloud Platforms 引用了 AIFM: High-Performance, Application-Integrated Far Memory
  • M5: Mastering Page Migration and Memory Management for CXL-based Tiered Memory Systems 引用了 NeoMem: Hardware/Software Co-Design for CXL-Native Memory Tiering
  • AIFM: High-Performance, Application-Integrated Far Memory 引用了 Can far memory improve job throughput?
  • AIFM: High-Performance, Application-Integrated Far Memory 引用了 Borg: the next generation
  • NeoMem: Hardware/Software Co-Design for CXL-Native Memory Tiering 引用了 Effectively Prefetching Remote Memory with Leap
  • NeoMem: Hardware/Software Co-Design for CXL-Native Memory Tiering 引用了 Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
  • Beehive: A Scalable Disaggregated Memory Runtime Exploiting Asynchrony of Multithreaded Programs 引用了 Effectively Prefetching Remote Memory with Leap
  • Beehive: A Scalable Disaggregated Memory Runtime Exploiting Asynchrony of Multithreaded Programs 引用了 Can far memory improve job throughput?
  • Beehive: A Scalable Disaggregated Memory Runtime Exploiting Asynchrony of Multithreaded Programs 引用了 Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
  • Beehive: A Scalable Disaggregated Memory Runtime Exploiting Asynchrony of Multithreaded Programs 引用了 AIFM: High-Performance, Application-Integrated Far Memory
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. M5: Mastering Page Migration and Memory Management for CXL-based Tiered Memory SystemsYan Sun, Jongyul Kim, Zeduo Yu, Jiyuan Zhang 等ASPLOS 2025 · 27 次引用
  2. FetchBPF: Customizable Prefetching Policies in Linux with eBPFXuechun Cao, Shaurya Patel, Soo-Yee Lim, Xueyuan Han 等USENIX ATC 2024 · 24 次引用
  3. NeoMem: Hardware/Software Co-Design for CXL-Native Memory TieringZhe Zhou, Yiqi Chen, Tao Zhang, Yang Wang 等MICRO 2024 · 17 次引用
  4. SepHash: A Write-Optimized Hash Index On Disaggregated Memory via Separate Segment StructureXinhao Min, Kai Lu, Pengyu Liu, Jiguang Wan 等VLDB 2024 · 9 次引用
  5. Beehive: A Scalable Disaggregated Memory Runtime Exploiting Asynchrony of Multithreaded ProgramsQuanxi Li, Hong Huang, Ying Liu, Yanwen Xia 等NSDI 2025 · 7 次引用

它引用的 Paper10

  1. Pond: CXL-Based Memory Pooling Systems for Cloud PlatformsHuaicheng Li, Daniel S. Berger, Lisa Hsu, Daniel Ernst 等ASPLOS 2023 · 328 次引用
  2. Borg: the next generationMuhammad Tirmazi, Adam Barker, Nan Deng, Md E. Haque 等EuroSys 2020 · 323 次引用
  3. AIFM: High-Performance, Application-Integrated Far MemoryZhenyuan Ruan, Malte Schwarzkopf, Marcos K. Aguilera, Adam BelayOSDI 2020 · 224 次引用
  4. Effectively Prefetching Remote Memory with LeapHasan Al Maruf, Mosharaf ChowdhuryUSENIX ATC 2020 · 186 次引用
  5. Can far memory improve job throughput?Emmanuel Amaro, Christopher Branner-Augmon, Zhihong Luo, Amy Ousterhout 等EuroSys 2020 · 163 次引用

相关 Paper

  1. Rethinking software runtimes for disaggregated memoryIrina Calciu, M. Talha Imran, Ivan Puddu, Sanidhya Kashyap 等ASPLOS 2021 · 116 次引用
  2. PD3: Prefetching Data with DPUs for Disaggregated MemorySidharth Sankhe, Felix Zhang, Umayrah Chonee, Sherman Lim 等NSDI 2026 · 1 次引用
  3. DiLOS: Do Not Trade Compatibility for Performance in Memory DisaggregationWonsup Yoon, Jisu Ok, Jinyoung Oh, Sue Moon 等EuroSys 2023 · 21 次引用
  4. Cowbird: Freeing CPUs to Compute by Offloading the Disaggregation of MemoryXinyi Chen, Liangcheng Yu, Vincent Liu, Qizhen ZhangSIGCOMM 2023 · 15 次引用
  5. Clio: a hardware-software co-designed disaggregated memory systemZhiyuan Guo, Yizhou Shan, Xuhao Luo, Yutong Huang 等ASPLOS 2022 · 110 次引用
黄昏的海面,两侧是细线勾勒的悬崖