Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 08:37:27 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org
Cc:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Subject:   Re: speedstep / cpu frequency control on 6-stable?
Message-ID:  <200608220837.28300.doconnor@gsoft.com.au>
In-Reply-To: <20060821223848.683b7a40.torfinn.ingolfsen@broadpark.no>
References:  <20060821223848.683b7a40.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
--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: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608220837.28300.doconnor>