You are not logged in.

#1 2010-08-18 06:29:00

uberben
Member
Registered: 2010-08-18
Posts: 75

cpufreq ondemand not working

Hello all. I am new to Arch and am trying to setup cpufreq as per the Wiki article (http://wiki.archlinux.org/index.php/Cpufrequtils). I am running a desktop P4 2.00 GHz. I am trying to manually activate ondemand mode before setting it all to automatically run and I cannot get it to activate.

What I have done so far:
# modprobe p4-clockmod   (ran fine)
# cpufreq-info                     (listed only performance as an option, so i ran the next command)
# modprobe ondemand      (running info again now shows ondemand)
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor    (this prints "performance", as expected)
# cpufreq-set -g ondemand    (this should activate ondemand mode, but the computer has less than 1% CPU usage and is still running at 2GHz, so...)
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor    (this prints "performance", so it would seem forcing ondemand didn't work)

Does anyone have any ideas why this isn't working for me? cpufreq-info says I should have a clock range of 250-2000 MHz and this computer will be an always on, rarely used machine, so being able to ramp down the CPU that drastically would be a great feature.

Please let me know if I can provide any more information.

Offline

#2 2010-08-18 06:40:37

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: cpufreq ondemand not working

Welcome to the forums uberben, afaik the module is named cpufreq_ondemand:

modprobe cpufreq_ondemand

Have you tried this?


ᶘ ᵒᴥᵒᶅ

Offline

#3 2010-08-18 07:27:06

uberben
Member
Registered: 2010-08-18
Posts: 75

Re: cpufreq ondemand not working

Thanks for the quick reply. I ran that modprobe line and tried "cpufreq-set -g ondemand" as well as "cpufreq-set -g cpufreq_ondemand" and neither seems to have worked. The first one executed with no errors, the second failed saying I may have tried an invalid policy.

Offline

#4 2010-08-18 07:52:49

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: cpufreq ondemand not working

Pentium 4 does not have frequency scaling.

Offline

#5 2010-08-18 08:20:29

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: cpufreq ondemand not working

Gusar wrote:

Pentium 4 does not have frequency scaling.

You're right, here's some background info on that: http://www.codemonkey.org.uk/2009/01/18 … 4clockmod/

I see there's also a few other threads about this, start here: https://bbs.archlinux.org/viewtopic.php?pid=796574

Closing this one to avoid duplication.


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB