On Wed, Jun 6, 2012 at 7:11 AM, Ole Tange <ole@xxxxxxxx> wrote: > On Tue, Jun 5, 2012 at 1:14 AM, Ole Tange <ole@xxxxxxxx> wrote: > >> But I cannot explain why even the best performance (4600 MB/11s = 420 >> MB/s) is not even close to the checksum performance reported by the >> kernel at boot (6196 MB/s): > > From the friendly people on the mailing list the answer can be summarized as: > > Checksumming is only a minor part of what md0_raid6 has to do. A lot > of the work is shuffling data around. The reason why checksumming is > in the kernel log is because the checksumming algorithm is one part > that can be optimized where as the other parts stay the same no matter > chosen the checksumming algorithm. The checksum algorithm benchmark is the value for 16-data disks, so a 24 disk array will be a little bit slower. > So when parity computing is mentioned under performance on > http://blog.zorinaq.com/?e=10 is is only a small part of the picture: > The parity computing may only take 1.5% CPU time, but the shuffling > data around can take several magnitudes longer - thus software RAID > may not be able to outperform hardware RAID in that aspect. Hardware raid ultimately does the same shuffling, outside of nvram an advantage it has is that parity data does not traverse the bus, its potential disadvantage is an embedded cpu / memory vs host cpu / memory. > In other words: What you see is normal, and it is not out of the > ordinary to see md0_raid6 use 100% CPU time on a single core when > using a 24 disk RAID6. Work is underway to spread the load to multiple > cores using the experimental kernel parameter > CONFIG_MULTICORE_RAID456. Don't use CONFIG_MULTICORE_RAID456, we need a different approach. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html