Efficient Wear Leveling for Inodes of File Systems on Persistent Memories

Xianzhang Chen1,2,a, Edwin H.-M. Sha1,b, Yuansong Zeng1,c, Chaoshu Yang1,d, Weiwen Jiang1,e and Qingfeng Zhuge2
1College of Computer Science, Chongqing University
axzchen109@gmail.com
bedwinsha@gmail.com
ccquysz@gmail.com
dyangchaoshu@gmail.com
ejiang.wwen@gmail.com
2East China Normal University
qfzhuge@gmail.com

ABSTRACT


Existing persistent memory file systems achieve highperformance file accesses by exploiting advanced characteristics of persistent memories (PMs), such as PCM. However, they ignore the limited endurance of PMs. Particularly, the frequently updated inodes are stored on fixed locations throughout their lifetime, which can easily damage PM with common file operations. To address such issues, we propose a new mechanism, Virtualized Inode (VInode), for the wear leveling of inodes of persistent memory file systems. In VInode, we develop an algorithm called Pages as Communicating Vessels (PCV) to efficiently find and migrate the heavily written inodes. We implement VInode in SIMFS, a typical persistent memory file system. Experiments are conducted with well-known benchmarks. Compared with original SIMFS, experimental results show that VInode can reduce the maximum value and standard deviation of the write counts of pages to 1800x and 6200x lower, respectively.



Full Text (PDF)