Lune

USENIX ATC2024顶会

FBMM: Making Memory Management Extensible With Filesystems

Bijan Tabatabai, James Christopher Sorenson III, Michael M. Swift

摘要

New memory technologies like CXL promise diverse memory configurations such as tiered memory, far memory, and processing in memory. Operating systems must be modified to support these new hardware configurations for applications to make use of them. While many parts of operating systems are extensible, memory management remains monolithic in most systems, making it cumbersome to add support for a diverse set of new memory policies and mechanisms.

Rather than creating a whole new extensible interface for memory managers, we propose to instead use the memory management callbacks provided by the Linux virtual file system (VFS) to write memory managers, called memory management filesystems (MFSs). Memory is allocated by creating and mapping a file in an MFS's mount directory and freed by deleting the file. Use of an MFS is transparent to applications. We call this system File Based Memory Management (FBMM).

Using FBMM, we created a diverse set of standalone memory managers for tiered memory, contiguous allocations, and memory bandwidth allocation, each comprising 500-1500 lines of code. Unlike current approaches that require custom kernels, with FBMM, an MFS can be compiled separately from the kernel and loaded dynamically when needed. We measure the overhead of using filesystems for memory management and found the overhead to be less than 8% when allocating a single page, and less than 0.1% when allocating as little as 128 pages. MFSs perform competitively with kernel implementations, and sometimes better due to simpler implementations.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Tigon: A Distributed Database for a CXL Pod 引用了 Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
  • Tigon: A Distributed Database for a CXL Pod 引用了 TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
  • vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous Architectures 引用了 Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
  • vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous Architectures 引用了 TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
  • vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous Architectures 引用了 CXLfork: Fast Remote Fork over CXL Fabrics
  • Pond: CXL-Based Memory Pooling Systems for Cloud Platforms 引用了 Effectively Prefetching Remote Memory with Leap
  • Pond: CXL-Based Memory Pooling Systems for Cloud Platforms 引用了 HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVM
  • Pond: CXL-Based Memory Pooling Systems for Cloud Platforms 引用了 Clio: a hardware-software co-designed disaggregated memory system
  • Pond: CXL-Based Memory Pooling Systems for Cloud Platforms 引用了 TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
  • TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory 引用了 Effectively Prefetching Remote Memory with Leap
  • TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory 引用了 HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVM
  • Cxlalloc: Safe and Efficient Memory Allocation for a CXL Pod 引用了 Tigon: A Distributed Database for a CXL Pod
  • Cxlalloc: Safe and Efficient Memory Allocation for a CXL Pod 引用了 Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
  • Cxlalloc: Safe and Efficient Memory Allocation for a CXL Pod 引用了 TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
  • Cxlalloc: Safe and Efficient Memory Allocation for a CXL Pod 引用了 CXLfork: Fast Remote Fork over CXL Fabrics
  • CXLfork: Fast Remote Fork over CXL Fabrics 引用了 Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
  • CXLfork: Fast Remote Fork over CXL Fabrics 引用了 TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. CXLfork: Fast Remote Fork over CXL FabricsChloe Alverti, Stratos Psomadakis, Burak Ocalan, Shashwat Jaiswal 等ASPLOS 2025 · 14 次引用
  2. Tigon: A Distributed Database for a CXL PodYibo Huang, Haowei Chen, Newton Ni, Yan Sun 等OSDI 2025 · 12 次引用
  3. vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous ArchitecturesAnatole Lefort, Julian Pritzi, Nicolò Carpentieri, David Schall 等ASPLOS 2026 · 2 次引用
  4. Cxlalloc: Safe and Efficient Memory Allocation for a CXL PodNewton Ni, Yan Sun, Zhiting Zhu, Emmett WitchelASPLOS 2026 · 2 次引用

它引用的 Paper9

  1. Pond: CXL-Based Memory Pooling Systems for Cloud PlatformsHuaicheng Li, Daniel S. Berger, Lisa Hsu, Daniel Ernst 等ASPLOS 2023 · 328 次引用
  2. TPP: Transparent Page Placement for CXL-Enabled Tiered-MemoryHasan Al Maruf, Hao Wang, Abhishek Dhanotia, Johannes Weiner 等ASPLOS 2023 · 255 次引用
  3. Effectively Prefetching Remote Memory with LeapHasan Al Maruf, Mosharaf ChowdhuryUSENIX ATC 2020 · 186 次引用
  4. Clio: a hardware-software co-designed disaggregated memory systemZhiyuan Guo, Yizhou Shan, Xuhao Luo, Yutong Huang 等ASPLOS 2022 · 110 次引用
  5. HeMem: Scalable Tiered Memory Management for Big Data Applications and Real NVMAmanda Raybuck, Tim Stamler, Wei Zhang, Mattan Erez 等SOSP 2021 · 93 次引用

相关 Paper

  1. Nomad: Non-Exclusive Memory Tiering via Transactional Page MigrationLingfeng Xiang, Zhen Lin, Weishu Deng, Hui Lu 等OSDI 2024 · 59 次引用
  2. ctFS: Replacing File Indexing with Hardware Memory Translation through Contiguous File Allocation for Persistent MemoryRuibin Li, Xiang Ren, Xu Zhao, Siwei He 等FAST 2022 · 43 次引用
  3. Beyond Page Migration: Enhancing Tiered Memory Performance via Integrated Last-Level Cache Management and Page MigrationHwanjun Lee, Minho Kim, Yeji Jung, Seonmu Oh 等MICRO 2025 · 2 次引用
  4. ExtMem: Enabling Application-Aware Virtual Memory Management for Data-Intensive ApplicationsSepehr Jalalian, Shaurya Patel, Milad Rezaei Hajidehi, Margo I. Seltzer 等USENIX ATC 2024 · 12 次引用
  5. NeoMem: Hardware/Software Co-Design for CXL-Native Memory TieringZhe Zhou, Yiqi Chen, Tao Zhang, Yang Wang 等MICRO 2024 · 17 次引用
黄昏的海面,两侧是细线勾勒的悬崖