From owner-freebsd-current@FreeBSD.ORG Sat Jan 12 22:37:57 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 1C58916A418 for ; Sat, 12 Jan 2008 22:37:57 +0000 (UTC) (envelope-from SRS0=a7ab41728054147af81f90e783994d7ee44d543f=578=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id 6711D13C478 for ; Sat, 12 Jan 2008 22:37:56 +0000 (UTC) (envelope-from SRS0=a7ab41728054147af81f90e783994d7ee44d543f=578=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id SXX21254; Sat, 12 Jan 2008 14:37:54 -0800 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id A193F4500E; Sat, 12 Jan 2008 14:37:52 -0800 (PST) To: Maxim Sobolev In-Reply-To: Your message of "Sat, 12 Jan 2008 13:27:46 PST." <478930D2.90806@digifonica.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1200177472_52929P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 12 Jan 2008 14:37:52 -0800 From: "Kevin Oberman" Message-Id: <20080112223752.A193F4500E@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ; ; ; ; ; ; ; X-Sender: X-To_Name: Maxim Sobolev X-To_Domain: digifonica.com X-To: Maxim Sobolev X-To_Email: sobomax@digifonica.com X-To_Alias: sobomax Cc: njl@FreeBSD.ORG, bruno@FreeBSD.ORG, Stefan Lambrev , freebsd-current@FreeBSD.ORG, Igor Mozolevsky , =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= 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: Sat, 12 Jan 2008 22:37:57 -0000 --==_Exmh_1200177472_52929P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Sat, 12 Jan 2008 13:27:46 -0800 > From: Maxim Sobolev > > 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. Now that you mention it, I did do this back when powerd first appeared. My results lead me to believe the Queue article is likely correct. Here is a summary of my results: 1. Of course, powerd does nothing during processor intensive operations. 2. For many interactive operations such as editing/word processing, spreadsheets, reading mail, and the like, the savings from speedstep were fairly significant. 3. For moderate CPU utilization tasks such as playing music (mp3), the savings from speedstep can be very significant. This was the spot where powerd did the best, but I could beat it by doing manual settings. 4. Throttling/TCC were often counter-productive. TCC did slightly better than throttling, but i simply disable both. Playing music with TCC showed a steady deterioration in power consumption as TCC was applied more aggressively. I will try to find my test results. They were done on an IBM T30 about three years ago and I may not find them now. This system had only speedstep and I suspect ESS will do much better. If I have time, I will try some tests with my current T43 and, maybe a T61 to which I have access. -- 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_1200177472_52929P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHiUFAkn3rs5h7N1ERAlNVAKCUgTt1uqgr3PP8sA33KCSg3XeLmQCfRJrD F+I2sk9GuQ2sTrsiwp3nFkk= =QV18 -----END PGP SIGNATURE----- --==_Exmh_1200177472_52929P--