lkml.org 
[lkml]   [2004]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dynamic-hz
Hi!

> > > The patch in question is at:
> > >
> > > http://linux-omap.bkbits.net:8080/main/user=tmlind/patch@1.2016.4.18?nav=!-|index.html|stats|!+|index.html|ChangeSet@-12w|cset@1.2016.4.18
> >
> > Wow, that's basically 8 lines of code plus driver for new
> > hardware... Is it really that simple?
>
> Yeah, the key things are reprogramming the timer in the idle loop
> based on next_timer_interrupt(), and calling timer_interrupt from
> other interrupts as well :)
>
> Should we try a similar patch for x86/amd64? I'm not sure which timers
> to use though? One should be programmable length for the interrupt,
> and the other continuous for the timekeeping.

Yes, it would certainly be interesting. 5% power savings, and no
singing capacitors, while keeping HZ=1000. Sounds good to me.

There are about 1000 timers available in PC, each having its own
quirks. CMOS clock should be able to generate 1024Hz periodic timer
(we currently do not use) and TSC we currently use for periodic timer
should be usable in single-shot mode.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
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.133 / U:0.192 seconds]
©2003-2014 Jasper Spaans. Advertise on this site