Lune

USENIX ATC2023顶会

P2CACHE: Exploring Tiered Memory for In-Kernel File Systems Caching

Zhen Lin, Lingfeng Xiang, Jia Rao, Hui Lu

摘要

Fast, byte-addressable persistent memory (PM) is becoming a reality in products. However, porting legacy kernel file systems to fully support PM requires substantial effort and encounters the challenge of bridging the gap between blockbased access granularity and byte-addressability. Moreover, new PM-specific file systems remain far from productionready, preventing them from being widely used. In this paper, we propose P 2 CACHE, a novel in-kernel caching mechanism to explore how legacy kernel file systems can effectively evolve in the face of fast, byte-addressable PM. P 2 CACHE exploits a read/write-distinguishable memory hierarchy upon a tiered memory system involving both PM and DRAM. P 2 CACHE leverages PM to serve all write requests for instant data durability and strong crash consistency while using DRAM to serve most read I/Os for high I/O performance. Further, P 2 CACHE employs a simple yet effective synchronization model between PM and DRAM by leveraging devicelevel parallelism. Our evaluation shows that P 2 CACHE can significantly increase the performance of legacy kernel file systems -e.g., by 200x for RocksDB on Ext4 -meanwhile equipping them with instant data durability and strong crash consistency, similar to PM-specialized file systems.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Scale and Performance in a Filesystem Semi-Microkernel 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Keigo: Co-designing Log-Structured Merge Key-Value Stores with a Non-Volatile, Concurrency-aware Storage Hierarchy 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Keigo: Co-designing Log-Structured Merge Key-Value Stores with a Non-Volatile, Concurrency-aware Storage Hierarchy 引用了 The Storage Hierarchy is Not a Hierarchy: Optimizing Caching on Modern Storage Devices with Orthus
  • Keigo: Co-designing Log-Structured Merge Key-Value Stores with a Non-Volatile, Concurrency-aware Storage Hierarchy 引用了 First Responder: Persistent Memory Simultaneously as High Performance Buffer Cache and Storage
  • Rethinking the Request-to-IO Transformation Process of File Systems for Full Utilization of High-Bandwidth SSDs 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Rethinking the Request-to-IO Transformation Process of File Systems for Full Utilization of High-Bandwidth SSDs 引用了 Boosting File Systems Elegantly: A Transparent NVM Write-ahead Log for Disk File Systems
  • Rethinking the Request-to-IO Transformation Process of File Systems for Full Utilization of High-Bandwidth SSDs 引用了 The Storage Hierarchy is Not a Hierarchy: Optimizing Caching on Modern Storage Devices with Orthus
  • PolyStore: Exploiting Combined Capabilities of Heterogeneous Storage 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • PolyStore: Exploiting Combined Capabilities of Heterogeneous Storage 引用了 The Storage Hierarchy is Not a Hierarchy: Optimizing Caching on Modern Storage Devices with Orthus
  • Nomad: Non-Exclusive Memory Tiering via Transactional Page Migration 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Nomad: Non-Exclusive Memory Tiering via Transactional Page Migration 引用了 The Storage Hierarchy is Not a Hierarchy: Optimizing Caching on Modern Storage Devices with Orthus
  • The Storage Hierarchy is Not a Hierarchy: Optimizing Caching on Modern Storage Devices with Orthus 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • First Responder: Persistent Memory Simultaneously as High Performance Buffer Cache and Storage 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Nomad: Non-Exclusive Memory Tiering via Transactional Page MigrationLingfeng Xiang, Zhen Lin, Weishu Deng, Hui Lu 等OSDI 2024 · 59 次引用
  2. PolyStore: Exploiting Combined Capabilities of Heterogeneous StorageYujie Ren, David Domingo, Jian Zhang, Paul John 等FAST 2025 · 6 次引用
  3. Boosting File Systems Elegantly: A Transparent NVM Write-ahead Log for Disk File SystemsGuoyu Wang, Xilong Che, Haoyang Wei, Shuo Chen 等FAST 2025 · 5 次引用
  4. Rethinking the Request-to-IO Transformation Process of File Systems for Full Utilization of High-Bandwidth SSDsYekang Zhan, Haichuan Hu, Xiangrui Yang, Qiang Cao 等FAST 2025 · 4 次引用
  5. Keigo: Co-designing Log-Structured Merge Key-Value Stores with a Non-Volatile, Concurrency-aware Storage HierarchyRúben Adão, Zhongjie Wu, Changjun Zhou, Oana Balmau 等VLDB 2025

它引用的 Paper5

  1. An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz 等FAST 2020 · 470 次引用
  2. XRP: In-Kernel Storage Functions with eBPFYuhong Zhong, Haoyu Li, Yu Jian Wu, Ioannis Zarkadas 等OSDI 2022 · 100 次引用
  3. The Storage Hierarchy is Not a Hierarchy: Optimizing Caching on Modern Storage Devices with OrthusKan Wu, Zhihan Guo, Guanzhou Hu, Kaiwei Tu 等FAST 2021 · 73 次引用
  4. Scale and Performance in a Filesystem Semi-MicrokernelJing Liu, Anthony Rebello, Yifan Dai, Chenhao Ye 等SOSP 2021 · 14 次引用
  5. 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 次引用

相关 Paper

  1. 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 次引用
  2. TL4x: Buffered Durable Transactions on Disk as Fast as in MemoryGal Assa, Andreia Correia, Pedro Ramalhete, Valerio Schiavoni 等PPoPP 2023 · 8 次引用
  3. DaxVM: Stressing the Limits of Memory as a File InterfaceChloe Alverti, Vasileios Karakostas, Nikhita Kunati, Georgios I. Goumas 等MICRO 2022 · 9 次引用
  4. Exploiting Persistent CPU Cache for Scalable Persistent Hash IndexBowen Zhang, Shengan Zheng, Liangxu Nie, Zhenlin Qi 等ICDE 2024 · 3 次引用
  5. HUNTER: Releasing Persistent Memory Write Performance with A Novel PM-DRAM Collaboration ArchitectureYanqi Pan, Yifeng Zhang, Wen Xia, Xiangyu Zou 等DAC 2023 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖