public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Soltys <nozo@drutsystem.com>
To: xfs@oss.sgi.com
Subject: Re: XFS performance on LVM2 mirror
Date: Sat, 29 Mar 2008 17:27:14 +0100	[thread overview]
Message-ID: <47EE6DE2.1010800@drutsystem.com> (raw)
In-Reply-To: <1206481052.4283.17.camel@dhcp-192-168-6-143>

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.

      parent reply	other threads:[~2008-03-29 16:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-25 21:37 XFS performance on LVM2 mirror Scott Tanner
2008-03-29 11:17 ` Hannes Dorbath
2008-03-29 16:27 ` Michal Soltys [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47EE6DE2.1010800@drutsystem.com \
    --to=nozo@drutsystem.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox