svn commit: r185050 - head/usr.sbin/powerd

Gavin Atkinson gavin at FreeBSD.org
Tue Nov 18 07:02:34 PST 2008


On Tue, 2008-11-18 at 13:24 +0000, Alexander Motin wrote:
> Author: mav
> Date: Tue Nov 18 13:24:38 2008
> New Revision: 185050
> URL: http://svn.freebsd.org/changeset/base/185050
> 
> Log:
>   Set of powerd enchancements:
>   
>   1. Make it more SMP polite. Previous version uses average CPU load that
>   often leads to load underestimation. It make powerd with default
>   configuration unusable on systems with more then 2 CPUs. I propose to use
>   summary load instead of average one. IMO this is the best we can do without
>   specially tuned scheduler. Also as soon as measuring total load on SMP
>   systems is more useful then total idle, I have switched to it.

PRs: bin/125141 bin/119589 (and possibly others)

>   4. For desktop (AC-powered) systems I have added one more mode - "hiadaptive".
>   It rises frequency twice faster, drops it 4 times slower, prefers twice
>   lower CPU load and has additional delay before leaving the highest frequency
>   after the period of maximum load. This mode was specially made to improve
>   interactivity of the systems where operation capabilities are more
>   significant then power consumption, but keeping maximum frequency all the
>   time is not needed.

Thanks for this change!

Also, I wonder if you would consider looking at the other powerd(8) PRs:
http://people.freebsd.org/~linimon/studies/prs/prs_for_manpage_powerd(8).html

There are a couple of simple looking PRs there, especially bin/113813
which keeps biting me :)

Thanks!

Gavin


More information about the svn-src-head mailing list