Performance and Protection in the ZoFS User-space NVM File System

被引:87
作者
Dong, Mingkai [1 ]
Bu, Heng [1 ]
Yi, Jifei [1 ]
Dong, Benchao [1 ]
Chen, Haibo [1 ]
机构
[1] Shanghai Jiao Tong Univ, Inst Parallel & Distributed Syst, Shanghai Key Lab Scalable Comp & Syst, Shanghai, Peoples R China
来源
PROCEEDINGS OF THE TWENTY-SEVENTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES (SOSP '19) | 2019年
基金
中国国家自然科学基金;
关键词
non-volatile memory; user-space file systems; memory protection keys; PHASE-CHANGE MEMORY;
D O I
10.1145/3341301.3359637
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Non-volatile memory (NVM) can be directly accessed in user space without going through the kernel. This encourages several recent studies on building user-space NVM file systems. However, for the sake of file system protection, none of the existing file systems grant user-space file system libraries with direct control over both metadata and data of the NVM, leaving fast NVM resources underexploited. Based on the observation that applications tend to group files with similar access permissions within the same directory and permission changes are rare operations, this paper proposes a new abstraction called coffer, which is a collection of isolated NVM resources, and show its merits on building a performant and protected NVM file system in user space. The key idea is to separate NVM protection from management via coffers so that user-space libraries can take full control of NVM within a coffer while the kernel guarantees strict isolation among coffers. Based on coffers, we build an NVM file system architecture to bring the high performance of NVM to unmodified dynamically linked applications and facilitate the development of performant and flexible user-space NVM file system libraries. With an example file system called ZoFS, we show that user-space file systems built upon coffers can outperform existing NVM file systems in both benchmarks and real-world applications.
引用
收藏
页码:478 / 493
页数:16
相关论文
共 60 条
[1]  
[Anonymous], 2014, SUPPORT EXT4 NV DIMM
[2]  
[Anonymous], 2015, 13 USENIX C FIL STOR
[3]   Makalu: Fast Recoverable Allocation of Non-volatile Memory [J].
Bhandari, Kumud ;
Chakrabarti, Dhruva R. ;
Boehm, Hans-J. .
ACM SIGPLAN NOTICES, 2016, 51 (10) :677-694
[4]  
Boyd-Wickizer S.E.A., 2008, OSDI, P43
[5]  
Chinner Dave, 2019, DIRECT ACCESS FILES
[6]  
Chinner Dave, 2015, XFS: DAX support
[7]  
Condit J, 2009, SOSP'09: PROCEEDINGS OF THE TWENTY-SECOND ACM SIGOPS SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, P133
[8]  
Corbet Jonathan., 2015, INTEL MEMORY PROTECT
[9]  
Corbet Jonathan., 2014, SUPPORTING FILESYSTE
[10]  
Dong MK, 2017, 2017 USENIX ANNUAL TECHNICAL CONFERENCE (USENIX ATC '17), P719