From owner-svn-src-head@FreeBSD.ORG Wed Nov 19 15:44:31 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 535B5106564A; Wed, 19 Nov 2008 15:44:31 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0F8248FC16; Wed, 19 Nov 2008 15:44:30 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id mAJFiTwS033241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Nov 2008 10:44:29 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Alexander Motin In-Reply-To: <4923C939.2090003@FreeBSD.org> References: <200811181324.mAIDOcOc079096@svn.freebsd.org> <1227064379.1979.3.camel@wombat.2hip.net> <4923C939.2090003@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BNVZO///OrJ41GgU8U3J" Organization: FreeBSD Date: Wed, 19 Nov 2008 10:44:23 -0500 Message-Id: <1227109463.16692.9.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r185050 - head/usr.sbin/powerd X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 15:44:31 -0000 --=-BNVZO///OrJ41GgU8U3J Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-11-19 at 10:07 +0200, Alexander Motin wrote: > Robert Noland wrote: > > On Tue, 2008-11-18 at 13:24 +0000, Alexander Motin wrote: > >> Log: > >> Set of powerd enchancements: > >> =20 > > Somehow this seems to be too sensitive. My laptop previously idled at > > 150Mhz... Occasionally bouncing up to maybe 450Mhz. With the new algo, > > it will sometimes drop to 900Mhz, but winds itself right back up to > > 1.8Ghz. >=20 > Can you give me any details? How many CPUs do you have, which set of > frequencies does it have? Are there any powerd options specified? Does > powerd detects battery power? With AC or unknown power it will run in > hiadaptive mode which keeps much higher frequencies. Can you run `powerd > -v` and look what happens there? >=20 > powerd now drops/rises frequency exponentially, so lower frequency will > be reached only after some period of idle. Rising is much faster to > quickly restore system interactivity. Right, what I expected, was a quicker ramp-up and a slower decay, leading to more stable frequency while idling. This is a Dell D630, Core2duo. ACPI, line detection works and I was testing with AC attached. With AC attached, my concern isn't power, as much as potential thermal impacts. Idling at high frequency isn't enough to kick my fans on high on this laptop, but I've had some that would. FreeBSD 8.0-CURRENT #1: Tue Nov 18 20:01:48 EST 2008 root@wombat.2hip.net:/usr/obj/usr/src/sys/D630 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz (1795.00-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x6fd Stepping =3D 13 Features=3D0xbfebfbff Features2=3D0xe3bd AMD Features=3D0x20100000 AMD Features2=3D0x1 Cores per package: 2 dev.cpu.0.freq: 1800 dev.cpu.0.freq_levels: 1800/31000 1575/27125 1350/23250 1200/13000 1050/11375 900/9750 750/8125 600/6500 450/4875 300/3250 150/1625 dev.est.0.freq_settings: 1800/31000 1200/13000 dev.est.1.freq_settings: 1800/31000 1200/13000 dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.p4tcc.1.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 robert. --=-BNVZO///OrJ41GgU8U3J Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkkkNFcACgkQM4TrQ4qfRON4egCfaFNd1wl2zhPwiUFa6xcmJXn+ txkAoIXNv6d+nQy/pwlqXUeRmrihF8XG =KVbr -----END PGP SIGNATURE----- --=-BNVZO///OrJ41GgU8U3J--