Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Apr 2005 08:49:15 +0200
From:      "Frank Behrens" <frank@pinky.sax.de>
To:        Bruno Ducrot <ducrot@poupinou.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: My experience with cpufreq in -STABLE
Message-ID:  <200504060649.j366nGQg021228@pinky.frank-behrens.de>
In-Reply-To: <20050404171735.GR2298@poupinou.org>
References:  <200504041645.j34Gj2ow002999@pinky.frank-behrens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruno Ducrot <ducrot@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504060649.j366nGQg021228>