Date: Tue, 8 Feb 2005 09:23:10 -0500 From: "Michael W. Oliver" <michael@gargantuan.com> To: Nate Lawson <nate@root.org> Cc: amd64@freebsd.org Subject: Re: HEADSUP: cpufreq import complete, acpi_throttling changed Message-ID: <20050208142310.GA24565@gargantuan.com> In-Reply-To: <42068A5C.1030300@root.org> References: <42068A5C.1030300@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005-02-06T13:21:32-0800, Nate Lawson wrote: > I've finished the major work of importing cpufreq. As part of this, the= =20 > sysctls for acpi throttling have been removed. The power_profile script= =20 > has been updated, so you can use performance/economy_cpu_freq=3D in=20 > rc.conf to set AC on/offline cpu frequencies. The acpi throttling=20 > support has been compiled into acpi_perf.ko so load that to get=20 > throttling. Do a sysctl dev.cpu to get an understanding of the cpufreq= =20 > sysctls. Nate, Thanks for the hard work on cpufreq! I am running an AMD64 3400 CPU in my lappy, and I don't see any difference in dev.cpu with cpufreq and/or acpi_perf loaded. This is all I have: dev.cpu.0.%desc: ACPI CPU (2 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 The above is the same for the following conditions: o cpufreq AND acpi_perf NOT loaded o cpufreq (without acpi_perf) loaded o acpi_perf (without cpufreq) loaded o cpufreq AND acpi_perf loaded The acpi_ppc module does continue to work for me, however, yielding the following additional OIDs from hw.acpi: ----------8<-------------- # sysctl hw.acpi.cpu hw.acpi.cpu.cx_supported: C1/0 C2/80 hw.acpi.cpu.cx_lowest: C2 hw.acpi.cpu.cx_usage: 2.36% 97.63% # kldload acpi_ppc # sysctl hw.acpi.cpu hw.acpi.cpu.cx_supported: C1/0 C2/80 hw.acpi.cpu.cx_lowest: C2 hw.acpi.cpu.cx_usage: 2.32% 97.67% hw.acpi.cpu.px_control: -1 hw.acpi.cpu.px_highest: 0 hw.acpi.cpu.px_lowest: 2 hw.acpi.cpu.px_current: 2 hw.acpi.cpu.px_supported: 2200 1800 800 hw.acpi.cpu.px_usage: 3.33% 3.33% 93.33% ----------8<-------------- All the stuff you would normally ask for can be found here: http://michael.gargantuan.com/sager_4750v/index.htm#Utility_Command_Output Also, I had to build the cpufreq and acpi_perf modules manually, as they weren't built automatically. Maybe they aren't "connected" to the build for AMD64? Thanks again, great work! --=20 Mike Oliver [see complete headers for contact information] --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCCMtOsWv7q8X6o8kRAqGMAKCtd4fCdKSZe7GSdqpUpPyDS58r1ACeK+ax xhbdGDguQJQc/UwYPk/u7KU= =vNlu -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050208142310.GA24565>