arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1504.01666cs.DBcs.OS
收藏

Flash驻留页面映射FTL的垃圾回收技术

Garbage Collection Techniques for Flash-Resident Page-Mapping FTLs

Niv Dayan, Philippe Bonnet

摘要:

基于闪存的存储设备由于其优越的性能、增加的密度和较低的功耗而已经取代了硬盘驱动器(HDD)。不幸的是,闪存受到诸如写前擦除和有限的块寿命之类的具有挑战性的特性的影响。这些约束由闪存转换层(FTL)处理,该层在后台执行异地更新、损耗均衡和垃圾收集,同时为应用程序提供物理地址空间的虚拟化。一类相关的FTL采用从逻辑地址到物理地址的闪存驻留页面关联映射表,并使用较小的RAM驻留高速缓存用于频繁映射的条目。在本文中,我们解决的问题进行垃圾收集下,这样的FTL。我们观察到两个问题。首先,维护在这些方案下执行垃圾收集所需的元数据是有问题的,因为在写入时,我们不一定知道前映像的物理地址。其次,元数据的大小必须保持较小,因为它使RAM无法用于缓存频繁访问的条目。我们提出了两个互补的技术,称为懒惰的壁虎和对数壁虎,解决这些问题。当RAM足够存储GC元数据时,LazyGecko工作得很好。Logarithmic Gecko在RAM不充足的情况下工作得很好,并有效地将GC元数据存储在闪存中。因此,这些技术适用于具有不同数量的嵌入式RAM的广泛的闪存设备。

英文摘要:

Storage devices based on flash memory have replaced hard disk drives (HDDs) due to their superior performance, increasing density, and lower power consumption. Unfortunately, flash memory is subject to challenging idiosyncrasies like erase-before-write and limited block lifetime. These constraints are handled by a flash translation layer (FTL), which performs out-of-place updates, wear-leveling and garbage-collection behind the scene, while offering the application a virtualization of the physical address space. A class of relevant FTLs employ a flash-resident page-associative mapping table from logical to physical addresses, with a smaller RAM-resident cache for frequently mapped entries. In this paper, we address the problem of performing garbage-collection under such FTLs. We observe two problems. Firstly, maintaining the metadata needed to perform garbage-collection under these schemes is problematic, because at write-time we do not necessarily know the physical address of the before-image. Secondly, the size of this metadata must remain small, because it makes RAM unavailable for caching frequently accessed entries. We propose two complementary techniques, called Lazy Gecko and Logarithmic Gecko, which address these issues. Lazy Gecko works well when RAM is plentiful enough to store the GC metadata. Logarithmic Gecko works well when RAM isn't plentiful and efficiently stores the GC metadata in flash. Thus, these techniques are applicable to a wide range of flash devices with varying amounts of embedded RAM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑