[Top] [All Lists]

Re: XFS: Abysmal write performance because of excessive seeking (allocat

To: stan@xxxxxxxxxxxxxxxxx
Subject: Re: XFS: Abysmal write performance because of excessive seeking (allocation groups to blame?)
From: Stefan Ring <stefanrin@xxxxxxxxx>
Date: Sat, 7 Apr 2012 09:27:50 +0200
Cc: Linux fs XFS <xfs@xxxxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=PGMJKi2PIThMrEkLXURAu/O37NPkHRhfeaqMOvoHaM0=; b=zxO4idqIiZrQQ6XAioxzNDdOWkBXncXTHqR76kSG+N+1OjYGo3Bg/n1hJXl6Q5v9b3 0yA9P/QpVIn3SBHAh/9/alHLVW2SN7RxYibrPVjHs4U2TzJC97LXMOnETaTIy+aFVvyV 3DXT0z5bx2FLEy/o62yUM9b87eyUek6X9Xa3vHE5et9t3aBzRU4SvlvqQEWIeERjTqJ/ sEmsu04EX2ivedBwE6ofJEThrTmcoCuQHL/rJyOHEO2jC82rWVu0XL5IDaRxsRNipoaF MaAZCs1d1UsCrLKMNV7y+czyapmDAYaRKyYCf0Xb8YXpYi6i0CWrja4wERukxKOkhFy+ qnrw==
In-reply-to: <4F7F7C25.8040605@xxxxxxxxxxxxxxxxx>
References: <CAAxjCEwBMbd0x7WQmFELM8JyFu6Kv_b+KDe3XFqJE6shfSAfyQ@xxxxxxxxxxxxxx> <20350.9643.379841.771496@xxxxxxxxxxxxxxxxxx> <20350.13616.901974.523140@xxxxxxxxxxxxxxxxxx> <CAAxjCEzkemiYin4KYZX62Ei6QLUFbgZESdwS8krBy0dSqOn6aA@xxxxxxxxxxxxxx> <4F7F7C25.8040605@xxxxxxxxxxxxxxxxx>
> Instead, a far more optimal solution would be to set aside 4 spares per
> chassis and create 14 four drive RADI10 arrays.  This would yield ~600
> seeks/sec and ~400MB/s sequential throughput performance per 2 spindle
> array.  We'd stitch the resulting 56 hardware RAID10 arrays together in
> an mdraid linear (concatenated) array.  Then we'd format this 112
> effective spindle linear array with simply:
> $ mkfs.xfs -d agcount=56 /dev/md0
> Since each RAID10 is 900GB capacity, we have 56 AGs of just under the
> 1TB limit, 1 AG per 2 physical spindles.  Due to the 2 stripe spindle
> nature of the constituent hardware RAID10 arrays, we don't need to worry
> about aligning XFS writes to the RAID stripe width.  The hardware cache
> will take care of filling the small stripes.  Now we're in the opposite
> situation of having too many AGs per spindle.  We've put 2 spindles in a
> single AG and turned the seek starvation issues on its head.

So it sounds like that for poor guys like us, who can’t afford the
hardware to have dozens of spindles, the best option would be to
create the XFS file system with agcount=1? That seems to be the only
reasonable conclusion to me, since a single RAID device, like a single
disk, cannot write in parallel anyway.

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