My experience with cpufreq in -STABLE

Frank Behrens frank at pinky.sax.de
Tue Apr 5 23:49:20 PDT 2005


Bruno Ducrot <ducrot at poupinou.org> wrote on 4 Apr 2005 19:17:
> You may start looking at src/usr.sbin/powerd in -current, and improve it
> a bit?  The actual algorithm used in powerd may need some rework IMHO.

Which problems do you see?

My comments:
1. If the frequency is raised it should not go down immediately on 
short idle phases. To raise the frequency the current idle value 
should used but to lower the frequency we should calculate a weighted 
idle average value.
2. The default polling time of 500 ms seems to be very short. It can 
increased to several seconds.

Regards,
   Frank
-- 
Frank Behrens, Osterwieck, Germany
PGP-key 0x5B7C47ED on public servers available.



More information about the freebsd-hackers mailing list