[Top] [All Lists]

Re: Disappointing performance of copy (MD raid + XFS)

To: Asdo <asdo@xxxxxxxxxxxxx>
Subject: Re: Disappointing performance of copy (MD raid + XFS)
From: Gabor Gombas <gombasg@xxxxxxxxx>
Date: Thu, 10 Dec 2009 08:28:22 +0100
Cc: xfs@xxxxxxxxxxx, linux-raid <linux-raid@xxxxxxxxxxxxxxx>
In-reply-to: <4B204334.1000605@xxxxxxxxxxxxx>
References: <4B204334.1000605@xxxxxxxxxxxxx>
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.


     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences

<Prev in Thread] Current Thread [Next in Thread>