Date: Mon, 14 Feb 2005 22:19:48 +0100 From: Pawel Worach <pawel.worach@telia.com> To: Nate Lawson <nate@root.org> Cc: acpi@freebsd.org Subject: Re: HEADSUP: cpufreq import complete, acpi_throttling changed Message-ID: <421115F4.60100@telia.com> In-Reply-To: <420FC806.5060200@root.org> References: <42068A5C.1030300@root.org> <4206B5A6.20100@telia.com> <420FC806.5060200@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Nate Lawson wrote: > Any word if the patch I sent helped? Hi, sorry for the delay. I bumped the number of retries to 2000 and I can still repro. the error if the cpu has some load, I believe that is expected. Even when "idle" (gnome desktop running) it works fine with 100, I think the first time I tested it I had mplayer running. I can't see a real-life reason for bumping the number of retries, from all speeds above 200Mhz I can step back up to 1.7Ghz without problems under light cpu load. The power_profile script should probably have a min limit, 75Mhz is ridiculous :) Another cool thing would be if the speed could be stepped automagically based on current battery level, that would likely be the job for a powerd(8). - Pawel > > Pawel Worach wrote: > >> Nate Lawson wrote: >> >>> I've finished the major work of importing cpufreq. As part of this, >>> the sysctls for acpi throttling have been removed. The power_profile >>> script has been updated, so you can use performance/economy_cpu_freq= >>> in rc.conf to set AC on/offline cpu frequencies. The acpi throttling >>> support has been compiled into acpi_perf.ko so load that to get >>> throttling. Do a sysctl dev.cpu to get an understanding of the >>> cpufreq sysctls. >>> >> >> Tried this on my ThinkPad T41, seems to work great except I managed to >> produce >> this message one time. >> >> -- Power is plugged in here, freq=1700 >> acpi_acad0: Off Line >> cpu0: Performance states changed >> -- Power unplugged, power_profile adjusted freq to 75 :) >> acpi_acad0: On Line >> -- Power reconnected, freq stayed at 75 >> acpi_perf0: Px transition to 1700 failed >> acpi_perf0: set freq failed, err 6 >> stray irq7 >> stray irq7 >> stray irq7 >> stray irq7 >> too many stray irq 7's: not logging anymore >> cpu0: Performance states changed >> -- Manually pushed freq back to 1700 without problems >> >> CPU: Intel(R) Pentium(R) M processor 1700MHz (1698.56-MHz 686-class CPU) >> Origin = "GenuineIntel" Id = 0x695 Stepping = 5 >> >> # sysctl dev.cpu >> dev.cpu.0.%desc: ACPI CPU (3 Cx states) >> dev.cpu.0.%driver: cpu >> dev.cpu.0.%location: handle=\_PR_.CPU_ >> dev.cpu.0.%pnpinfo: _HID=none _UID=0 >> dev.cpu.0.%parent: acpi0 >> dev.cpu.0.freq: 1700 >> dev.cpu.0.freq_levels: 1700/24500 1487/21437 1400/19500 1275/18375 >> 1225/17062 1200/16000 1062/15312 1000/13000 900/12000 875/12187 >> 850/12250 800/9500 750/10000 700/9750 637/9187 600/6000 525/7312 >> 500/6500 450/6000 425/6125 400/4750 375/4875 350/4875 300/4000 >> 250/3250 212/3062 175/2437 150/2000 125/1625 100/1187 75/750 >> >> Both acpi_perf.ko and cpufreq.ko loaded. >> > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421115F4.60100>