ctFS: Replacing File Indexing with Hardware Memory Translation through Contiguous File Allocation for Persistent Memory
Ruibin Li, Xiang Ren, Xu Zhao, Siwei He, Michael Stumm, Ding Yuan
摘要
Persistent byte-addressable memory (PM) is poised to become prevalent in future computer systems. PMs are significantly faster than disk storage, and accesses to PMs are governed by the Memory Management Unit (MMU) just as accesses with volatile RAM. These unique characteristics shift the bottleneck from I/O to operations such as block address lookup-for example, in write workloads, up to 45% of the overhead in ext4-DAX is due to building and searching extent trees to translate file offsets to addresses on persistent memory.
We propose a novel contiguous file system, ctFS, that eliminates most of the overhead associated with indexing structures such as extent trees in the file system. ctFS represents each file as a contiguous region of virtual memory, hence a lookup from the file offset to the address is simply an offset operation, which can be efficiently performed by the hardware MMU at a fraction of the cost of software-maintained indexes. Evaluating ctFS on real-world workloads such as LevelDB shows it outperforms ext4-DAX and SplitFS by 3.6× and 1.8×, respectively.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Ethane: An Asymmetric File System for Disaggregated Persistent Memory 引用了 Rethinking File Mapping for Persistent Memory
- Ethane: An Asymmetric File System for Disaggregated Persistent Memory 引用了 Modernizing File System through In-Storage Indexing
- Ethane: An Asymmetric File System for Disaggregated Persistent Memory 引用了 Enabling High-Performance and Secure Userspace NVM File Systems with the Trio Architecture
- Revitalizing the Forgotten On-Chip DMA to Expedite Data Movement in NVM-based Storage Systems 引用了 Rethinking File Mapping for Persistent Memory
- Enabling High-Performance and Secure Userspace NVM File Systems with the Trio Architecture 引用了 Scalable Persistent Memory File System with Kernel-Userspace Collaboration
- DaxVM: Stressing the Limits of Memory as a File Interface 引用了 Rethinking File Mapping for Persistent Memory
- DaxVM: Stressing the Limits of Memory as a File Interface 引用了 Scalable Persistent Memory File System with Kernel-Userspace Collaboration
- Optimizing File Systems on Heterogeneous Memory by Integrating DRAM Cache with Virtual Memory Management 引用了 Scalable Persistent Memory File System with Kernel-Userspace Collaboration
- Optimizing File Systems on Heterogeneous Memory by Integrating DRAM Cache with Virtual Memory Management 引用了 Enabling High-Performance and Secure Userspace NVM File Systems with the Trio Architecture
- Optimizing File Systems on Heterogeneous Memory by Integrating DRAM Cache with Virtual Memory Management 引用了 DaxVM: Stressing the Limits of Memory as a File Interface
引用它的顶会 Paper9
- Revitalizing the Forgotten On-Chip DMA to Expedite Data Movement in NVM-based Storage SystemsJingbo Su, Jiahao Li, Luofan Chen, Cheng Li 等FAST 2023 · 14 次引用
- Optimizing File Systems on Heterogeneous Memory by Integrating DRAM Cache with Virtual Memory ManagementYubo Liu, Yuxin Ren, Mingrui Liu, Hongbo Li 等FAST 2024 · 13 次引用
- Ethane: An Asymmetric File System for Disaggregated Persistent MemoryMiao Cai, Junru Shen, Baoliu YeUSENIX ATC 2024 · 9 次引用
- Enabling High-Performance and Secure Userspace NVM File Systems with the Trio ArchitectureDiyu Zhou, Vojtech Aschenbrenner, Tao Lyu, Jian Zhang 等SOSP 2023 · 9 次引用
- DaxVM: Stressing the Limits of Memory as a File InterfaceChloe Alverti, Vasileios Karakostas, Nikhita Kunati, Georgios I. Goumas 等MICRO 2022 · 9 次引用
它引用的 Paper3
- Rethinking File Mapping for Persistent MemoryIan Neal, Gefei Zuo, Eric Shiple, Tanvir Ahmed Khan 等FAST 2021 · 28 次引用
- Modernizing File System through In-Storage IndexingJinhyung Koo, Junsu Im, Jooyoung Song, Juhyung Park 等OSDI 2021 · 27 次引用
- Scalable Persistent Memory File System with Kernel-Userspace CollaborationYoumin Chen, Youyou Lu, Bohong Zhu, Andrea C. Arpaci-Dusseau 等FAST 2021 · 15 次引用
相关 Paper
- Overcoming the Last Mile between Log-Structured File Systems and Persistent Memory via Scatter LoggingYifeng Zhang, Yanqi Pan, Hao Huang, Yuchen Shan 等EuroSys 2025 · 1 次引用
- ODINFS: Scaling PM Performance with Opportunistic DelegationDiyu Zhou, Yuchen Qian, Vishal Gupta, Zhifei Yang 等OSDI 2022 · 29 次引用
- MadFS: Per-File Virtualization for Userspace Persistent Memory FilesystemsShawn Zhong, Chenhao Ye, Guanzhou Hu, Suyan Qu 等FAST 2023 · 27 次引用
- P2CACHE: Exploring Tiered Memory for In-Kernel File Systems CachingZhen Lin, Lingfeng Xiang, Jia Rao, Hui LuUSENIX ATC 2023 · 25 次引用
- First Responder: Persistent Memory Simultaneously as High Performance Buffer Cache and StorageHyunsub Song, Shean Kim, J. Hyun Kim, Ethan J. H. Park 等USENIX ATC 2021 · 14 次引用
