From owner-freebsd-current@FreeBSD.ORG Thu Jan 17 01:04:06 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 62E7116A41B for ; Thu, 17 Jan 2008 01:04:06 +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 D874F13C4D9 for ; Thu, 17 Jan 2008 01:04:05 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id m0H13jHQ048205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 Jan 2008 11:33:46 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Thu, 17 Jan 2008 11:15:35 +1030 User-Agent: KMail/1.9.7 References: <478930D2.90806@digifonica.com> In-Reply-To: <478930D2.90806@digifonica.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2254063.AcRIhP1dHZ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200801171115.43663.doconnor@gsoft.com.au> X-Spam-Score: -3.402 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: njl@freebsd.org, bruno@freebsd.org, Stefan Lambrev , Igor Mozolevsky , Dag-Erling =?utf-8?q?Sm=C3=B8rgrav?= , 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: Thu, 17 Jan 2008 01:04:06 -0000 --nextPart2254063.AcRIhP1dHZ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sun, 13 Jan 2008, Maxim Sobolev wrote: > I wonder if somebody did measurement of power consumption with powerd > and without it on typical tasks. There is very interesting idea in > the last issue of ACM Queue that it might be much more beneficial to > run CPU at the full speed and then switch it to low-power mode as > soon as possible in the idle loop than to run longer at reduced speed > for a longer period of time. I did a bit of testing on a road trip once using acipconf -i 0 to=20 measure current draw. One problem with it is that it lags behind actual usage by a few seconds=20 (presumably averaging it). Still, at full steam (md5'ing /dev/zero at 1.4GHz) my laptop uses ~34W=20 vs ~20W idle (which is ~300MHz depending on what KDE is doing :). Turning the LCD off saves about 4W too. I set my powerd flags like so.. powerd_enable=3D"YES" powerd_flags=3D"-i 70 -r 30 -a adaptive -b adaptive -n adaptive -p 200" =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 --nextPart2254063.AcRIhP1dHZ 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) iD8DBQBHjqU35ZPcIHs/zowRAvmQAJ40Fg6/SK/oXz3e23BHL8olhU8PtQCeLmd1 s1IrNUGT79YyNxZX1DH2ArQ= =dPzA -----END PGP SIGNATURE----- --nextPart2254063.AcRIhP1dHZ--