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

计算机工程

• 开发研究与工程应用 • 上一篇    下一篇

一种混合映射闪存转换层的设计与实现

郁志平1,2,刘 伟1,2,彭 虎3,张耀辉1,2   

  1. (1. 中国科学院苏州纳米技术与纳米仿生研究所系统集成部,江苏 苏州 215123;2. 中国科学院大学,北京 100049;3. 记忆科技研究院,江苏 苏州 215123)
  • 收稿日期:2013-01-22 出版日期:2014-02-15 发布日期:2014-02-13
  • 作者简介:郁志平(1988-),男,硕士研究生,主研方向:嵌入式系统;刘 伟,博士研究生;彭 虎,工程师;张耀辉,研究员、博士生导师

Design and Implementation of a Hybrid Mapping Flash Translation Layer

YU Zhi-ping 1,2, LIU Wei 1,2, PENG Hu 3, ZHANG Yao-hui 1,2   

  1. (1. System Integration Division, Suzhou Institute of Nano-tech and Nanobionics, Chinese Academy of Sciences, Suzhou 215123, China; 2. University of Chinese Academy of Sciences, Beijing 100049, China; 3. Memory Science and Technology Research Institute, Suzhou 215123, China)
  • Received:2013-01-22 Online:2014-02-15 Published:2014-02-13

摘要: 使用NAND Flash作为存储媒介的存储设备常需要闪存转换层(FTL)对NAND进行管理。页映射是一种常见的映射方式,但需要很大的内存存放页映射表,在嵌入式环境下这一条件往往无法满足。针对该问题,提出一种基于超级块的混合映射FTL,包括坏块管理、地址翻译、垃圾回收、上电恢复,使用的SRAM空间不到128 KB,远小于页映射,同时不需要存储映射表,程序在固态硬盘开发板上成功运行,实现固态硬盘基本读写功能。测试结果表明,该混合映射FTL方案具有较好的顺序读写性能。

关键词: 固态硬盘, NAND闪存, 闪存转换层, 混合映射, 超级块, 垃圾回收

Abstract: Flash Translation Layer(FTL) is always needed when NAND Flash is used in a memory device. Page level translation is the most popular, but needs a large RAM to store mapping table. This pager employs a superblock based hybrid mapping, and realizes a basic FTL on the Solid State Disk(SSD) development board. The test result shows that the hybrid FTL has good sequential read and write performance, and only needs 128 KB SRAM, which is far less than page level mapping. It also does not need to store mapping table. The program runs successfully in solid state disk development board, to achieve the basic functions of solid state disk read and write. Test results show that, the hybrid mapping FTL scheme has better sequential read and write performance.

Key words: Solid State Disk(SSD), NAND Flash, Flash Translation Layer(FTL), hybrid mapping, superblock, garbage collection

中图分类号: