Re: Tickles scheduler

From: Christoph Lameter
Date: Wed Oct 27 2010 - 18:26:52 EST


On Tue, 26 Oct 2010, Martin Nybo Andersen wrote:

> On Tue, 26 Oct 2010, Dragoslav Zaric wrote:
>
> > [...]
> >
> > Is it at all possible to implement kernel without ticking, spin system
> > by events and periods ?
>
> You can compile with CONFIG_NO_HZ=n if you want a ticking kernel.

The kernel always ticks when a process is running CONFIG_NO_HZ does
nothing for that.

> > Maybe ticking is still best solution to have fast responding system ?

I think we need a tickless kernel.... Yes....

> My guesses are that it has already been benchmarked for speed, but you can
> still test it yourself.
> At least power usage/battery times is much better with a tickless kernel.

Well yes CONFIG_NO_HZ really should say CONFIG_NO_HZ_IDLE. You have
no ticks when a cpu is idle. Otherwise we are ticking...

--
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/