Efficient Multi-Grained Wear Leveling for Inodes of Persistent Memory File Systems

Existing persistent memory file systems usually store inodes in fixed locations, which ignores the external and internal imbalanced wears of inodes on the persistent memory (PM). Therefore, the PM for storing inodes can be easily damaged. Existing solutions achieve low accuracy of wear-leveling with high-overhead data migrations. In this paper, we propose a Lightweight and Multi-grained Wear-leveling Mechanism, called LMWM, to solve these problems. We implement the proposed LMWM in Linux kernel based on NOVA, a typical persistent memory file system. Compared with MARCH, the state-of-theart wear-leveling mechanism for inode table, experimental results show that LMWM can improve 2.5× lifetime of PM and 1.12× performance, respectively.

[1]  Shouzhen Gu,et al.  Wear-Leveling Aware Page Management for Non-Volatile Main Memory on Embedded Systems , 2016, IEEE Transactions on Multi-Scale Computing Systems.

[2]  Edwin Hsing-Mean Sha,et al.  Efficient wear leveling for inodes of file systems on persistent memories , 2018, 2018 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[3]  Edwin Hsing-Mean Sha,et al.  A New Design of In-Memory File System Based on File Virtual Address Framework , 2016, IEEE Transactions on Computers.

[4]  Youyou Lu,et al.  A high performance file system for non-volatile main memory , 2016, EuroSys.

[5]  Yi Lin,et al.  Durable and Energy Efficient In-Memory Frequent-Pattern Mining , 2017, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[6]  Vijayalakshmi Srinivasan,et al.  Scalable high performance main memory system using phase-change memory technology , 2009, ISCA '09.

[7]  Eunji Lee,et al.  Unioning of the buffer cache and journaling layers with non-volatile memory , 2013, FAST.

[8]  Sanjay Kumar,et al.  System software for persistent memory , 2014, EuroSys '14.

[9]  Erez Zadok,et al.  Filebench: A Flexible Framework for File System Benchmarking , 2016, login Usenix Mag..

[10]  Tei-Wei Kuo,et al.  Marching-Based Wear-Leveling for PCM-Based Storage Systems , 2015, TODE.

[11]  Jian Xu,et al.  NOVA: A Log-structured File System for Hybrid Volatile/Non-volatile Main Memories , 2016, FAST.

[12]  Dan Feng,et al.  A wear-leveling-aware counter mode for data encryption in non-volatile memories , 2017, Design, Automation & Test in Europe Conference & Exhibition (DATE), 2017.

[13]  Satish Narayanasamy,et al.  Software Wear Management for Persistent Memories , 2019, FAST.

[14]  Jiayin Li,et al.  WOM-Code Solutions for Low Latency and High Endurance in Phase Change Memory , 2016, IEEE Transactions on Computers.