HNFFS: Revisiting the NOR Flash File System

Yanqi Pan, Zhisheng Hu, N. Zhang, Hao Hu, Wen Xia, Zhongming Jiang, Liang Shi, Shiyi Li
{"title":"HNFFS: Revisiting the NOR Flash File System","authors":"Yanqi Pan, Zhisheng Hu, N. Zhang, Hao Hu, Wen Xia, Zhongming Jiang, Liang Shi, Shiyi Li","doi":"10.1109/NVMSA56066.2022.00012","DOIUrl":null,"url":null,"abstract":"NOR flash, a type of non-volatile memory technologies, embraces its new age of IoT due to its execute-in-place (XIP) feature. Generally, there are two representative file systems designed for NOR flash: Journaling Flash File System 2 (JFFS2) and Spi Flash File System (SPIFFS). They suffer from either slow mount time, heavy foreground garbage collection (GC) overheads, poor read/write performance, or inefficient Wear- Leveling (WL), and thus they are unfriendly to IoT devices. To overcome the above limitations of existing NOR flash file systems, we propose and design a Harmony NOR Flash File System (HNFFS): (1) We introduce Erasable Sector Summary (ESS) to reduce mount time by leveraging NOR flash’s fast read capabilities. ESS deploys summary nodes to avoid scanning the whole NOR flash when mounting the system. (2) We propose Adaptive Garbage Collection (AGC), which allows the NOR flash file system to adaptively trigger GC in advance and thus reduces the heavy Foreground GC overheads. (3) We introduce Mergeable Tree (MT) to decrease the DRAM usage for indexing while improving write performance by merging the sequential small-data write. (4) We provide Random Static Wear-Leveling (RSWL) to efficiently perform WL by combining the high performance Random WL (RWL) and the reliable Static WL (SWL). Experimental results suggest that HNFFS outperforms the state-of-the-art NOR flash file systems. Moreover, the evaluation of RSWL also shows the optimal tradeoff between performance and wear evenness.","PeriodicalId":185204,"journal":{"name":"2022 IEEE 11th Non-Volatile Memory Systems and Applications Symposium (NVMSA)","volume":"101 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 11th Non-Volatile Memory Systems and Applications Symposium (NVMSA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NVMSA56066.2022.00012","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

NOR flash, a type of non-volatile memory technologies, embraces its new age of IoT due to its execute-in-place (XIP) feature. Generally, there are two representative file systems designed for NOR flash: Journaling Flash File System 2 (JFFS2) and Spi Flash File System (SPIFFS). They suffer from either slow mount time, heavy foreground garbage collection (GC) overheads, poor read/write performance, or inefficient Wear- Leveling (WL), and thus they are unfriendly to IoT devices. To overcome the above limitations of existing NOR flash file systems, we propose and design a Harmony NOR Flash File System (HNFFS): (1) We introduce Erasable Sector Summary (ESS) to reduce mount time by leveraging NOR flash’s fast read capabilities. ESS deploys summary nodes to avoid scanning the whole NOR flash when mounting the system. (2) We propose Adaptive Garbage Collection (AGC), which allows the NOR flash file system to adaptively trigger GC in advance and thus reduces the heavy Foreground GC overheads. (3) We introduce Mergeable Tree (MT) to decrease the DRAM usage for indexing while improving write performance by merging the sequential small-data write. (4) We provide Random Static Wear-Leveling (RSWL) to efficiently perform WL by combining the high performance Random WL (RWL) and the reliable Static WL (SWL). Experimental results suggest that HNFFS outperforms the state-of-the-art NOR flash file systems. Moreover, the evaluation of RSWL also shows the optimal tradeoff between performance and wear evenness.
HNFFS:重新访问NOR Flash文件系统
NOR闪存是一种非易失性存储技术,由于其就地执行(XIP)特性,迎来了物联网的新时代。一般来说,为NOR闪存设计的代表性文件系统有两种:Journaling flash file System 2 (JFFS2)和Spi flash file System (SPIFFS)。它们要么挂载时间慢,要么前台垃圾收集(GC)开销大,要么读写性能差,要么磨损均衡(WL)效率低,因此它们对物联网设备不友好。为了克服现有NOR闪存文件系统的上述限制,我们提出并设计了一个和谐NOR闪存文件系统(HNFFS):(1)我们引入了可擦除扇区摘要(ESS),利用NOR闪存的快速读取能力来减少挂载时间。ESS部署汇总节点,避免在挂载系统时扫描整个NOR闪存。(2)我们提出了自适应垃圾收集(AGC),它允许NOR闪存文件系统自适应地提前触发GC,从而减少了繁重的前台GC开销。(3)引入可合并树(merge Tree, MT),通过合并顺序的小数据写入,减少了用于索引的DRAM的使用,同时提高了写入性能。(4)将高性能的随机轮询(RWL)和可靠的静态轮询(SWL)相结合,提供随机静态轮询(RSWL)来高效地执行轮询。实验结果表明,HNFFS优于最先进的NOR闪存文件系统。此外,RSWL的评估也显示了性能和磨损均匀性之间的最佳权衡。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信