Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I would like to change the governor to "performance", but I don't even have the directory "cpufreq" under /sys/devices/system/cpu/cpuX/.
The only reason that made me believe that I work with "ondemand" governor is the fact that my kernel (4.1.6-200.fc22.x86_64) is configured with the below flag:
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
Is there a way to change the governor type without recompiling the kernel?
Hi here is some more info. First, below I paste the kernel flags related to FREQ configuration.
Next, I show the related modules I have. BTW, when I tried loading any of the modules (using modprobe) I didn't get any errors but ! I didnt get any change either.
I really want to work with a standard kernel without any additional compilations etc...
Thanks in advance..
[root@magma14 ~]# cat /boot/config-4.1.6-200.fc22.x86_64 | grep FREQ
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=m
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
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
CONFIG_X86_PCC_CPUFREQ=m
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
CONFIG_PM_DEVFREQ=y
# DEVFREQ Governors
CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=m
# CONFIG_DEVFREQ_GOV_PERFORMANCE is not set
# CONFIG_DEVFREQ_GOV_POWERSAVE is not set
# CONFIG_DEVFREQ_GOV_USERSPACE is not set
# DEVFREQ Drivers
# CONFIG_PM_DEVFREQ_EVENT is not set
[root@magma14 ~]# /sbin/modinfo /lib/modules/$(uname -r)/kernel/drivers/cpufreq/* | grep "^[fd]"
filename: /lib/modules/4.1.6-200.fc22.x86_64/kernel/drivers/cpufreq/acpi-cpufreq.ko.xz
description: ACPI Processor P-States Driver
depends:
filename: /lib/modules/4.1.6-200.fc22.x86_64/kernel/drivers/cpufreq/amd_freq_sensitivity.ko.xz
description: AMD frequency sensitivity feedback powersave bias for the ondemand governor.
depends:
filename: /lib/modules/4.1.6-200.fc22.x86_64/kernel/drivers/cpufreq/cpufreq_stats.ko.xz
description: Export cpufreq stats via sysfs
depends:
filename: /lib/modules/4.1.6-200.fc22.x86_64/kernel/drivers/cpufreq/p4-clockmod.ko.xz
description: cpufreq driver for Pentium(TM) 4/Xeon(TM)
depends: speedstep-lib
filename: /lib/modules/4.1.6-200.fc22.x86_64/kernel/drivers/cpufreq/pcc-cpufreq.ko.xz
description: Processor Clocking Control interface driver
depends:
filename: /lib/modules/4.1.6-200.fc22.x86_64/kernel/drivers/cpufreq/powernow-k8.ko.xz
description: AMD Athlon 64 and Opteron processor frequency driver.
depends:
filename: /lib/modules/4.1.6-200.fc22.x86_64/kernel/drivers/cpufreq/speedstep-lib.ko.xz
description: Library for Intel SpeedStep 1 or 2 cpufreq drivers.
depends:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.