LeaFTL:一种基于学习的固态硬盘闪存转换层
LeaFTL: A Learning-Based Flash Translation Layer for Solid-State Drives
摘要:
在现代固态硬盘(SSD)中,闪存页的索引是其存储控制器中的关键组件。它不仅影响数据访问性能,而且还决定了宝贵的设备内DRAM资源的效率。已经提出了各种地址映射方案和优化技术。然而,它们中的大多数都是由人为驱动的人工智能开发的。它们不能在SSD控制器中自动捕获运行时的各种数据访问模式,这留下了很大的改进空间。在本文中,我们提出了一个基于学习的闪存转换层(FTL),名为Leaftl,它学习地址映射,以容忍动态数据访问模式,通过线性回归在运行时。通过将大量映射条目分组到一个学习段中,它显著减少了地址映射表的内存占用,这进一步有利于SSD控制器中的数据缓存。LeafTL还采用了各种优化技术,包括带外元数据验证以容忍错误预测,优化的闪存分配以及学习索引段的动态压缩。我们使用SSD模拟器实现LeafTL,并使用各种存储工作负载对其进行评估。与最先进的FTL方案相比,LeaFTL平均节省了2.9倍的映射表内存消耗,平均提高了1.4倍的存储性能。
英文摘要:
In modern solid-state drives (SSDs), the indexing of flash pages is a critical component in their storage controllers. It not only affects the data access performance, but also determines the efficiency of the precious in-device DRAM resource. A variety of address mapping schemes and optimization techniques have been proposed. However, most of them were developed with human-driven heuristics. They cannot automatically capture diverse data access patterns at runtime in SSD controllers, which leaves a large room for improvement. In this paper, we present a learning-based flash translation layer (FTL), named LeaFTL, which learns the address mapping to tolerate dynamic data access patterns via linear regression at runtime. By grouping a large set of mapping entries into a learned segment, it significantly reduces the memory footprint of the address mapping table, which further benefits the data caching in SSD controllers. LeaFTL also employs various optimization techniques, including out-of-band metadata verification to tolerate mispredictions, optimized flash allocation, and dynamic compaction of learned index segments. We implement LeaFTL with an SSD simulator and evaluate it with various storage workloads. LeaFTL saves the memory consumption of the mapping table by 2.9x on average and improves the storage performance by 1.4x on average, in comparison with state-of-the-art FTL schemes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。