HTMFS: Strong Consistency Comes for Free with Hardware Transactional Memory in Persistent Memory File Systems
Jifei Yi, Mingkai Dong, Fangnuo Wu, Haibo Chen
摘要
File system designs are usually a trade-off between performance and consistency. A common practice is to sacrifice data consistency for better performance, as if high performance and strong consistency cannot be achieved simultaneously. In this paper, we revisit the trade-off and propose HOP, a lightweight hardware-software cooperative mechanism, to present the feasibility of leveraging hardware transactional memory (HTM) to achieve both high performance and strong consistency in persistent memory (PM) file systems. The key idea of HOP is to pick the updates visible to the file system interface and warp them into HTM. HOP adopts an FS-aware Optimistic Concurrency Control (OCC)-like mechanism to overcome the HTM capacity limitation and utilizes cooperative locks as fallbacks to guarantee progress. We apply HOP to build HTMFS, a user-space PM file system with strong consistency. In the evaluation, HTMFS presents up to 8.4× performance improvement compared to state-of-the-art PM file systems, showing that strong consistency can be achieved in high-performance persistent memory.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Fast and Synchronous Crash Consistency with Metadata Write-Once File System 引用了 Light-Dedup: A Light-weight Inline Deduplication Framework for Non-Volatile Memory File Systems
- Light-Dedup: A Light-weight Inline Deduplication Framework for Non-Volatile Memory File Systems 引用了 MT^2: Memory Bandwidth Regulation on Hybrid NVM/DRAM Platforms
- Exploiting Persistent CPU Cache for Scalable Persistent Hash Index 引用了 TIPS: Making Volatile Index Structures Persistent with DRAM-NVMM Tiering
- TIPS: Making Volatile Index Structures Persistent with DRAM-NVMM Tiering 引用了 Pronto: Easy and Fast Persistence for Volatile Data Structures
- TIPS: Making Volatile Index Structures Persistent with DRAM-NVMM Tiering 引用了 Durable Transactional Memory Can Scale with Timestone
引用它的顶会 Paper5
- Light-Dedup: A Light-weight Inline Deduplication Framework for Non-Volatile Memory File SystemsJiansheng Qiu, Yanqi Pan, Wen Xia, Xiaojia Huang 等USENIX ATC 2023 · 20 次引用
- SingularFS: A Billion-Scale Distributed File System Using a Single Metadata ServerHao Guo, Youyou Lu, Wenhao Lv, Xiaojian Liao 等USENIX ATC 2023 · 17 次引用
- Optimizing File Systems on Heterogeneous Memory by Integrating DRAM Cache with Virtual Memory ManagementYubo Liu, Yuxin Ren, Mingrui Liu, Hongbo Li 等FAST 2024 · 13 次引用
- Exploiting Persistent CPU Cache for Scalable Persistent Hash IndexBowen Zhang, Shengan Zheng, Liangxu Nie, Zhenlin Qi 等ICDE 2024 · 3 次引用
- Fast and Synchronous Crash Consistency with Metadata Write-Once File SystemYanqi Pan, Wen Xia, Yifeng Zhang, Xiangyu Zou 等OSDI 2025
它引用的 Paper6
- Pronto: Easy and Fast Persistence for Volatile Data StructuresAmir Saman Memaripour, Joseph Izraelevitz, Steven SwansonASPLOS 2020 · 55 次引用
- Durable Transactional Memory Can Scale with TimestoneMadhava Krishnan Ramanathan, Jaeho Kim, Ajit Mathew, Xinwei Fu 等ASPLOS 2020 · 46 次引用
- TIPS: Making Volatile Index Structures Persistent with DRAM-NVMM TieringMadhava Krishnan Ramanathan, Wook-Hee Kim, Xinwei Fu, Sumit Kumar Monga 等USENIX ATC 2021 · 32 次引用
- Crafty: efficient, HTM-compatible persistent transactionsKaan Genç, Michael D. Bond, Guoqing Harry XuPLDI 2020 · 31 次引用
- MT^2: Memory Bandwidth Regulation on Hybrid NVM/DRAM PlatformsJifei Yi, Benchao Dong, Mingkai Dong, Ruizhe Tong 等FAST 2022 · 23 次引用
相关 Paper
- HUNTER: Releasing Persistent Memory Write Performance with A Novel PM-DRAM Collaboration ArchitectureYanqi Pan, Yifeng Zhang, Wen Xia, Xiangyu Zou 等DAC 2023 · 1 次引用
- DRPTM: A Decoupled Read-efficient High-scalable Persistent Transactional MemoryWenkai Liang, Hao Hu, Xiangyu Zou, Wen Xia 等DAC 2023 · 3 次引用
- SPHT: Scalable Persistent Hardware TransactionsDaniel Castro, Alexandro Baldassin, João Barreto, Paolo RomanoFAST 2021 · 12 次引用
- A High-Performance Persistent Transactional Memory System via Cooperative Concurrency ControlHao Hu, Xinrui Zheng, Yizou Chen, Xiangyu Zou 等HPDC 2026
- FUR: Fast and Unlimited Reads on Persistent Memory TransactionsJoão Barreto, Daniel Castro, Paolo Romano, Alexandro BaldassinEuroSys 2026
