Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2008 11:15:02 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        njl@freebsd.org, bruno@freebsd.org, Stefan Lambrev <stefan.lambrev@moneybookers.com>, freebsd-current@freebsd.org, Igor Mozolevsky <igor@hybrid-lab.co.uk>, Maxim Sobolev <sobomax@digifonica.com>
Subject:   Re: powerd adaptive mode latching
Message-ID:  <86myr4n4gp.fsf@ds4.des.no>
In-Reply-To: <200801171115.43663.doconnor@gsoft.com.au> (Daniel O'Connor's message of "Thu\, 17 Jan 2008 11\:15\:35 %2B1030")
References:  <a2b6592c0801110351l382959ffh1d55f2bcd2e6ca1b@mail.gmail.com> <a2b6592c0801111119r148d3697hf75a59b7bf74d540@mail.gmail.com> <478930D2.90806@digifonica.com> <200801171115.43663.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
"Daniel O'Connor" <doconnor@gsoft.com.au> writes:
> One problem with it is that it lags behind actual usage by a few
> seconds (presumably averaging it).

It is based on the (didle/dt) / (dtotal/dt) fraction computed from
kern.cp_time, which can take a while to ramp up.  This is not easily
seen in a cursory reading of the code, as the fraction is computed in a
very roundabout way.

> Turning the LCD off saves about 4W too.

Hmm, it would be interesting to experiment with varying backlight
brightness based on system load :)

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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