xfs
[Top] [All Lists]

Re: XFS performance on LVM2 mirror

To: xfs@xxxxxxxxxxx
Subject: Re: XFS performance on LVM2 mirror
From: Michal Soltys <nozo@xxxxxxxxxxxxxx>
Date: Sat, 29 Mar 2008 17:27:14 +0100
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:
Hello,
  I've been doing some benchmarking (using bonnie++) of the XFS
filesystem and found a substantial performance drop in rewrite and
delete operations when using an LVM2 mirror. When using the Linux
Software Raid driver to perform the mirror, XFS performance is quite
good. I've tried a number of the performance tweaks from the mailing
list archives, as seen below. The only option that seemed to make a real
difference was LVM's --corelog, which only worked for 1 test then the
server crashed.
Are there any special tweaks for XFS on LVM2 mirrors? Recommendations on
my setup?


Recently - there have been plenty of topics on linux-raid mailing list
regarding this subject as well - worth checking them out.

Generally important things to consider - read-ahead on your lv volume
(or md device in case where xfs is directly on it - r-a of components
are not used then), alignment of logical volumes with respect to
underlying raid (especially as you use 128k chunk and by default volume
won't start at multiple of 128k), lv extent size, xfs su/sw parameters
which you will have to set manually, if you are on lvm on md raid.



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