Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2004 10:52:05 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        rejden <rejden@hysteria.sk>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: acpi cpu throttling
Message-ID:  <20041118085205.GC72018@ip.net.ua>
In-Reply-To: <20041118003601.GA8873@hysteria.sk>
References:  <20041118003601.GA8873@hysteria.sk>

next in thread | previous in thread | raw e-mail | index | archive | help

--MnLPg7ZWsaic7Fhd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 18, 2004 at 01:36:01AM +0100, rejden wrote:
> Hi,
> is there any way how to change CPU frequency with ACPI ?
> i saw something similar under linux, googling whole night and nothin...
> i'm running generic 5.3release kernel
>=20
> jan
>=20
> -----
>=20
> daemon# sysctl -a |grep cpu
> kern.threads.virtual_cpu: 1
> kern.ccpu: 1948
> kern.smp.maxcpus: 1
> kern.smp.cpus: 1
> hw.ncpu: 1
> hw.acpi.cpu.throttle_max: 8
> hw.acpi.cpu.throttle_state: 8
> hw.acpi.cpu.cx_supported: C1/1 C2/2 C3/185
> hw.acpi.cpu.cx_lowest: C3
> hw.acpi.cpu.cx_usage: 0.08% 99.91% 0.00%
> machdep.cpu_idle_hlt: 1
> dev.cpu.0.%desc: ACPI CPU (3 Cx states)
> 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
>=20
> daemon# dmesg -a |grep cpu
> cpu0: <ACPI CPU (3 Cx states)> on acpi0
> acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
> hw.acpi.cpu.cx_lowest:=20
> hw.acpi.cpu.throttle_state:=20
>=20
Yes, go read acpi(4) manpage when it talks about SYSCTLS.
You want hw.acpi.cpu.throttle_state.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--MnLPg7ZWsaic7Fhd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBnGK1qRfpzJluFF4RAoLTAKCTeCP9nkWvcFTigulG1ZcLR59cYACffSam
BQGXo1Qw5IsrXEfFXtb0Cdo=
=pAyg
-----END PGP SIGNATURE-----

--MnLPg7ZWsaic7Fhd--



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