From: Andi Kleen <andi@firstfloor.org>
To: Mat <jackdachef@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>,
agk@redhat.com, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Fwd: [PATCH] Implement barrier support for single device DM devices
Date: Sat, 14 Feb 2009 10:32:13 +0100 [thread overview]
Message-ID: <20090214093213.GC26292@one.firstfloor.org> (raw)
In-Reply-To: <e85b9d30902131526v5f710583ub58d578339dd0a90@mail.gmail.com>
On Sat, Feb 14, 2009 at 12:26:05AM +0100, Mat wrote:
> Hi Andi,
>
> any news on this patch ?
It's in mainline as of 2.6.29-rc4.
> from what I saw it isn't included in mainline yet, if it is already
> please point to the kernel-config option where to enable it
It's always enabled for simple DM remapped devices given that its conditions
(only single underlying device etc.) are true.
> heavy flush, write operations; especially on amd64/X64:
> http://forums.gentoo.org/viewtopic-t-482731.html
>
> I'm not sure if it's possible but I believe it could also be related
> to filesystems switching to synchronous writes (non-barrier
> write-mode) when the underlying partition is a LUKS-partition and
Note that my patch doesn't enable barriers for LUKS/dm_crypt, that would
be another patch which is not currently submtted.
> therefore
> decreasing performance (I'm not a kernel-hacker so I don't know if
> there's a possible correlation here)
You can find out by testing it without LUKS, but enabling/disabling
barriers on a file system and see how much difference it makes.
That would be better than speculating.
>
> some factors I noticed having an impact on that are:
How did you determine that? Did you run some repeatable benchmark
that gave different numbers?
> - the i/o scheduler hardly makes a change
> - elder boxes with PCI (non-PCIe) can be "fixed" with some latency-tweaks:
> setpci -v -d *:* latency_timer=b0
You realize that the PCI latency has nothing to do with IO scheduler
delays? It's very unlikely that there is a correlation there.
Please double check these results.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
prev parent reply other threads:[~2009-02-14 9:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-11 14:12 Mat
[not found] ` <e85b9d30809110713m542fc884sc17374f7fb2c7493@mail.gmail.com>
[not found] ` <20080911174657.GN7714@one.firstfloor.org>
2009-02-13 23:26 ` Fwd: [PATCH] " Mat
2009-02-14 9:32 ` Andi Kleen [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=20090214093213.GC26292@one.firstfloor.org \
--to=andi@firstfloor.org \
--cc=agk@redhat.com \
--cc=jackdachef@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome