xfs
[Top] [All Lists]

Re: Fastest Chunk Size w/XFS For MD Software RAID = 1024k

To: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
Subject: Re: Fastest Chunk Size w/XFS For MD Software RAID = 1024k
From: David Chinner <dgc@xxxxxxx>
Date: Fri, 29 Jun 2007 08:05:37 +1000
Cc: Peter Rabbitson <rabbit@xxxxxxxxx>, linux-raid@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, Alan Piszcz <ap@xxxxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.64.0706280426500.1406@xxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.64.0706271918010.29111@xxxxxxxxxxxxxxxx> <46832E60.9000006@xxxxxxxxx> <Pine.LNX.4.64.0706280406520.1406@xxxxxxxxxxxxxxxx> <46837056.4050306@xxxxxxxxx> <Pine.LNX.4.64.0706280426500.1406@xxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Thu, Jun 28, 2007 at 04:27:15AM -0400, Justin Piszcz wrote:
> 
> 
> On Thu, 28 Jun 2007, Peter Rabbitson wrote:
> 
> >Justin Piszcz wrote:
> >>mdadm --create \
> >>      --verbose /dev/md3 \
> >>      --level=5 \
> >>      --raid-devices=10 \
> >>      --chunk=1024 \
> >>      --force \
> >>      --run
> >>      /dev/sd[cdefghijkl]1
> >>
> >>Justin.
> >
> >Interesting, I came up with the same results (1M chunk being superior) 
> >with a completely different raid set with XFS on top:
> >
> >mdadm        --create \
> >     --level=10 \
> >     --chunk=1024 \
> >     --raid-devices=4 \
> >     --layout=f3 \
> >     ...
> >
> >Could it be attributed to XFS itself?

More likely it's related to the I/O size being sent to the disks. The larger
the chunk size, the larger the I/o hitting each disk. I think the maximum I/O
size is 512k ATM on x86(_64), so a chunk of 1MB will guarantee that there are
maximally sized I/Os being sent to the disk....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


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