• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2007, Vol. 29 ›› Issue (3): 87-90.

• 论文 • 上一篇    下一篇

基于IOP321的嵌入式RAID系统中的硬异或实现

李明 董晓明 刘瑞芳   

  • 出版日期:2007-03-01 发布日期:2010-05-30

  • Online:2007-03-01 Published:2010-05-30

摘要:

为提高RAID系统的可靠性,RAID3/5/6算法在数据写入的过程中采用异或运算产生奇偶校验信息。当RAID出现故障时,也是通过异或运算完成数据的重构。因此,异或运算是RAID系统工作时频繁而且重要的操作之一。本文详细介绍了采用Intel IOP321处理器的应用加速单元实现异或运算的工作原理和软件模块设计,并通过实验测试证明,专门的硬异或单元比嵌入式处理器做软件异或运算的速度快7倍以上,有效地解决了嵌入式环境下异或的性能瓶颈问题。

关键词: 异或 链描述符 应用加速单元

Abstract:

To improve the reliability of RAID storage systems,the XOR operation is performed to generate the parity check information in RAID level 3/5/6 when wr iting IO data,and is also used to rebuild an RAID system when the system works in the degrade mode.So the XOR operation is one of the most frequent and  important operations for RAID systems.In this paper,it discusses the theory and implementation of hardware and software for the application acceleratorunit in the Intel IOP321 processor,then proves by experiments that the XOR speed of the special hardware unit is 7 times faster at least than that of em bedded CPUs,which can resolve the bottleneck problem of the XOR operation in embedded environments.

Key words: XOR;chain descriptor;AAU