TY - JOUR
T1 - NF2FS
T2 - A High-Performance and Long-Lifespan NOR Flash File System
AU - Huang, Hao
AU - Wang, Junyang
AU - Pan, Yanqi
AU - Xia, Wen
AU - Zou, Xiangyu
AU - Yang, Darong
AU - Shi, Liang
AU - Du, Hongwei
N1 - Publisher Copyright:
© 1982-2012 IEEE.
PY - 2026
Y1 - 2026
N2 - 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.
AB - 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.
KW - Data Compression
KW - Embedded System
KW - File System
KW - Internet of Things
KW - NOR Flash
UR - https://www.scopus.com/pages/publications/105054499778
U2 - 10.1109/TCAD.2026.3744529
DO - 10.1109/TCAD.2026.3744529
M3 - 文章
AN - SCOPUS:105054499778
SN - 0278-0070
JO - IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
JF - IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
ER -