lkml.org 
[lkml]   [2010]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Tickles scheduler
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...



\
 
 \ /
  Last update: 2010-10-28 00:29    [from the cache]
©2003-2011 Jasper Spaans