cpufreq directory not present. How to change governor for P states in such a case
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
cpufreq directory not present. How to change governor for P states in such a case
One node in my cluster is using ondemand governor which is specified in the directory
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ..
Scaling_governor allows us to choose the governor of our choice .
But this sub-directory is absent in the other node of the cluster . How do I change the governor for Pstates in such case ?
Is your system a real SMP system (two processors), or a dual core system?
In most dual core systems, the governor and the frequency must be the same on both cores - I think that's why you only see one entry for governor.
On my system, and AMD Athlon X2, dual core, I see the governor entry for both CPUs, but if I change one governor, the other one changes as well.
Is your system a real SMP system (two processors), or a dual core system?
In most dual core systems, the governor and the frequency must be the same on both cores - I think that's why you only see one entry for governor.
On my system, and AMD Athlon X2, dual core, I see the governor entry for both CPUs, but if I change one governor, the other one changes as well.
It is two dual core thinkpads forming the two nodes of the cluster
Are the two nodes identical? Same CPU?
If yes, look at the installed modules (lsmod). In case, try using "modprobe" to load the right modules.
For instance: "modprobe acpi_cpufreq" should load a module to change cpu frequency for most processors (I think this is a generic module, some processors will work better with a specialized module such as powernow-k8 in my ATHLON system).
To load the governors, you should load at least one of this modules: "cpufreq_conservative", "cpufreq_powersave", "cpufreq_userspace"
what is the difference between a C-state governor and P-state governor ?
What I have understood is this.. C-state governor are ladder and menu governors which are used during cpuidle states... and P-state governors are Ondemand, conservative, userspace, powersave, performance.... these are used when cpu is working (not idle)
Is my understanding correct ? Also I would like to know how to change current C-state governors from ladder to menu governor .
Last edited by kashyapa; 11-03-2009 at 10:48 AM.
Reason: wanted to add more details
I have merged your two threads here that were in "Linux Server" as they are nearly identical. Also, consider this post a verbal warning-- I'm asking you to NOT post the identical, or nearly identical, question in multiple places, as this makes it difficult for people to help you and to follow your issue. Please think your question through, and post it in one location only.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.