Sort:
Regular Paper Issue
NapFS: A High-Performance Persistent Memory File System for Non-Uniform Memory Access Architectures
Journal of Computer Science and Technology 2025, 40(4): 1155-1171
Published: 30 August 2025
Abstract Collect

Persistent memory (PM) allows file systems to directly persist data on the memory bus. To increase the capacity of PM file systems, building a file system across sockets with each attached PM is attractive. However, accessing data across sockets incurs impacts of the non-uniform memory access (NUMA) architecture, which will lead to significant performance degradation. In this paper, we first use experiments to understand the NUMA impacts on building PM file systems. And then, we propose four design principles for building a high-performance PM file system NapFS for the NUMA architecture. We architect NapFS with per-socket local PM file systems and per-socket dedicated IO thread pools. This not only allows applications to delegate data accesses to IO threads for avoiding remote PM accesses, but also fully reuses existing single-socket PM file systems to reduce implementation complexity. Additionally, NapFS utilizes fast DRAM to accelerate performance by adding a global cache and adopts a selective cache mechanism to eliminate the redundant double-copy overhead for synchronization operations. Lastly, we show that NapFS can adopt extended optimizations to improve scalability and the performance of critical requests. We evaluate NapFS against other multi-socket PM file systems. The evaluation results show that NapFS achieves 2.2x and 1.0x throughput improvement for Filebench and RocksDB, respectively.

Regular Paper Issue
Dalea: A Persistent Multi-Level Extendible Hashing with Improved Tail Performance
Journal of Computer Science and Technology 2023, 38(5): 1051-1073
Published: 30 September 2023
Abstract Collect

Persistent memory (PM) promises byte-addressability, large capacity, and durability. Main memory systems, such as key-value stores and in-memory databases, benefit from such features of PM. Due to the great popularity of hashing index in main memory systems, a number of research efforts are made to provide high average performance persistent hashing. However, suboptimal tail performance in terms of tail throughput and tail latency is still observed for existing persistent hashing. In this paper, we analyze major sources of suboptimal tail performance from key design issues of persistent hashing. We identify the global hash structure and concurrency control as remaining explorable design spaces for improving tail performance. We propose Directory-sharing Multi-level Extendible Hashing (Dalea) for PM. Dalea designs ancestor link-based extendible hashing as well as fine-grained transient lock to address the two main sources (rehashing and locking) affecting tail performance. The evaluation results show that, compared with state-of-the-art persistent hashing Dash, Dalea achieves increased tail throughput by 4.1x and reduced tail latency by 5.4x. Moreover, in order to provide design guidelines for improving tail performance, we adopt Dalea as a testbed to identify different impacts of four factors on tail performance, including fine-grained rehashing, transient locking, memory pre-allocation, and fingerprinting.

Survey Issue
A Survey of Non-Volatile Main Memory File Systems
Journal of Computer Science and Technology 2023, 38(2): 348-372
Published: 30 March 2023
Abstract Collect

Non-volatile memories (NVMs) provide lower latency and higher bandwidth than block devices. Besides, NVMs are byte-addressable and provide persistence that can be used as memory-level storage devices (non-volatile main memory, NVMM). These features change storage hierarchy and allow CPU to access persistent data using load/store instructions. Thus, we can directly build a file system on NVMM. However, traditional file systems are designed based on slow block devices. They use a deep and complex software stack to optimize file system performance. This design results in software overhead being the dominant factor affecting NVMM file systems. Besides, scalability, crash consistency, data protection, and cross-media storage should be reconsidered in NVMM file systems. We survey existing work on optimizing NVMM file systems. First, we analyze the problems when directly using traditional file systems on NVMM, including heavy software overhead, limited scalability, inappropriate consistency guarantee techniques, etc. Second, we summarize the technique of 30 typical NVMM file systems and analyze their advantages and disadvantages. Finally, we provide a few suggestions for designing a high-performance NVMM file system based on real hardware Optane DC persistent memory module. Specifically, we suggest applying various techniques to reduce software overheads, improving the scalability of virtual file system (VFS), adopting highly-concurrent data structures (e.g., lock and index), using memory protection keys (MPK) for data protection, and carefully designing data placement/migration for cross-media file system.

Total 3