Originally posted by: Fallen Kell
Originally posted by: RedSquirrel
What about raid 5 is it normal for it to eat up so many resources when it's software raid? I've been having lot of issues with mine. There always seems to be 1 drive that's very slow. I was thinking it was that one drive, but now it switched to another drive it seems, after I removed one drive to rebuild it.
I'm doing rm -rf * in a folder with 1TB worth of junk data and the load is skyrocketing. It's at 3.75 now. 😱
RAID 5 (or 6) are horrible performance in software unless you have a really powerful multi-core CPU. The reason you see "one drive" acting slow is probably because you are in a 3 disk RAID 5, and the "slow" disk is the disk that the parity block is being written. To get the parity block, the CPU has to calculate it first, which means your slowness is related to how long it is taking your CPU to do the calculation and then send that to the disk to write.
This is why I almost always recommend a hardware solution if you are planning on RAID 5. Having dedicated specialized hardware to perform the XOR parity calculation on a hardware controller's cache memory before the actual data is sent to the hard drives is vastly superior to writing to the disks that can be written to, and then calculate the parity and finally write to the final disk/block with the parity information. In all cases however, performance increases with the number of disks in the array, as there is a smaller parity to data block ration as you add more and more disks into the array.