Enabling High-Performance and Secure Userspace NVM File Systems with the Trio Architecture
Open Access
- 23 October 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 150-165
Abstract
Userspace library file systems (LibFSes) promise to unleash the performance potential of non-volatile memory (NVM) by directly accessing it and enabling unprivileged applications to customize their LibFSes to their workloads. Unfortunately, such benefits pose a significant challenge to ensuring metadata integrity. Existing works either underutilize NVM's performance or forgo critical file system security guarantees. We present Trio, a userspace NVM file system architecture that resolves this inherent tension with a clean decoupling among file system design, access control, and metadata integrity enforcement. Our key insight is that other state (i.e., auxiliary state) in a file system can be regenerated from its "ground truth" state (i.e., core state). Thus, Trio explicitly defines the data structure of a single core state and shares it as common knowledge among its LibFSes and the trusted entity. Enabled by this, a LibFS can directly access NVM without involving the trusted entity and can be customized with its private auxiliary state. The trusted entity enforces metadata integrity by verifying the core state of a file when its write access is transferred from one LibFS to another. We design a generic POSIX-like file system called ArckFS and two customized file systems based on the Trio architecture. Our evaluation shows that ArckFS outperforms existing NVM file systems by 3.1× to 17× on LevelDB while the customized file systems further outperform ArckFS by 1.3×.Keywords
Funding Information
- NSF (National Science Foundation) (CNS-1910593 CNS-1730043)
This publication has 8 references indexed in Scilit:
- WineFS2021
- FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory2020
- Finding and Fixing Performance Pathologies in Persistent Memory Software Stacks2019
- Scaling a file system to many cores using an operation log2017
- Split-level I/O scheduling2015
- How to get more value from your file system directory cache2015
- Aerie2014
- The Design and Implementation of a Log-structured File System1992