Talk:How to make use of Dynamic Frequency Scaling

From ThinkWiki
Revision as of 21:39, 26 October 2006 by BDKMPSS (Talk | contribs) (X21 ACPI gets crazy with kernels newer then 2.6.15.X ?)

Jump to: navigation, search

CPUfreq "stuck"

Using the "acpi-cpufreq" and "processor" modules, I can use the performance and ondemand governor with great success on a T43, and it switches between 2.1 GHz and ~700 MHz without incident. However, sometimes the processor becomes "stuck" at ~700 MHz, and when I switch to the performance governor "cat /proc/cpuinfo" notes it is still at ~700 MHz.

I have not been able to precisely reproduce these conditions, but they have happened several times. It is cured by a reboot. I'm not running any userspace frequency governers. Anybody else experienced this peculiar behavior? gsmenden 11:20, 10 JAN 2006 (CEST)

I had something similar on my T43. It seems that BIOS interfers with cpufreqd's operation. In the end I set BIOS to "maximum performance" when the laptop is on AC, and let cpufreqd keep track of the speed. It seems to work for me (T43, 2669, 2.6.15-kernel)

Verfied for my T43. Article amended.

Note that this problem seems to disappear completely when using the speedstep-centrino module instead of acpi-cpufreq in a T43p. gsmenden 21:24 2 MAR 2006 (EST)

CPU Speedstep management activation

I could not find the "processor" and "acpi-cpufreq" modules, thus leading to an empty /sys/devices/system/cpu/cpu0/ and preventing to set cpu throttling. I found the speedstep-centrino module which enables the feature. Environment : X41 (Pentium M), Debian Sid with custom 2.6.12 kernel. Is the Debian part of the article outdated ? Hope this helps, Vincent

speedstep-smi for T22

I had to use the speedstep-smi driver for my T22, not the speedstep-ich driver as stated in the how-to. Thomas

Yes, it was a mistake. Thanks for the note. Wyrfel 21:49, 27 Oct 2005 (CEST)

Extremely low freq on a T22

About an hour ago I made Speedstep work on a T22 running Ubuntu Breezy (5.10). Before that I had the machine randomly boot at 700MHz or 900MHz. That is nothing special. But, earlier today, when I booted it, it was running at 187MHz, according to both /proc/cpuinfo and Gnome's CPU frequency applet. It also took about 4 times as long to do some CPU-intensive processing than usually (grepping and sorting a known amount of text), so I'm still thinking that my Thinkpad really was running at 187MHz until I rebooted it.

Has anyone else noticed anything like this? Is there a way to replicate this behavior? Is there a way to "enable" this "step"?

-- _sd

Yes, i brought my X20 down to similarly low frequencies also with Ubuntu. I think it's possible through ACPI throttling, but I'm not sure if that was actually how i did it.

Wyrfel 23:51, 9 Jan 2006 (CET)

This is a BIOS problem. Disable any Powermanagment in BIOS, else it will boot with lower frequencies if your on battery or any other reason if didnt figure out. ACPI-Throttling does not change the frequency (read mhz) but something else.

echo 4:0 >/proc/acpi/processor/CPU/throttling

This will not change the mhz but will make it slower. I didnt understand how to make any use of it as it does not give more battery.

nusse Tue Mar 21 06:26:31 CET 2006

Obsolete daemons

Removed the note about daemons being obsolete. Using ondemand/conservate is *not* a replacement for daemons, they are generally smarter than a fixed governor and can adapt to different situations better.

I reinserted the note, but changed it a little. The point about that note is that most users get good results and less confusion with those two governors. Feel free to extend the section by some remarks about why one might want to use a deamon instead.

Wyrfel 10:40, 16 January 2006 (CET)

Elaborated a bit on it.

--Earthwings 23:15, 17 January 2006 (CET)

Thx, reads good.

Wyrfel 23:25, 17 January 2006 (CET)

Throttling useless?

I just removed the following comment:

==A note about CPU throttling==
On a modern CPU, throttling is useless, even it can increase power consumption instead of decreasing it. By forcing the CPU to sleep using throttling the CPU will reach a state higher as C2 less often. On a T43 it is a difference of more then 100mW.

I don't know what counts as a "modern CPU" but my desktop Athlon 64 3000+ 768 and my laptop 1.1GHz Pentium M both run *much* cooler at low frequencies than at high frequencies; it is just indisputable that they are using considerably less energy when throttled than before. So I think the above statement needs to be at the very least clarified before it goes into the main article. Ciphergoth 11:06, 20 June 2006 (CEST)

X21 ACPI gets crazy with kernels newer then 2.6.15.X ?

I have a strage problem with my X21 and speedstep. With kernel 2.6.15.x (I use .7 atm) everything works fine: cpufreqd switches between 500 and 700 and nothing strage occoures, but if I update to a more recent kernel-version the whol acpi gets crazy. I cant use the FN-Fx keys, soundlevel switches extreamly slow, the acpi-power-off-cmd takes about 2min to finish, ... Did anyone else get this problem? or if it works for someone could he send me his .config? BDKMPSS