We use cookies to improve your experience with our site.

一种提高基于SSD的RAID系统的寿命和性能的盘间损耗均衡方法

CSWL: Cross-SSD Wear-Leveling Method in SSD-Based RAID Systems for System Endurance and Performance

  • 摘要: 随着技术的不断进步,闪存(Flash memory)以其低价格、高性能、非易失、低功耗和容量大等特点,已经从当初以数字家电、手机等为主的嵌入式领域应用逐步向服务器和高性能计算机以及大规模存储系统的应用转变.百度、google、以及facebook等公司已经在其系统中开始集成固态存储模块以增强服务处理性能.而基于闪存固态盘构架RAID阵列系统无疑是一种构建大规模固态存储系统的很好手段.虽然闪存应用日益普遍,但是还是存在几个制约其进一步发展的主要问题:1.非定点更新问题,即每次需要重写一页之前需要对该页所在的整块进行擦除;2.为了保证可靠性,对于块内页的写必须顺序依次进行;3.寿命问题,即所有块都有擦除次数限制.针对这些问题,学术界和产业界都给出了很多解决方案.本文主要针对第三个问题提出解决方案.当前市场上基于闪存的固态盘(Solid State Drive)基本都采用了两种方法来解决寿命问题,使得固态盘能够保证按其按所给的容量持续服务.一种是内部的损耗均衡策略避免固态盘中的某些块被快速磨损;另外一种是在提供基本容量以外还提供一些额外的空间来对一些因使用寿命或其它原因导致的坏块进行替换.由于闪存存在寿命问题,所以基于闪存的固态盘同样存在这个问题,但是目前还没有很好的基于固态盘阵列的盘间损耗均衡方案,这会导致系统中某些固态盘可能会先于其他盘达到使用寿命而被替换掉,替换后,数据需要重构,这是一个及其耗时的过程,对于系统的可靠性和可用性都会造成极大的影响.基于此,我们提出了一种基于固态盘的RAID系统的盘间损耗均衡方法CSWL.由于在随机访问模式下,基于纠删码的RAID系统中的检验数据比普通数据要被更频繁的更新,所以CSWL采用了基于损耗程度的动态检验信息分配方案:让损耗严重的盘分配较少的校验数据,让损耗较轻的盘分配较多的校验数据,这样可以达到延长整个系统寿命的目的.同时,由于校验信息的动态分布使得写负载重的盘由于校验数据的减少而负载减轻,而写操作又是制约固态盘性能的关键因素,这种对于写操作的负载均衡对性能的提高也有很大的帮助.

     

    Abstract: Flash memory has limited erasure/program cycles. Hence, to meet their advertised capacity all the time, flash- based solid state drives (SSDs) must prolong their life span through a wear-leveling mechanism. As a very important part of flash translation layer (FTL), wear leveling is usually implemented in SSD controllers, which is called internal wear leveling. However, there is no wear leveling among SSDs in SSD-based redundant array of independent disks (RAIDs) systems, making some SSDs wear out faster than others. Once an SSD fails, reconstruction must be triggered immediately, but the cost of this process is so high that both system reliability and availability are affected seriously. We therefore propose cross-SSD wear leveling (CSWL) to enhance the endurance of entire SSD-based RAID systems. Under the workload of random access pattern, parity stripes suffer from much more updates because updating to a data stripe will cause the modification of other all related parity stripes. Based on this principle, we introduce an age-driven parity distribution scheme to guarantee wear leveling among flash SSDs and thereby prolong the endurance of RAID systems. Furthermore, age-driven parity distribution benefits performance by maintaining better load balance. With insignificant overhead, CSWL can significantly improve both the life span and performance of SSD-based RAID.

     

/

返回文章
返回