高级检索

    连续数据存储中面向RAID5的写操作优化设计

    Write Optimization for RAID5 in Sequential Data Storage

    • 摘要: 针对连续数据存储应用,如视频监控、连续数据保护(CDP)、虚拟磁带库(VTL)等,提出一种面向RAID5的写操作优化方法:首先进行基于区间映射(area mapping)的地址转换(AT),把非连续的I/O请求虚拟地址转换为连续的物理地址,以实现对磁盘阵列的连续写;然后,在缓冲区内保存应用程序发出的写数据块,并构造一个与RAID5的完整条带长度相等的对齐数据块,对齐数据块在RAID5上恰好占满整个条带,再发送给RAID5,以实现对RAID5的完全写.这样写入的数据块恰好占满RAID5的整个条带,不仅避免了因生成校验数据而产生重构写、读改写等额外I/O开销,而且数据块的连续写入有效降低了磁头的寻道时间,提高了RAID5的吞吐能力.实验表明,该写优化方法在有限降低RAID5读性能的同时,可大幅提高RAID5的写性能,在80%连续的负载下,使RAID5的数据传输率接近其最大值.在连续数据存储中该方法同样适用于RAID4和RAID6.

       

      Abstract: In sequential data storage, such as video surveillance, continuous data protection (CDP), virtual tape library (VTL), etc., the address of the I/O requests are mainly continuous except a small amount of random accesses, but the small write still exists and hampers the full exploitation of the performance of RAID5. In this paper, a write optimization method for RAID5 in sequential storage (WOSS) is presented. Firstly, address translation (AT) based on area mapping is performed, which maps the discontinuous address of write requests to continuous address space, so the continuous write for RAID5 is realized. Secondly, the write requests are buffered and further reorganized into the new ones aligned to the stripes of RAID5. Then they are dispatched to RAID5, thus the full write for RAID5 is achieved. Full write to RAID5 may completely eliminate the extra overhead caused by read modify write or reconstruction write for generating the parity, meanwhile the continuity of write requests further decreases the seek time and improves the throughput of RAID5 significantly. Experiments show that the optimization may improve the write performance prominently, especially when the 80% workload is sequential, and that the data transfer rate approaches about the maximum of RAID5, while the read performance is limitly reduced. The method is also suitable for RAID4 and RAID6 in sequential data storage.

       

    /

    返回文章
    返回