Re: [RFC PATCH] check_preempt_tick should not compare vruntimewith wall time

From: Mathieu Desnoyers
Date: Mon Sep 13 2010 - 14:01:21 EST


* Linus Torvalds (torvalds@xxxxxxxxxxxxxxxxxxxx) wrote:
> On Mon, Sep 13, 2010 at 10:45 AM, Mathieu Desnoyers
> <mathieu.desnoyers@xxxxxxxxxxxx> wrote:
> >
> > FWIW, Xorg and firefox feel _much more_ responsive with the fix I propose when
> > running with a make -j10. The system is even usable with a make -j20 on my UP
> > machine, even though I can start feeling a some lag. This is probably a more
> > important, yet less scientific, result.
>
> I'll test that myself (but in a bit - I need to go do voter
> registration and socsec update first, though - I became a US citizen
> last week).

Congratulations!

> Because yes, that's the reason I'm personally interested in your
> scheduler latency work: I think our X behavior under load is pitiful
> (I do "make -j16" on my dual-core with HT Core i5, and web browsong
> shouldn't start to lag as much as it does just because I overcommit
> the CPU a bit). So if this makes a noticeable difference, I think it's
> very important.

Please make sure to include the "smaller min_granularity" patch in your test
too, because the "check_preempt_tick" fix seems to only affect threads with
non-zero nice value. I suspect that most of the responsiveness improvement I got
is mainly from lowering the min_granularity.

Thanks,

Mathieu

--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
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/