On Wed Jul 18, 2007 at 01:26:11PM +0200, Hannes Dorbath wrote: > I think what you might be experiencing is that XFS can read su,sw values > from the MD device and will automatically optimize itself, while it > can't do that for the HW RAID device. It is absolutely essential to > align your file system, to prevent implicit reads, needed for parity > calculations. > > Set su to the stripe size you have configured in your controller (like > 128K) and sw to 9 (for a 10 disk RAID 5 array). > Just to pick up on this one (as I'm about to reformat my array as XFS) - does this actually work with a hardware controller? Is there any assurance that the XFS stripes align with the hardware RAID stripes? Or could you just end up offsetting everything so that every 128k chunk on the XFS side of things fits half-and-half into two hardware raid chunks (especially if the array has been partitioned)? In which case would it be better (performance-wise) to provide the su,sw values or not? I'm planning on doing some benchmarking first but thought I'd check whether there's any definitive answers first. Cheers, Robin -- ___ ( ' } | Robin Hill <robin@xxxxxxxxxxxxxxx> | / / ) | Little Jim says .... | // !! | "He fallen in de water !!" |
Attachment:
pgpqUtrJjNYQv.pgp
Description: PGP signature