摘要: 通过对NAND Flash硬件特点和YAFFS文件系统的分析与研究,在遵循NAND Flash“只写一次”限制的基础上,提出改进删除页操作的新策略,给出改进的实现过程,重点涉及实现中的难点及相应的解决策略。在一款龙芯开发板上的测试表明,该改进策略能够把改写、删除和截短文件等文件系统基础操作的性能提高约40%,具有很高的实用价值。
关键词:
NAND闪存,
YAFFS文件系统,
删除策略
Abstract: This paper researches some hardware characteristics of the NAND Flash and the YAFFS Flash memory log file system. On the basis of following the restriction of “write once” on the NAND Flash, it puts forward a new strategy to improve on deleting a paper, and provides an implementation method, focussing on difficulties in realization and relevant solutions. Test on FPGA platform integrated with GODSON-1 IP core indicates that the new strategy can raise the performance of the file system’s basic operations such as rewriting, deleting or resizing a file by nearly 40%, so it has high practical value.
Key words:
NAND Flash memory,
Yet Another Flash File System(YAFFS),
deletion strategy
中图分类号:
孙 丰;张福新. YAFFS文件系统的研究与改进[J]. 计算机工程, 2008, 34(5): 257-259.
SUN Feng; ZHANG Fu-xin. Research and Improvement of YAFFS File System[J]. Computer Engineering, 2008, 34(5): 257-259.