作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (5): 257-259. doi: 10.3969/j.issn.1000-3428.2008.05.090

• 开发研究与设计技术 • 上一篇    下一篇

YAFFS文件系统的研究与改进

孙 丰1,2,张福新1   

  1. (1. 中国科学院计算技术研究所,北京 100080;2. 中国科学院研究生院,北京 100080)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-03-05 发布日期:2008-03-05

Research and Improvement of YAFFS File System

SUN Feng1,2, ZHANG Fu-xin1   

  1. (1. Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100080; 2. Graduate School, Chinese Academy of Sciences, Beijing 100080)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-03-05 Published:2008-03-05

摘要: 通过对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

中图分类号: