lkml.org 
[lkml]   [2004]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: dynamic-hz
From
Date
On Llu, 2004-12-13 at 13:58, Russell King wrote:
> Lets take an example. Lets say that:
> * a CPU runs at about 245mA when active
> * 90mA when inactive
> * the timer interrupt takes 2us to execute 1000 times a second
> * no other processing is occuring

Now take a real laptop and the numbers are in the 20W (15A) range.

> to eliminate the timer tick to save some power. However, I've
> never been able to justify the extra code complexity against the
> power savings. It really only makes sense if you can essentially
> _power off_ your system until the next timer interrupt (thereby,
> in the above example, reducing the power consumption by some 174mA)

On a PC it makes huge sense, the deeply embedded folks who do turn the
thing off for 30secs at a time (Eg cellphone) also want it as do
virtualisation people where it trashes your scaling. API wise it isn't
too hard, its just a matter of time to convert the jiffies users away
and to do relative versions of add_timer with accuracy info included.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.691 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site