The fastest and safest RAID combination for SATA drives

raidstorage

I wonder what is the fastest and safest RAID combination for SATA drives and general use (some write, mostly read)?

RAID 0 is fast but utterly unsafe, RAID 1 is safe but slow, RAID 5 is safe but not so fast, especially on the cheap controllers (XOR calculations).

It seem that RAID 1+0 or RAID 10 is the best combination. You get mirroring for safety and striping for speed. Are there any other best or more optimal combinations? The only drawback of the RAID 10 is inefficient storage utilization.

Best Answer

It also depends upon the number of drives : with 4 drives, go for RAID-10. With more than 8 drives, RAID-6 will probably be fast enough with a good RAID controller (3Ware, Areca, Intel 52xxx series). Here are the numbers :

  • 4 x 1TB, RAID 10 : 2TB available space, 180 MB/s write, 190 MB/s read
  • 8 x 1TB, RAID 10 : 4TB available space, 360 MB/s write, 400 MBs read
  • 8 x 1TB, RAID-5 (dangerous): 7 TB available, 420 MB/s write, 440 MB/s read (3Ware)
  • 8 x 1TB, RAID-6 : 6 TB available, 240 MB/s write, 360 MB/s read (3Ware)
  • 16 x 1TB, RAID-6 : 14TB available, 280 MB/s write, 700 MB/s read (3Ware)

As you can see, with about 8 drives RAID 5 and RAID 6 are quite competitive in sequential performance with RAID-10 (not so with a shitty card such as Promise, etc). Write performance is quite limited in RAID-6, though tolerable given enough drives.

With big drives, RAID-5 is relatively unsafe because of the long time (3 to 4 hours, up to 7 to 8 hours) necessary for rebuilding. You may go to RAID-5 with 6 or 8 drives though, but you must stop all write operations in case of a drive failure until the array is rebuilt. This way it's "safe enough".

Also, don't use desktop drives in a RAID array with more than 4 drives. Vibrations and read errors will kill performance.

Related Topic