Re: [PATCH] sched: Improve latencies under load by decreasingminimum scheduling granularity

From: Ingo Molnar
Date: Mon Sep 13 2010 - 16:00:42 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Mon, Sep 13, 2010 at 11:23 AM, Ingo Molnar <mingo@xxxxxxx> wrote:
> >
> > Linus, Mathieu, you can test the granularity reduction patch via:
>
> Hmm. It's a bit hard to judge subjective feelings, especially when you
> have expectations of improvement, but yes, I think this does improve
> the the interactive feel when scroll-wheeling around in firefox or
> chrome.

Yeah. Human perception generally notices the _gradient_ of behavior -
i.e. the difference between the best-case and worst-case behavior. I.e.
we notice the max latencies - and those came down distinctly in
everyone's measurements.

Somewhat paradoxially, 'always slow' is generally felt as an improvement
over 'sometimes fast, sometimes slow' - even though the latter has a
better average. (as long as 'slow' is not 'intolerably slow')

> So on the whole I'd trust the actual latency benchmark numbers more,
> but I _think_ it does translate into actually feeling better too.

Ok, great - would you like to have this in v2.6.36 (in which case feel
free to pull it now), or v2.6.37?

I'm hopeful that the other patches in the works will give more
improvements - i dont actually like the relatively high noise that the
max latencies produce - i think we should be more
deterministic/dependable there. But those changes are also more complex,
so they will take a bit more time to finish - and it's definitely
v2.6.37 fodder.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/