HTMFS: Strong Consistency Comes for Free with Hardware Transactional Memory in Persistent Memory File Systems
Jifei Yi, Mingkai Dong, Fangnuo Wu, Haibo Chen
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a290d22b-8279-4a49-8138-550fdc3818beCited by top-tier papers5
- Light-Dedup: A Light-weight Inline Deduplication Framework for Non-Volatile Memory File SystemsJiansheng Qiu, Yanqi Pan, Wen Xia, Xiaojia Huang et al.USENIX ATC 2023 · 20 citations
- SingularFS: A Billion-Scale Distributed File System Using a Single Metadata ServerHao Guo, Youyou Lu, Wenhao Lv, Xiaojian Liao et al.USENIX ATC 2023 · 17 citations
- Optimizing File Systems on Heterogeneous Memory by Integrating DRAM Cache with Virtual Memory ManagementYubo Liu, Yuxin Ren, Mingrui Liu, Hongbo Li et al.FAST 2024 · 13 citations
- Exploiting Persistent CPU Cache for Scalable Persistent Hash IndexBowen Zhang, Shengan Zheng, Liangxu Nie, Zhenlin Qi et al.ICDE 2024 · 3 citations
- Fast and Synchronous Crash Consistency with Metadata Write-Once File SystemYanqi Pan, Wen Xia, Yifeng Zhang, Xiangyu Zou et al.OSDI 2025
Builds on6
- Pronto: Easy and Fast Persistence for Volatile Data StructuresAmir Saman Memaripour, Joseph Izraelevitz, Steven SwansonASPLOS 2020 · 55 citations
- Durable Transactional Memory Can Scale with TimestoneMadhava Krishnan Ramanathan, Jaeho Kim, Ajit Mathew, Xinwei Fu et al.ASPLOS 2020 · 46 citations
- TIPS: Making Volatile Index Structures Persistent with DRAM-NVMM TieringMadhava Krishnan Ramanathan, Wook-Hee Kim, Xinwei Fu, Sumit Kumar Monga et al.USENIX ATC 2021 · 32 citations
- Crafty: efficient, HTM-compatible persistent transactionsKaan Genç, Michael D. Bond, Guoqing Harry XuPLDI 2020 · 31 citations
- MT^2: Memory Bandwidth Regulation on Hybrid NVM/DRAM PlatformsJifei Yi, Benchao Dong, Mingkai Dong, Ruizhe Tong et al.FAST 2022 · 23 citations
Related papers
- HUNTER: Releasing Persistent Memory Write Performance with A Novel PM-DRAM Collaboration ArchitectureYanqi Pan, Yifeng Zhang, Wen Xia, Xiangyu Zou et al.DAC 2023 · 1 citation
- DRPTM: A Decoupled Read-efficient High-scalable Persistent Transactional MemoryWenkai Liang, Hao Hu, Xiangyu Zou, Wen Xia et al.DAC 2023 · 3 citations
- SPHT: Scalable Persistent Hardware TransactionsDaniel Castro, Alexandro Baldassin, João Barreto, Paolo RomanoFAST 2021 · 12 citations
- A High-Performance Persistent Transactional Memory System via Cooperative Concurrency ControlHao Hu, Xinrui Zheng, Yizou Chen, Xiangyu Zou et al.HPDC 2026
- ArchTM: Architecture-Aware, High Performance Transaction for Persistent MemoryKai Wu, Jie Ren, Ivy Bo Peng, Dong LiFAST 2021 · 31 citations
