From: Mat <jackdachef@gmail.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: 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 00:26:05 +0100 [thread overview]
Message-ID: <e85b9d30902131526v5f710583ub58d578339dd0a90@mail.gmail.com> (raw)
In-Reply-To: <20080911174657.GN7714@one.firstfloor.org>
Hi Andi,
any news on this patch ?
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
there are some serious problems with interactivity / GUI access during
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
therefore
decreasing performance (I'm not a kernel-hacker so I don't know if
there's a possible correlation here)
some factors I noticed having an impact on that are:
- CFS (the cpu scheduler)
# if echo 1 > /sys/devices/system/cpu/sched_mc_power_savings is enabled
# and group scheduling enabled
it's very noticable, sometimes under heavy load the output on the
monitor hardly changes anymore and the box also hardly reacts to input
on my hardware the best interactivity under high load so far was
with a 2.6.24-based kernel (2.6.24-zen3/4) after and before that with
CFS everything was average and not very interactive (YMMV)
- 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
setpci -v -s 02:00.0 latency_timer=40
setpci -v -s 00:1f.2 latency_timer=40
setpci -v -s 02:00.1 latency_timer=40
setpci -v -s 00:1f.1 latency_timer=40
#maximize latency timers for network and audio, allowing them to transmit
#more data per burst, preventing buffer over/underrun conditions
setpci -v -s 00:1b.0 latency_timer=ff
setpci -v -s 03:00.0 latency_timer=ff
setpci -v -s 04:00.0 latency_timer=ff
- for me this doesn't occur / didn't occur with the RT-kernel and
hardirq, softirq, preemptive rcu enabled
Many thanks in advance
Regards
Mat
On Thu, Sep 11, 2008 at 6:46 PM, Andi Kleen <andi@firstfloor.org> wrote:
> On Thu, Sep 11, 2008 at 04:13:39PM +0200, Mat wrote:
>> any news on this patch and when it will get included in mainline / linus' tree ?
>
> I think Alasdair rejected it in the end (?) He tried to explain me why at OLS,
> but as far as I remember I didn't understand his reasoning. It had something
> to do with stack consumption, but afaik the patch doesn't
> increase stack consumption.
>
> Cc him for clarification.
>
>> I believe this will gain lots of people time savings with no side-effects :)
>>
>> (I haven't tried it out yet but will in the near future, so if there's
>> a new version of it, please let people know)
>
> At least as of 2.6.26 the old patch still works. Haven't tried with .27
> yet.
>
> -Andi
>
> --
> ak@linux.intel.com
>
next prev parent reply other threads:[~2009-02-13 23:26 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 ` Mat [this message]
2009-02-14 9:32 ` Fwd: [PATCH] " Andi Kleen
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=e85b9d30902131526v5f710583ub58d578339dd0a90@mail.gmail.com \
--to=jackdachef@gmail.com \
--cc=agk@redhat.com \
--cc=andi@firstfloor.org \
--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
all inboxes | Powered by JetHome®