#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
you should also be able to change the governor then.
try:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
which gives you the available governors.
In the stock kernel only 'performance' is ultimatively available if you dont do a
modprobe cpufreq_ondemand
which brings me to the
OR:
you can modprobe all the governors and do a
echo -n "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
to load e.g. the 'ondemand' governor. Probably your problems are solved already then.
I think tpowa makes all the governors a module to keep the kernel lean. I think that is just fine, since you can modprobe the other governors. And 'performance' is good to start with in the first place.
Cheers,
Blind
UPDATE:
Nevermind the 'OR'! The frequency table is not updated for some reason when the governor is changed...because it is not configured to be userspace? Recompiling the kernel works for me, though.
Hope some of this helps you. If anyone manages to fix this, please let me know. (You can email me, message me on AIM - anxemptyxpromise or post into that LQ topic)
]]>...possibly you cannot change it because of
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
I think you have to make the governor a userspace thing. Only then it makes sense to compile all governors as module. After having done that you can change the governor by
echo -n "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
which (with 'ondemand') changes the frequencies according to whether you need the power of the CPU or not. 'performance' probably does not allow the change of the frequency because it is optimized for performance.
Cheers,
Blind
#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=m
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=m
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
Mmmmh. I am not much into this. Can you change the compiled in governor with a module one? So, would it make sense to even compile the others as modules?
Cheers,
Blind
Ahh well.. back to full speed cpu then I guess.. :-)
]]>Previously all of my CPU frequency settings were available for me to use with cpufrequtils. I upgrade to the newest kernel and now only 2 settings are available. I thought perhaps it might have been cpufrequtils since it was recently updated. But I reverted to the previous version of cpufrequtils and still the same.
Any thoughts on what the problem might be?
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping : 9
cpu MHz : 2099.947
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 4793.09