This paper presents a hybrid flash file system (HFFS) based on both NOR flash and NAND flash memory. In a conventional NAND flash-based flash file system, there is a trade-off between life span and durability in the frequent writing of small amounts of data. Because NAND flash supports only a page-level I/O, at least one page is wasted in the synchronous writing of small amounts of data. The wasting of pages reduces the utilization and life span of the NAND flash. To alleviate the utilization problem, some NAND flash-based flash file systems write small amounts of data asynchronously with RAM buffers, though buffering in RAM decreases the durability of the system. Our HFFS eliminates the trade-off between life span and durability. It synchronously stores data as a log in the NOR flash, whenever we append small amounts of data to a file. The merged logs are then flushed to the NAND flash in a page-aligned fashion. The implementation of our HFFS is based on our previous NAND flash-based file system, called CFFS, The experimental results reveal that our HFFS provides a longer life span than a conventional NAND flash-based synchronous flash file system with a similar level of durability.
[1]
David Woodhouse,et al.
JFFS : The Journalling Flash File System
,
2001
.
[2]
Mendel Rosenblum,et al.
The design and implementation of a log-structured file system
,
1991,
SOSP '91.
[3]
John Anderson,et al.
An analysis of a large scale habitat monitoring application
,
2004,
SenSys '04.
[4]
Dimitrios Gunopulos,et al.
Efficient indexing data structures for flash-based sensor devices
,
2006,
TOS.
[5]
Philip Levis,et al.
TINX: a tiny index design for flash memory on wireless sensor devices
,
2006,
SenSys '06.
[6]
Majid Sarrafzadeh,et al.
Wireless sensor networks for health monitoring
,
2005,
The Second Annual International Conference on Mobile and Ubiquitous Systems: Networking and Services.
[7]
Michael Neufeld,et al.
ELF: an efficient log-structured flash file system for micro sensor nodes
,
2004,
SenSys '04.
[8]
Kyu Ho Park,et al.
An efficient NAND flash file system for flash memory storage
,
2006,
IEEE Transactions on Computers.