We use cookies to improve your experience with our site.

一种时序的位置感知页面映射的闪存转换层

A Temporal Locality-Aware Page-Mapped Flash Translation Layer

  • 摘要: 在企业规模环境下更好地利用闪存,必须处理随机写性能差的问题。我们分析了性能差的重要原因之一:闪存转换层(FTL)的设计,以实现虚拟到物理的地址转换并隐藏闪存的写前擦除特点。我们提出了一种完整的核心FTL引擎设计的模式转换,提出了一种基于需求的闪存转换层(DFTL)。DFTL能选择性地缓存页面层地址匹配。基于一种闪存仿真框架FlashSim,我们在实际企业规模工作负载下的实验评价证明了DFTL在企业规模存储系统中的可用性:改进了性能;减少了垃圾收集工作量;相对目前最流行的实现方式:混合FTL模式,提供了更好的超负载行为。例如:从一个在大规模金融所的OLTP应用的显著地随机写主导的I/O轨迹,显示了平均反应时间相对混合FTL模式的78%的改进(源于垃圾收集器操作的3折缩减)。即便对于著名的读主导的TPC-H基准,DFTL虽然引入了额外的负担, 仍然改进了56%的反应时间。有趣的是,当基于DFTL的SSD上的写回缓存被使用,DFTL甚至优于基于页面的FTL模式,在金融轨迹中改进了72%的反应时间。

     

    Abstract: The poor performance of random writes has been a cause of major concern which needs to be addressed to better utilize the potential of flash in enterprise-scale environments. We examine one of the important causes of this poor performance: the design of the flash translation layer (FTL) which performs the virtual-to-physical address translations and hides the erase-before-write characteristics of flash. We propose a complete paradigm shift in the design of the core FTL engine from the existing techniques with our Demand-Based Flash Translation Layer (DFTL) which selectively caches pagelevel address mappings. Our experimental evaluation using FlashSim with realistic enterprise-scale workloads endorses the utility of DFTL in enterprise-scale storage systems by demonstrating: 1) improved performance, 2) reduced garbage collection overhead and 3) better overload behavior compared with hybrid FTL schemes which are the most popular implementation methods. For example, a predominantly random-write dominant I/O trace from an OLTP application running at a large financial institution shows a 78% improvement in average response time (due to a 3-fold reduction in operations of the garbage collector), compared with the hybrid FTL scheme. Even for the well-known read-dominant TPC-H benchmark, for which DFTL introduces additional overheads, we improve system response time by 56%. Moreover, interestingly, when write-back cache on DFTL-based SSD is enabled, DFTL even outperforms the page-based FTL scheme, improving their response time by 72% in Financial trace.

     

/

返回文章
返回