作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (16): 237-239. doi: 10.3969/j.issn.1000-3428.2006.16.091

• 工程应用技术与实现 • 上一篇    下一篇

基于磁盘异或引擎的RAID-5小写性能优化

谭毓安1;王婉星1;于 强1;朱立谷2;张雪兰1   

  1. 1. 北京理工大学计算机科学与工程系,北京 100081;2. 华中科技大学国家外存储系统专业实验室,武汉 430074
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-08-20 发布日期:2006-08-20

Optimization for RAID-5 Small-write Performance Using Disk-based XOR Engine

TAN Yu’an1;WANG Wanxing1;YU Qiang1;ZHU Ligu2;ZHANG Xuelan1   

  1. 1. Dept. of Computer Science and Engineering, Beijing Institute of Technology, Beijing 100081; 2. National Lab for Peripheral Storage System, Huazhong University of Science & Technology, Wuhan 430074
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-08-20 Published:2006-08-20

摘要: SCSI标准中已扩充了新的SCSI命令(XDWRITE,XDREAD,XPWRITE等),用以实现高效RAID-5写操作。对“小写”操作,传统的方法需要主机或RAID控制器读入原有的校验块,通过异或计算来构造新的校验块。采用这些新的SCSI命令实现“小写”操作,不再需要读入校验块,由磁盘来进行异或运算构造出校验块。利用磁盘的异或引擎,提高了RAID-5的吞吐率,缩短了平均响应时间。

关键词: RAID, 小写, 异或引擎, 磁盘阵列

Abstract: The SCSI commands (XDWRITE, XDREAD and XPWRITE) are already on fibre channel drives to involve the drives participating in performing RAID 5 XOR functions. For “small writes”, traditional RAID-5 implementation requires a host or a RAID controller to read the original parity block, then construct the new parity block by computing the exclusive-or (XOR) of the original parity block and data blocks. the new SCSI commands have been adopted to implement the “small writes” without reading the parity block, and cause the drive to construct and update the parity block itself. By utilizing the disk’s XOR engine, the throughput is increased and the average latency is also reduced.

Key words: RAID, Small write, Exclusive-or engine, Disk array

中图分类号: