xfs
[Top] [All Lists]

Re: XFS performance on LVM2 mirror

To: Scott Tanner <stanner@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: XFS performance on LVM2 mirror
From: Hannes Dorbath <light@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 29 Mar 2008 12:17:13 +0100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1206481052.4283.17.camel@dhcp-192-168-6-143>
References: <1206481052.4283.17.camel@dhcp-192-168-6-143>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)
Scott Tanner wrote:
Are there any special tweaks for XFS on LVM2 mirrors?

LVM will always slow down things, it's an additional layer, there is no way around that.


LVM does not do well with XFS stripe alignment, it causes sequential writes to happen in a non-uniform, pumping way and additionally does not support write barriers.

XFS mounted with -o noatime,nodiratime,nobarrier,logbufs=8

Nodiratime is redundant. You might add logbsize=256k. Lazy-counters require you to at least upgrade to 2.6.23.


I'm unsure if your stripe alignment is correct. Why don't you use the su,sw options? Why do you run with only 64MB logsize?

Recommendations on my setup?

Drop LVM altogether. Add ram to the box. Personally I'd use Solaris/ZFS for that specific setup.



-- Best regards, Hannes Dorbath


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