From owner-freebsd-current@FreeBSD.ORG Fri Jan 18 03:38:03 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C34716A419 for ; Fri, 18 Jan 2008 03:38:03 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5DAF313C461 for ; Fri, 18 Jan 2008 03:38:02 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-39-232.lns10.adl2.internode.on.net [121.45.39.232]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id m0I3bih7005139 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Jan 2008 14:07:45 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Dag-Erling =?utf-8?q?Sm=C3=B8rgrav?= Date: Fri, 18 Jan 2008 14:07:28 +1030 User-Agent: KMail/1.9.7 References: <200801171115.43663.doconnor@gsoft.com.au> <86myr4n4gp.fsf@ds4.des.no> In-Reply-To: <86myr4n4gp.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2288516.ogWvC6iNXF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200801181407.36360.doconnor@gsoft.com.au> X-Spam-Score: -2.39 () AWL,BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: njl@freebsd.org, bruno@freebsd.org, Stefan Lambrev , freebsd-current@freebsd.org, Igor Mozolevsky , Maxim Sobolev Subject: Re: powerd adaptive mode latching X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 03:38:03 -0000 --nextPart2288516.ogWvC6iNXF Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 17 Jan 2008, Dag-Erling Sm=C3=B8rgrav wrote: > "Daniel O'Connor" 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. I meant the current usage reported by ACPI. Presumably totally up to the BIOS implementation as to how it works.. > > Turning the LCD off saves about 4W too. > > Hmm, it would be interesting to experiment with varying backlight > brightness based on system load :) Heh, sounds like a great way to get a headache 8-) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2288516.ogWvC6iNXF Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHkB8A5ZPcIHs/zowRAltDAJ9VnVTx/hB2O5OFZxnUGaSGI5GuswCfboXJ rEa0RXx5PxmAWYCl1lEBy5A= =L9zl -----END PGP SIGNATURE----- --nextPart2288516.ogWvC6iNXF--