Linux: Why software RAID?

From: Jeff Garzik
Date: Wed Aug 23 2006 - 23:31:47 EST


Mark Perkel wrote:
Running Linux on an AMD AM2 nVidia chip ser that supports Raid 0
striping on the motherboard. Just wondering if hardware raid (SATA2) is
going to be faster that software raid and why?


First, it sounds like you are confusing motherboard "RAID" with real RAID. There's a FAQ for this sort of thing:

http://linux-ata.org/faq-sata-raid.html

In particular, your motherboard's Raid 0 striping (a) is not done in hardware, and (b) has nothing to do with SATA2.

But anyway, to help answer the question of hardware vs. software RAID, I wrote up a page:

http://linux.yyz.us/why-software-raid.html

Generally, you want software RAID unless your PCI bus (or more rarely, your CPU) is getting saturated. With RAID-0, there is no duplication of data, and so, PCI bus and CPU usage should be about the same for hardware and software RAID.

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/