Disappointing performance of copy (MD raid + XFS)
Gabor Gombas
gombasg at sztaki.hu
Thu Dec 10 01:28:22 CST 2009
On Thu, Dec 10, 2009 at 01:39:16AM +0100, Asdo wrote:
> I'm copying a bagzillion of files (14TB) from a 26disk MD-raid 6
> array to a 16disk MD-raid 6 array.
> Filesystems are XFS for both arrays.
[...]
> So I have repeatedly catted /proc/pid/stack for the reader and
> writer processes: the *writer* is the bottleneck, and 90% of the
> times it is stuck in one of the following stacktraces:
What does iostat say about the disk utilization during the copy?
IMHO copying a large amount of relatively small files means lots of
metadata operations which in turn means lots of small, scattered writes.
For parity RAID, that kind of load is a killer since writes smaller than
the stripe size will turn into "read all disks - modify the stripe -
write it back".
Use RAID10 if you want good performance for that kind of load.
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
More information about the xfs
mailing list