Efficient logging of metadata using NVRAM for NAND flash based file system

In this work, we designed and implemented schemes that defer writing of metadata in order to realize an efficient and reliable NAND flash file system. The conventional NAND flash file systems synchronously write their metadata in the NAND flash for reliability; however, the synchronous writing of metadata generates excessive garbage. We propose the scheme for merging the writing of metadata so as to reduce the garbage of the NAND flash while ensuring file system consistency. The proposed scheme uses the non-volatile memory for synchronously logging modifications of the metadata. The logging can significantly reduce excessive metadata writing of NAND flash. Also, the last modified metadata can be recovered from a crash, after scanning logs in the non-volatile memory. We implemented the scheme for the deferred writing of metadata on top of a Linux OS. The evaluation results show that the proposed scheme greatly reduced the overall application time and the number of written pages across various benchmarks, compared to the conventional flash file system.

[1]  Han-joon Kim,et al.  An Effective Flash Memory Manager for Reliable Flash Memory Space Management , 2002 .

[2]  Li-Pin Chang,et al.  On efficient wear leveling for large-scale flash-memory storage systems , 2007, SAC '07.

[3]  Seung-Ho Lim,et al.  Caching and Deferred Write of Metadata for Yaffs2 Flash File System , 2011, 2011 IFIP 9th International Conference on Embedded and Ubiquitous Computing.

[4]  Dimitrios Gunopulos,et al.  Efficient indexing data structures for flash-based sensor devices , 2006, TOS.

[5]  Michael Neufeld,et al.  ELF: an efficient log-structured flash file system for micro sensor nodes , 2004, SenSys '04.

[6]  Youjip Won,et al.  Embedded NAND flash file system for mobile multimedia devices , 2009, IEEE Transactions on Consumer Electronics.

[7]  Kyu Ho Park,et al.  An efficient NAND flash file system for flash memory storage , 2006, IEEE Transactions on Computers.

[8]  Sivan Toledo,et al.  A Transactional Flash File System for Microcontrollers , 2005, USENIX Annual Technical Conference, General Track.

[9]  Philip Levis,et al.  TINX: a tiny index design for flash memory on wireless sensor devices , 2006, SenSys '06.

[10]  Kai Li,et al.  Storage alternatives for mobile computers , 1994, OSDI '94.

[11]  Mendel Rosenblum,et al.  The design and implementation of a log-structured file system , 1991, SOSP '91.

[12]  Sean Quinlan,et al.  Venti: A New Approach to Archival Storage , 2002, FAST.

[13]  Jeffrey Katcher,et al.  PostMark: A New File System Benchmark , 1997 .

[14]  Seung-Ho Lim,et al.  PFFS: a scalable flash memory file system for the hybrid architecture of phase-change RAM and NAND flash , 2008, SAC '08.

[15]  Sung Hoon Baek,et al.  Write Back Routine for JFFS2 Efficient I/O , 2006, EUC.

[16]  S.Y. Lee,et al.  PRAM process technology , 2004, 2004 International Conference on Integrated Circuit Design and Technology (IEEE Cat. No.04EX866).

[17]  George Lawton Improved flash memory grows in popularity , 2006, Computer.

[18]  Tei-Wei Kuo,et al.  A Real-Time Garbage Collection Mechanism for Flash-Memory Stroage Systems in Embedded Systems , 2002 .