跳到主要导航 跳到搜索 跳到主要内容

Simplifying and Accelerating NOR Flash I/O Stack for RAM-Restricted Microcontrollers

  • Hao Huang
  • , Yanqi Pan
  • , Wen Xia*
  • , Xiangyu Zou
  • , Darong Yang
  • , Liang Shi
  • , Hongwei Du
  • *此作品的通讯作者
  • Harbin Institute of Technology Shenzhen
  • East China Normal University

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

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, therefore block-based data organization can be converted to flat file layout (for fast file/dir scanning); (2) deterministic I/O patterns, thereby WL can be achieved through coarse file swapping. As a result, NF2FS relaxes data organization and WL to a coarse-grained file level, which are then cooperated within the file system. We implement NF2FS in FreeRTOS using a range of techniques, including the all-logging layout, along with efficient layout management approaches such as dual bitmap space allocator and soft-update-like crash consistency. Experiments suggest that NF2FS significantly outperforms existing works and can prevent quick NOR flash wear-out.

源语言英语
主期刊名ASPLOS 2025 - Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems
出版商Association for Computing Machinery
页1076-1090
页数15
ISBN(电子版)9798400710797
DOI
出版状态已出版 - 30 3月 2025
活动30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, ASPLOS 2025 - Rotterdam, 荷兰
期限: 30 3月 2025 → 3 4月 2025

丛书

姓名International Conference on Architectural Support for Programming Languages and Operating Systems - ASPLOS
卷2

会议

会议30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, ASPLOS 2025
国家/地区荷兰
市Rotterdam
时期30/03/25 → 3/04/25

学术指纹

探究 'Simplifying and Accelerating NOR Flash I/O Stack for RAM-Restricted Microcontrollers' 的科研主题。它们共同构成独一无二的学术指纹。

引用此