期刊文献+

一种基于预搜索的自适应闪存垃圾回收算法

An Adaptive Garbage Collection Algorithm for Flash Based on Pre-search
下载PDF
导出
摘要 闪存(Flash memory)普遍采取异地更新机制来提高写数据的效率,因此必须设计垃圾回收算法回收因数据更新产生的无效数据页,针对YAFFS2文件系统中垃圾回收算法搜索效率低,且未能较好地兼顾闪存磨损均衡度的问题,提出基于预搜索的自适应垃圾回收算法.该算法采用重叠的段搜索方式对闪存进行预搜索,根据预搜索确定的回收次数与写入数据量之比,自适应地采取不同的目标块选择策略进行回收.实验表明,算法能及时发现并回收符合条件的脏块,减少无效数据页长期占用闪存空间的现象,在提高垃圾回收效率的同时,提高了闪存磨损均衡度. Flash memory adopts out-of-place update scheme to improve the efficiency of the write operation , therefore , garbage collection algorithm must be designed to recycle invalid data pages generated by data update. For some drawbacks of existing garbage collection algorithms of YAFFS2, such as the search efficiency is needed to be further improved, and wear-leveling is not drawn enough attention, we propose an adaptive algorithm based on pre-searching. Based on the ratio of recycling times to the amount of data to be written to the flash, the algorithm uses overlapping segments pre-search mode for searching, and adaptively selects different victim block selecting strategy for garbage collection. Experimental results show that the algorithm can detect and recycle qualified dirty blocks in time, and reduce the number of long-term occupations by invalid data pages. The algorithm improves the wear-leveling degree of flash memory with high recycle efficiency.
出处 《小型微型计算机系统》 CSCD 北大核心 2015年第10期2403-2407,共5页 Journal of Chinese Computer Systems
关键词 闪存 垃圾回收 预搜索 自适应 flash garbage collection pre-search adaptive
  • 相关文献

参考文献2

二级参考文献55

  • 1顾宝根,顾喜梅.日志结构的嵌入式文件系统研究[J].计算机工程与设计,2004,25(6):915-917. 被引量:17
  • 2Lai S.Flash memories:Successes and challenges[J].IBM Journal of Research and Development,2008,52(4/5):529-535.
  • 3Chang Lipin,Kuo Teiwei.Efficient management for large-scale flash-memory storage systems with resource conservation[J].ACM Trans on Storage,2005,1(4):381-418.
  • 4Park C,Seo J,Bae S,et al.A low-cost memory architecture with NAND XIP for mobile embedded systems[C]//Proc of the 1st IEEE/ACM/IFIP Int Conf on Hardware-Software Codesign and System Synthesis.New York:ACM,2003:138-143.
  • 5Wu M,Willy Z.eNVy:A non-volatile main memory storage system[C]//Proc of the 6th Int Conf on Architectural Support for Programming Languages and Operating Systems.New York:ACM,1994:86-97.
  • 6Taeho K,Trevor M.FlashCache:A NAND flash memory file cache for low power Web servers[C]//Proc of the 2006 Int Conf on Compilers,Architecture and Synthesis for Embedded Systems.New York:ACM,2006:103-112.
  • 7Kgil T,Roberts D,Mudge T.Improving NAND flash based disk caches[C]//Proc of the 35th Int Symp on Computer Architecture.New York:ACM,2008:327-338.
  • 8Dushyanth N,Eno T,Austin D.Migrating server storage to SSDs:Analysis of tradeoffs[C]//Proc of the 4th ACM European Conf on Computer Systems.New York:ACM,2009:145-158.
  • 9Microsoft Corp.Explore the features:Performance[EB/OL].[2008-12-05].http://www.microsoft.com/windows/windows-vista/features/performance.aspx.
  • 10Shmidt D.Trueffs wear-leveling mechanism[R].Newark,CA:M-System,2002.

共引文献92

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部