An efficient wear-leveling-aware multi-grained allocator for persistent memory file systems

Zhiwang YU, Runyu ZHANG, Chaoshu YANG, Shun NIE, Duo LIU

PDF(1695 KB)
PDF(1695 KB)
Front. Inform. Technol. Electron. Eng ›› 2023, Vol. 24 ›› Issue (5) : 688-702. DOI: 10.1631/FITEE.2200468
Orginal Article
Orginal Article

An efficient wear-leveling-aware multi-grained allocator for persistent memory file systems

Author information +
History +

Abstract

Persistent memory (PM) file systems have been developed to achieve high performance by exploiting the advanced features of PMs, including nonvolatility, byte addressability, and dynamic random access memory (DRAM) like performance. Unfortunately, these PMs suffer from limited write endurance. Existing space management strategies of PM file systems can induce a severely unbalanced wear problem, which can damage the underlying PMs quickly. In this paper, we propose a Wear-leveling-aware Multi-grained Allocator, called WMAlloc, to achieve the wear leveling of PMs while improving the performance of file systems. WMAlloc adopts multiple min-heaps to manage the unused space of PMs. Each heap represents an allocation granularity. Then, WMAlloc allocates less-worn blocks from the corresponding min-heap for allocation requests. Moreover, to avoid recursive split and inefficient heap locations in WMAlloc, we further propose a bitmap-based multi-heap tree (BMT) to enhance WMAlloc, namely, WMAlloc-BMT. We implement WMAlloc and WMAlloc-BMT in the Linux kernel based on NOVA, a typical PM file system. Experimental results show that, compared with the original NOVA and dynamic wear-aware range management (DWARM), which is the state-of-the-art wear-leveling-aware allocator of PM file systems, WMAlloc can, respectively, achieve 4.11× and 1.81× maximum write number reduction and 1.02× and 1.64× performance with four workloads on average. Furthermore, WMAlloc-BMT outperforms WMAlloc with 1.08× performance and achieves 1.17× maximum write number reduction with four workloads on average.

Keywords

File system / Persistent memory / Wear-leveling / Multi-grained allocator

Cite this article

Download citation ▾
Zhiwang YU, Runyu ZHANG, Chaoshu YANG, Shun NIE, Duo LIU. An efficient wear-leveling-aware multi-grained allocator for persistent memory file systems. Front. Inform. Technol. Electron. Eng, 2023, 24(5): 688‒702 https://doi.org/10.1631/FITEE.2200468

RIGHTS & PERMISSIONS

2023 Zhejiang University Press
PDF(1695 KB)

Accesses

Citations

Detail

Sections
Recommended

/