From owner-freebsd-stable@FreeBSD.ORG Mon Aug 21 23:07:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B665716A4DA for ; Mon, 21 Aug 2006 23:07:42 +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 2D7A543D5A for ; Mon, 21 Aug 2006 23:07:35 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp226-110.lns2.adl4.internode.on.net [203.122.226.110]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k7LN7TdV076735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Aug 2006 08:37:30 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Tue, 22 Aug 2006 08:37:27 +0930 User-Agent: KMail/1.9.3 References: <20060821223848.683b7a40.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20060821223848.683b7a40.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1439140.CfQSOb94zE"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608220837.28300.doconnor@gsoft.com.au> X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: Torfinn Ingolfsen Subject: Re: speedstep / cpu frequency control on 6-stable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 23:07:42 -0000 --nextPart1439140.CfQSOb94zE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 22 August 2006 06:08, Torfinn Ingolfsen wrote: > Hello, > > What ids the current way to control cpu speed (and power consumption) > in FreeBSD 6-stable? > Before, est was one way, but all traces of est has disappeared > from /etc/defaults/rc.conf and thereabouts. > I find something about powerd and power_profile, but they don't seem to > work, and I can't seem to find out what variables / configuration items > to set. 'man cpufreq' isn't much help in that regard either. Loading cpufreq should give you sysctl's which control CPU frequency. power= d=20 uses these to adjust frequency based on load. I have this in rc.conf powerd_enable=3D"YES" powerd_flags=3D"-i 70 -r 30 -a adaptive -b adaptive -n adaptive -p 200" And in dmesg.. cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 And sysctl.. dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=3D\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 1225 dev.cpu.0.freq_levels: 1400/-1 1225/-1 1200/-1 1050/-1 1000/-1 875/-1 800/-= 1=20 700/-1 600/-1 525/-1 450/-1 375/-1 300/-1 225/-1 150/-1 75/-1 (This is a Pentium-M 1.4Ghz) =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 --nextPart1439140.CfQSOb94zE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBE6jyw5ZPcIHs/zowRAq0RAJ9Bq6gQuNtc1VyuuCMrbYrgWEpVfACbBv7Z 2TySOmyzTtalZyIARPlUMMc= =wto3 -----END PGP SIGNATURE----- --nextPart1439140.CfQSOb94zE--