[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <e85b9d30902131526v5f710583ub58d578339dd0a90@mail.gmail.com>
Date: Sat, 14 Feb 2009 00:26:05 +0100
From: Mat <jackdachef@...il.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: agk@...hat.com, Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: Fwd: [PATCH] Implement barrier support for single device DM
devices
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@...stfloor.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@...ux.intel.com
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists