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

From: Kyle Moffett
Date: Thu Mar 29 2007 - 07:52:10 EST


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

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