From owner-freebsd-arch@FreeBSD.ORG Tue Mar 18 18:54:33 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99C231065688; Tue, 18 Mar 2008 18:54:33 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 33D738FC16; Tue, 18 Mar 2008 18:54:33 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m2IIsaxd002917; Tue, 18 Mar 2008 13:54:36 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m2IIsZsV002916; Tue, 18 Mar 2008 13:54:35 -0500 (CDT) (envelope-from brooks) Date: Tue, 18 Mar 2008 13:54:35 -0500 From: Brooks Davis To: Robert Watson Message-ID: <20080318185435.GA2853@lor.one-eyed-alien.net> References: <5753.1205785282@critter.freebsd.dk> <20080318182358.F34016@fledge.watson.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <20080318182358.F34016@fledge.watson.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: arch@freebsd.org, Poul-Henning Kamp Subject: Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c ) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2008 18:54:33 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 18, 2008 at 06:26:11PM +0000, Robert Watson wrote: >=20 > On Mon, 17 Mar 2008, Poul-Henning Kamp wrote: >=20 >> In message <47DED21C.4070108@FreeBSD.org>, Kris Kennaway writes: >>=20 >>> I think this is a great idea, but one of the big problems is probably= =20 >>> going to be dealing with hardware quirks. e.g. we can't even enable=20 >>> powerd by default because e.g. acpi_throttle hangs on some systems. It= =20 >>> might be tricky to get power management to the stage where it works for= =20 >>> everyone and can be done automatically. >>=20 >> I'd expect that this will improve over time, just like all other=20 >> technologies from ISA to PCI bus implementations did. >>=20 >> But yes, it will take time & effort, but given the current=20 >> cleantech/greentech buzz, I think we'd better get moving. >=20 > I know we've talked about this, but I'll mention it for the benefits of t= he=20 > mailing list: one of the things that makes performance an "easy" target i= s=20 > that there are easy-to-gather metrics. Those metrics may require knowled= ge=20 > of statistics and a lifetime of experience to interpret correctly, but th= ey=20 > are still numbers that are easily generated and compared. To drive work = in=20 > power management, we would benefit from having similarly accessible=20 > metrics. Are there any decent documents describing how to do power use= =20 > measurement, and are there any (relatively) accessible tools for doing it= =20 > with? For example, on notebooks, can we sample an ACPI value before/afte= r=20 > a benchmark, or do we really need to hook something up to the power suppl= y=20 > in order to get a useful number? For servers, logging power meters with computer interfaces seem to be fairly expensive, but accumulating or instantaneous ones you have to look at to get data out of aren't too bad. For example, the Kill A Watt meter available in the US is $20-30. http://www.p3international.com/products/special/P4400/P4400-CE.html For amusement value, I had a dual P4-Xeon box hooked up to one once and found that power consumption with SETI@Home running was about 10W _lower_ than idle. -- Brooks --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD8DBQFH4A/rXY6L6fI4GtQRAlkDAJ0e9vERJYu4wBY0BPUxVpNi6xP8mACdG+HB tTfJyYEJ3p8BzvXMsdy/uUI= =5llQ -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv--