Date: Fri, 11 Jan 2008 10:13:44 -0800 From: "Kevin Oberman" <oberman@es.net> To: "Igor Mozolevsky" <igor@hybrid-lab.co.uk> Cc: bruno@freebsd.org, =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>, njl@freebsd.org, freebsd-current@freebsd.org, Stefan Lambrev <stefan.lambrev@moneybookers.com> Subject: Re: powerd adaptive mode latching Message-ID: <20080111181344.5E7244500E@ptavv.es.net> In-Reply-To: Your message of "Fri, 11 Jan 2008 11:51:07 GMT." <a2b6592c0801110351l382959ffh1d55f2bcd2e6ca1b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1200075224_3679P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Fri, 11 Jan 2008 11:51:07 +0000 > From: "Igor Mozolevsky" <igor@hybrid-lab.co.uk> > Sender: owner-freebsd-current@freebsd.org > > On 11/01/2008, Dag-Erling Smørgrav <des@des.no> wrote: > > > The whole point of powerd is to automatically adapt to the load. If > > your laptop "lags too much" powerd should detect that and increase the > > CPU frequency. However, poor interactive response can result when CPU > > frequency fluctuates too quickly; perhaps your problem will go away with > > Andrew's patch, which is intended to dampen such fluctuations? > > I was also thinking that the power increase probably shouldn't be > linear, maybe there should be a choice of algs: 2-step, 50%-100%, etc. > Normally you don't mind power dropping slowly, but for most things you > don't want to wait N-seconds for the clock to be stepped up to its > full throttle... The part of powerd.c that controls this is very easy to understand and modify. I write almost no C these days and I had no problems changing the adaptive algorithm to try other things. Try your idea and see how it works. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1200075224_3679P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHh7HYkn3rs5h7N1ERAuiPAKCc5Mj2kcZQaG2TTK5+5k6Op7FNcACgthiX ei+uPPPkt9b4raTPrUyEQVQ= =JRIi -----END PGP SIGNATURE----- --==_Exmh_1200075224_3679P--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080111181344.5E7244500E>