1. 程式人生 > >raid0+1和raid5的效能測試結果

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,按照原來寫操作的效能應該更好。