Re: Hyper mode for powerd

2013-07-14 Thread Warren Block
On Sun, 14 Jul 2013, Ian Smith wrote: What powerd(8) could really use is an update to its man page (or a page in the handbook, or wiki?) suggesting some reasonable defaults for the range of hardware nowadays running it. Difficulty: finding "reasonable" defaults. But given the values, I would

Re: Hyper mode for powerd

2013-07-14 Thread Ian Smith
On Wed, 10 Jul 2013 13:43:56 -0600, Warren Block wrote: > On Wed, 10 Jul 2013, Ian Smith wrote: [..] > > > Interesting point. 100mS is a perceptible lag. > > > > Maybe just. On that beast I think you could use 50ms with no noticeable > > powerd CPU usage, maybe even 25ms. In fact I think d

Re: Hyper mode for powerd

2013-07-10 Thread Warren Block
On Wed, 10 Jul 2013, Ian Smith wrote: > > > /etc/rc.conf: > > > powerd_flags="-a hyper -n hyper" > > > > Still on 9.1 at least, > > #define DEFAULT_ACTIVE_PERCENT75 > > #define DEFAULT_IDLE_PERCENT 50 > > #define DEFAULT_POLL_INTERVAL 250 /* Poll interval in milliseconds */ > > > >

Re: Hyper mode for powerd

2013-07-10 Thread Ian Smith
On Tue, 9 Jul 2013 12:40:11 -0600, Warren Block wrote: > On Tue, 9 Jul 2013, Ian Smith wrote: > > On Sat, 6 Jul 2013 20:09:46 -0600, Warren Block wrote: > > > On Sun, 7 Jul 2013, Ian Smith wrote: [..] > > the only thing that adjusts freqs is powerd itself. So no, it's not > > hunting for you.

Re: Hyper mode for powerd

2013-07-09 Thread Warren Block
On Tue, 9 Jul 2013, Ian Smith wrote: On Sat, 6 Jul 2013 20:09:46 -0600, Warren Block wrote: > On Sun, 7 Jul 2013, Ian Smith wrote: > > > So even if cpu_running_mark were 100% (-r100), anything busier than 25% > > of our example 75MHz would shift to maximum freq immediately, where the > > load wi

Re: Hyper mode for powerd

2013-07-08 Thread Ian Smith
On Sat, 6 Jul 2013 20:09:46 -0600, Warren Block wrote: > On Sun, 7 Jul 2013, Ian Smith wrote: > > > So even if cpu_running_mark were 100% (-r100), anything busier than 25% > > of our example 75MHz would shift to maximum freq immediately, where the > > load will likely plummet to just a few pe

Re: Hyper mode for powerd

2013-07-06 Thread Warren Block
On Sun, 7 Jul 2013, Ian Smith wrote: So even if cpu_running_mark were 100% (-r100), anything busier than 25% of our example 75MHz would shift to maximum freq immediately, where the load will likely plummet to just a few percent, way less than the 25% (at -r100) needed to keep it at that freq; ie

Re: Hyper mode for powerd

2013-07-06 Thread Ian Smith
On Thu, 4 Jul 2013 30:12:12 -0600, Warren Block wrote: > Attached is a proposed patch for -head that adds a "hyper" mode to powerd. > Instead of slewing like the adaptive modes, this mode drops all the way to > the lowest frequency when the system is idle, and jumps all the way to the > highes

Re: Hyper mode for powerd

2013-07-04 Thread Kevin Oberman
On Thu, Jul 4, 2013 at 7:12 PM, Warren Block wrote: > Attached is a proposed patch for -head that adds a "hyper" mode to powerd. > Instead of slewing like the adaptive modes, this mode drops all the way to > the lowest frequency when the system is idle, and jumps all the way to the > highest fre

Hyper mode for powerd

2013-07-04 Thread Warren Block
Attached is a proposed patch for -head that adds a "hyper" mode to powerd. Instead of slewing like the adaptive modes, this mode drops all the way to the lowest frequency when the system is idle, and jumps all the way to the highest frequency when there is any load. Subjectively, it seems mor