From: Hannes Dorbath <light@theendofthetunnel.de>
To: Scott Tanner <stanner@amientertainment.net>
Cc: xfs@oss.sgi.com
Subject: Re: XFS performance on LVM2 mirror
Date: Sat, 29 Mar 2008 12:17:13 +0100 [thread overview]
Message-ID: <47EE2539.1060001@theendofthetunnel.de> (raw)
In-Reply-To: <1206481052.4283.17.camel@dhcp-192-168-6-143>
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
next prev parent reply other threads:[~2008-03-29 11:16 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 [this message]
2008-03-29 16:27 ` Michal Soltys
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=47EE2539.1060001@theendofthetunnel.de \
--to=light@theendofthetunnel.de \
--cc=stanner@amientertainment.net \
--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