cpufreq default governor?
Hi,
I'm running 2.6.1 vanilla kernel from kernel.org with no patches. I want to set the default cpufreq governor to userspace. Here is the relevant portion of my .config:
====CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_PROC_INTF=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_24_API=y CONFIG_CPU_FREQ_TABLE=y CONFIG_X86_ACPI_CPUFREQ=y CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
====
Everything compiles fine, but when I boot into the new kernel, the default governor is still set to performance:
<diwaker@diwaker>$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
But the userspace governor is indeed available:
<diwaker@diwaker>$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors powersave userspace performance
Any suggestions?
TIA,
Diwaker
Signature · 4 lines
Diwaker Gupta Graduate Student, Computer Sc. and Engg. University of California, San Diego <http://www.cse.ucsd.edu/users/dgupta>
Hi,
I'm sorry but I cannot reproduce the behaviour you see. Do you run any userspace cpufreq tool like cpufreqd? Can you compile the other governors as modules, and see what happens then, please? Thanks,
Dominik
Quoted 26 lines · Diwaker Gupta
Hi,
I'm running 2.6.1 vanilla kernel from kernel.org with no patches. I want to set the default cpufreq governor to userspace. Here is the relevant portion of my .config:
====
CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_PROC_INTF=y
#CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCEis not setCONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=yCONFIG_CPU_FREQ_GOV_PERFORMANCE=yCONFIG_CPU_FREQ_GOV_POWERSAVE=yCONFIG_CPU_FREQ_GOV_USERSPACE=yCONFIG_CPU_FREQ_24_API=yCONFIG_CPU_FREQ_TABLE=yCONFIG_X86_ACPI_CPUFREQ=yCONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
====Everything compiles fine, but when I boot into the new kernel, the default governor is still set to performance:
<diwaker@diwaker>$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
Quoted 18 lines
But the userspace governor is indeed available:
<diwaker@diwaker>$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors powersave userspace performanceAny suggestions?
TIA,
DiwakerSignature · 9 lines
Diwaker Gupta Graduate Student, Computer Sc. and Engg. University of California, San Diego <http://www.cse.ucsd.edu/users/dgupta> _______________________________________________ Cpufreq mailing list [email protected] http://www.linux.org.uk/mailman/listinfo/cpufreq
_______________________________________________
Cpufreq mailing list
[email protected]
http://www.linux.org.uk/mailman/listinfo/cpufreq
Hi,
Sorry, really stupid of me. It seems cpudynd or acpid are changing the default governor! I booted with both services off and the governor showed up okay.
BTW, do people have any opinion on which frequency daemon is better -- cpudynd or cpufreqd?
Diwaker
Quoted 51 lines · Dominik Brodowski
Hi,
I'm sorry but I cannot reproduce the behaviour you see. Do you run any userspace cpufreq tool like cpufreqd? Can you compile the other governors as modules, and see what happens then, please? Thanks,
DominikQuoted 23 lines · Diwaker Gupta
Hi,
I'm running 2.6.1 vanilla kernel from kernel.org with no patches. I want to set the default cpufreq governor to userspace. Here is the relevant portion of my .config:
====
CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_PROC_INTF=y
#CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCEis not setCONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=yCONFIG_CPU_FREQ_GOV_PERFORMANCE=yCONFIG_CPU_FREQ_GOV_POWERSAVE=yCONFIG_CPU_FREQ_GOV_USERSPACE=yCONFIG_CPU_FREQ_24_API=yCONFIG_CPU_FREQ_TABLE=yCONFIG_X86_ACPI_CPUFREQ=yCONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
====Everything compiles fine, but when I boot into the new kernel, the default governor is still set to performance:
<diwaker@diwaker>$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performanceQuoted 17 lines
But the userspace governor is indeed available:
<diwaker@diwaker>$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors powersave userspace performanceAny suggestions?
TIA,
DiwakerSignature · 9 lines
Diwaker Gupta Graduate Student, Computer Sc. and Engg. University of California, San Diego <http://www.cse.ucsd.edu/users/dgupta> _______________________________________________ Cpufreq mailing list [email protected] http://www.linux.org.uk/mailman/listinfo/cpufreq
Signature · 4 lines
Diwaker Gupta Graduate Student, Computer Sc. and Engg. University of California, San Diego <http://www.cse.ucsd.edu/users/dgupta>
Quoting Diwaker Gupta <[email protected]>:
Quoted 4 lines
...
BTW, do people have any opinion on which frequency daemon is better -- cpudynd or cpufreqd?
Try my CPUSpeed daemon! It's the best! ;-)
http://carlthompson.net/software/cpuspeed
Quoted 1 line
Diwaker
Carl Thompson