Re: [PATCH] Add support for deferrable timers (respun-Mar28)

Kyle Moffett
2007-03-29T11:51:51Z

On Mar 29, 2007, at 07:41:12, Andi Kleen wrote:
>> ondemand is the biggest offender and the patch below reduces the
>> number of interrupts by 50% or more (depending on HZ) on different
>> test systems here.
>
> Cool!
>
>> Yes. There are quite a few other timers inside kernel that can be
>> migrated. I will use timer_stats and track others and send in the
>> patches soon.
>
> Longer term it might make sense to even expose this as a option to
> user space. Maybe as a new timer in setitimer()? This might safe
> power with "wiggling desktop applets" too.

Might also be useful to add an extra option to "top" to reduce the
polling frequency if the system is otherwise idle. A fixed 30-sec
timer and a deferrable 1-sec timer or somesuch?

Cheers,
Kyle Moffett