it's slightly offtopic in the fact that it's not directly related to laptops, but it is related to linux (sorta).
i popped into the sager general section for the first time in... a long time. there was a thread in there about raid. they're discussing hardware raid vs software raid, and the general consensus over there seems to be that hardware raid is cheaper and better then software raid.
wait... software raid is free. how is that more expensive than hardware raid? windows xp allows you to create raids out of dynamic disks, and linux has raid built into the kernel. nothing to buy.
a week ago, i created two raid 5 setups in my desktop with evms in linux. five 120 gig hard drives in one set for 480 gigs total, and 4 160 gig drives in the other also totaling 480 gigs. how much did it cost me? _nothing_. if i had invested in hardware raid, i would have had to buy at least two raid5 controller cards - at least 100 dollars each. not only that, but those cards almost always come with only 4 ide buses (i think more than two mass controllers on one pci card and one irq causes problems), so i could only use 4 drives, and i wouldn't have even been able to create that one with the 5 drives. (you could do 8 drives on 4 buses, but having two drives on the same cable and bus decreases bandwidth. not only that, if one drive fails, it's possible that the bus will die, killing both drives)
not only that, but software raid, being more expandable, has support for all four parity striping methods - left-symmetric, left-asymmetric, right-symmetric, right-asymmetric. left-symmetric is the best, and is default in linux. hardware ones use left-asymmetric, and don't usually support others.
sure, software raid incurs a slight overhead because the processor has to do the calculations, but it's negligible. raid 5 would probably use the most cpu power, because it has to calculate parity bits as well as distributing blocks. but look at these benchmarks for various raid5 checksumming functions on my system:
8regs - 2052 MB/sec
32regs - 1684 MB/sec
pIII_sse - 3680 MB/sec
pII_mmx - 3556 MB/sec
p5_mmx - 4560 MB/sec
my system is an athlonxp, so it would use the pIII_sse function since it supports sse. no matter how much you write, your bandwidth will not hit 3.6 gigs. assuming that each drive operates at 75 megs/sec (which is generous - ide drives almost never hit that), you would need about 50 drives to saturate that checksumming speed. and with hardware raid, the checksumming speed is limited by the chip on the card. but with software, it's determined by the processor - so if you've saturated your checksumming bandwidth, you can just get a faster processor.
wait, i've got another one. what happens if your raid card dies? the bios dies, or the chip that does the striping dies, or whatever. the card was the one that handled the ordering of the drives, and now you don't know anymore. you would have to line up those drives in the exact same order to get the data back intact - that's not easy unless you have the drives explicitly labeled. in software raid (on linux, at least), there's something written to the hard drives called the persistent superblock. it has general information about the raid setup and device mapping. so all the linux system has to do when it boots up is autodetect that persistent superblock, and it will arrange the drives correctly and your raid will be intact. so you could completely switch around all your drives to different ide buses and orders, or move all the drives to another linux computer, and the raid would just be redetected and reconstructed correctly.
if i had the money and got an 8890 with the hardware raid, i would use software raid _anyway_. the hardware raid controller in there only does two drives, and only does 1 or 0. (0+1, maybe? dunno) with software raid, i could use three drives and make a raid 5, which is beyond the capability of that small raid controller. i could swap out the drives temporarily for an extra cd drive or something, and put them back in any order without having to remember exactly which drive bay each drive went into, and it would still be intact.
... i don't see how hardware raid is better. but if you think so, feel free to speak your mind. i'm always up for a friendly debate.
sorry, this is pretty offtopic, and it might get moved at some point or something, but it confused me so much that i had to say something. and if i went into that thread in sager general and said it, i would sound like a pretty big jerk.
i popped into the sager general section for the first time in... a long time. there was a thread in there about raid. they're discussing hardware raid vs software raid, and the general consensus over there seems to be that hardware raid is cheaper and better then software raid.
wait... software raid is free. how is that more expensive than hardware raid? windows xp allows you to create raids out of dynamic disks, and linux has raid built into the kernel. nothing to buy.
a week ago, i created two raid 5 setups in my desktop with evms in linux. five 120 gig hard drives in one set for 480 gigs total, and 4 160 gig drives in the other also totaling 480 gigs. how much did it cost me? _nothing_. if i had invested in hardware raid, i would have had to buy at least two raid5 controller cards - at least 100 dollars each. not only that, but those cards almost always come with only 4 ide buses (i think more than two mass controllers on one pci card and one irq causes problems), so i could only use 4 drives, and i wouldn't have even been able to create that one with the 5 drives. (you could do 8 drives on 4 buses, but having two drives on the same cable and bus decreases bandwidth. not only that, if one drive fails, it's possible that the bus will die, killing both drives)
not only that, but software raid, being more expandable, has support for all four parity striping methods - left-symmetric, left-asymmetric, right-symmetric, right-asymmetric. left-symmetric is the best, and is default in linux. hardware ones use left-asymmetric, and don't usually support others.
sure, software raid incurs a slight overhead because the processor has to do the calculations, but it's negligible. raid 5 would probably use the most cpu power, because it has to calculate parity bits as well as distributing blocks. but look at these benchmarks for various raid5 checksumming functions on my system:
8regs - 2052 MB/sec
32regs - 1684 MB/sec
pIII_sse - 3680 MB/sec
pII_mmx - 3556 MB/sec
p5_mmx - 4560 MB/sec
my system is an athlonxp, so it would use the pIII_sse function since it supports sse. no matter how much you write, your bandwidth will not hit 3.6 gigs. assuming that each drive operates at 75 megs/sec (which is generous - ide drives almost never hit that), you would need about 50 drives to saturate that checksumming speed. and with hardware raid, the checksumming speed is limited by the chip on the card. but with software, it's determined by the processor - so if you've saturated your checksumming bandwidth, you can just get a faster processor.
wait, i've got another one. what happens if your raid card dies? the bios dies, or the chip that does the striping dies, or whatever. the card was the one that handled the ordering of the drives, and now you don't know anymore. you would have to line up those drives in the exact same order to get the data back intact - that's not easy unless you have the drives explicitly labeled. in software raid (on linux, at least), there's something written to the hard drives called the persistent superblock. it has general information about the raid setup and device mapping. so all the linux system has to do when it boots up is autodetect that persistent superblock, and it will arrange the drives correctly and your raid will be intact. so you could completely switch around all your drives to different ide buses and orders, or move all the drives to another linux computer, and the raid would just be redetected and reconstructed correctly.
if i had the money and got an 8890 with the hardware raid, i would use software raid _anyway_. the hardware raid controller in there only does two drives, and only does 1 or 0. (0+1, maybe? dunno) with software raid, i could use three drives and make a raid 5, which is beyond the capability of that small raid controller. i could swap out the drives temporarily for an extra cd drive or something, and put them back in any order without having to remember exactly which drive bay each drive went into, and it would still be intact.
... i don't see how hardware raid is better. but if you think so, feel free to speak your mind. i'm always up for a friendly debate.
sorry, this is pretty offtopic, and it might get moved at some point or something, but it confused me so much that i had to say something. and if i went into that thread in sager general and said it, i would sound like a pretty big jerk.






