xfs
[Top] [All Lists]

Re: sw and su for hardware RAID10 (w/ LVM)

To: Ray Van Dolson <rvandolson@xxxxxxxx>, xfs@xxxxxxxxxxx
Subject: Re: sw and su for hardware RAID10 (w/ LVM)
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Wed, 12 Mar 2014 06:37:13 -0500
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20140311045639.GA18159@xxxxxxxx>
References: <20140311045639.GA18159@xxxxxxxx>
Reply-to: stan@xxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
On 3/10/2014 11:56 PM, Ray Van Dolson wrote:
> RHEL6.x + XFS that comes w/ Red Hat's scalable file system add on.  We
> have two PowerVault MD3260e's each configured with a 30 disk RAID10 (15
> RAID groups) exposed to our server.  Segment size is 128K (in Dell's
> world I'm not sure if this means my stripe width is 128K*15?)

128KB must be the stripe unit.

> Have set up a concatenated LVM volume on top of these two "virtual
> disks" (with lvcreate -i 2).

This is because you created a 2 stripe array, not a concatenation.

> By default LVM says it's used a stripe width of 64K.
>
> # lvs -o path,size,stripes,stripe_size
>   Path                           LSize   #Str Stripe
>   /dev/agsfac_vg00/lv00          100.00t    2 64.00k

from lvcreate(8)

-i, --stripes Stripes
    Gives the number of stripes...

> Unsure if these defaults should be adjusted.
> 
> I'm trying to figure out the appropriate sw/su values to use per:
> 
>   
> http://xfs.org/index.php/XFS_FAQ#Q:_How_to_calculate_the_correct_sunit.2Cswidth_values_for_optimal_performance
> 
> Am considering either just going with defaults (XFS should pull from
> LVM I think) or doing something like sw=2,su=128K.  However, maybe I
> should be doing sw=2,su=1920K?  And perhaps my LVM stripe width should
> be adjusted?

Why don't you first tell us what you want?  You say at the top that you
created a concatenation, but at the bottom you say LVM stripe.  So first
tell us which one you actually want, because the XFS alignment is
radically different for each.

Then tell us why you must use LVM instead of md.  md has fewer
problems/limitations for stripes and concat than LVM, and is much easier
to configure.

-- 
Stan

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