From owner-freebsd-current@FreeBSD.ORG Tue Nov 6 00:42:30 2007 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 3DCFB16A421 for ; Tue, 6 Nov 2007 00:42:30 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xsmtp1.ethz.ch (xsmtp1.ethz.ch [82.130.70.13]) by mx1.freebsd.org (Postfix) with ESMTP id B801F13C491 for ; Tue, 6 Nov 2007 00:42:29 +0000 (UTC) (envelope-from matus.harvan@inf.ethz.ch) Received: from xfe0.d.ethz.ch ([82.130.124.40]) by xsmtp1.ethz.ch with Microsoft SMTPSVC(6.0.3790.3959); Tue, 6 Nov 2007 01:29:40 +0100 Received: from styx.inf.ethz.ch ([217.162.207.7]) by xfe0.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 6 Nov 2007 01:29:40 +0100 Received: by styx.inf.ethz.ch (Postfix, from userid 1001) id 261BF49ACA4; Tue, 6 Nov 2007 01:29:40 +0100 (CET) Date: Tue, 6 Nov 2007 01:29:40 +0100 From: Matus Harvan To: freebsd-current@freebsd.org Message-ID: <20071106002940.GB1817@styx.ethz.ch> References: <472E9D0B.5080409@csub.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline In-Reply-To: <472E9D0B.5080409@csub.edu> User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 06 Nov 2007 00:29:40.0440 (UTC) FILETIME=[1E8E5580:01C8200C] 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: Tue, 06 Nov 2007 00:42:30 -0000 --2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 04, 2007 at 08:33:15PM -0800, Russell Jackson wrote: > Powerd seems to latch at the maximum - 1 cpufreq setting while in adaptiv= e=20 > mode. This is 100% reproducible for me. It never un-wedges from this stat= e=20 > no matter how long I wait. [...] > dev.cpu.0.freq_levels: 2579/-1 2578/-1 2255/-1 1933/-1 1611/-1 1289/-1=20 > 966/-1 644/-1 322/-1 [...] >=20 > $ sysctl dev.ichss > dev.ichss.0.%desc: SpeedStep ICH > dev.ichss.0.%driver: ichss > dev.ichss.0.%parent: cpu0 > dev.ichss.0.freq_settings: 2579/-1 2578/-1 >=20 > The ichss levels looked odd to me, and trying to set cpufreq=3D2578 is a= =20 > NOOP. >=20 > $ sysctl dev.cpu.0.freq=3D2578 > dev.cpu.0.freq: 2579 -> 2579 I have a similar problem on a CPU: Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz (1596.01-MHz 686-class= CPU) I think I am using est. For me the two highest frequencies seem to be 1601 and 1600: $ sysctl dev.cpu [...] dev.cpu.0.freq_levels: 1601/35000 1600/35000 1400/30625 1200/16000 1050/140= 00 900/12000 800/14000 700/12250 600/10500 500/8750 400/7000 300/5250 [...] $ sysctl dev.est dev.est.0.%desc: Enhanced SpeedStep Frequency Control dev.est.0.%driver: est dev.est.0.%parent: cpu0 dev.est.0.freq_settings: 1601/35000 1600/35000 1200/16000 800/14000 dev.est.1.%desc: Enhanced SpeedStep Frequency Control dev.est.1.%driver: est dev.est.1.%parent: cpu1 dev.est.1.freq_settings: 1601/35000 1600/35000 1200/16000 800/14000 However, setting the frequency to 1600 results in 1601 $ sudo sysctl dev.cpu.0.freq=3D1600 dev.cpu.0.freq: 1601 -> 1601 which causes the same powerd behavior as you have experienced. I am running RELENG_7 from about three weeks ago. Matus --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHL7V043LQWDWf0QIRAulQAKChM5pc3Hx+IHvn0TrPlLBcJefiIQCfah4a Pd+g5lDVli7L5jHzuD41jwY= =DRbw -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r--