Abstract
NOR flash has been increasingly popular for RAM-restricted microcontrollers due to its small package, high reliability, etc. To satisfy RAM restrictions, existing NOR flash file systems migrate their functionalities, i.e., block-level data organization and wear leveling (WL), from RAM to NOR flash. However, such fine-grained block-level management introduces frequent index updates and NOR flash scanning, leading to severe I/O amplification, which further deteriorates as they are decoupled in existing NOR flash file systems. To address the problem, we propose NF2FS, a NOR flash-friendly file system. Our key insight is that applications running on NOR flash usually have (1) small file sizes, allowing block-based data organization to be converted to a flat-file layout; (2) deterministic I/O patterns, thereby WL can be achieved through coarse file swapping; (3) redundant sensor data, thereby compression can be leveraged to improve performance and prolong lifespan. As a result, NF2FS relaxes data organization and WL to a coarse file-level, cooperates them within the file system, and compresses write-intensive sensor data. We implement NF2FS in FreeRTOS using a range of techniques, such as all-logging layout, region-based WL, and lightweight log compressor. Experiments suggest that NF2FS significantly outperforms existing NOR flash file systems in I/O performance and NOR flash lifespan.
| Original language | English |
|---|---|
| Journal | IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems |
| DOIs | |
| State | Accepted/In press - 2026 |
Keywords
- Data Compression
- Embedded System
- File System
- Internet of Things
- NOR Flash
Fingerprint
Dive into the research topics of 'NF2FS: A High-Performance and Long-Lifespan NOR Flash File System'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver