Re: [RFC PATCH] Turn off the tick even when not idle

From: Christoph Lameter
Date: Tue Sep 01 2009 - 11:59:18 EST


On Tue, 1 Sep 2009, Josh Triplett wrote:

> Please, give this patch a try and let me know what you think.

Looks quite good. The PNG shows more deterministic run time behavior.

> I'd like to work towards a patch which really can kill off the timer
> tick, making the kernel entirely event-driven and removing the polling
> that occurs in the timer tick. I've reviewed everything the timer tick
> does, and every last bit of it could occur using an event-driven
> approach.

Good idea. Thought so for a long time. Thanks for working on it. Many of
the events can be deferred if nothing is happening in the system.
vm statistics, data expiration from caches etc. Not sure what to do about
the per cpu threads generated by various kernel subsystems though.

Attachment: nohz-hack.png
Description: PNG image