RAID0+1和RAID5的性能测试结果


网上关于性能比较和原理的文章很多,这里不再过多解释,只写测试结果。
测试目的:
4块物理硬盘,使用IBMraid卡做raid。4块做raid 5和两块盘分别raid 1的读性能比较。由于写会往本地盘写入数据,暂时没有测试
工具:Oracle orign
4块物理盘做 raid 5
Name: /dev/sda2 Size: 896884531200
1 FILEs found.

Maximum Large MBPS=93.94 @ Small=0 and Large=2
Maximum Small IOPS=425 @ Small=5 and Large=0
Minimum Small Latency=7.63 @ Small=1 and Large=0

4块物理盘,两两分别作raid0,算作一个小型的raid0+1,测试结果如下

Name: /dev/sda2 Size: 298388482560
Name: /dev/sdb1 Size: 298495378944
2 FILEs found.

Maximum Large MBPS=205.89 @ Small=0 and Large=4
Maximum Small IOPS=835 @ Small=10 and Large=0
Minimum Small Latency=5.33 @ Small=1 and Large=0

测试结果
无论中MBPS、IOPS还是Latency,raid0+1的性能效果都要远远优于raid5,按照原来写操作的性能应该更好。

相关内容