How do I set the CPU frequency scaling governor for all cores at once?
-
I'd like to set the CPU frequency scaling governor for all cores at once instead of doing it individually for each core. Is there a way to do this? (I know it would be easy to echo the governor to /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor, but I'm not looking for a custom solution.)
-
Answer:
I googled a lot and I think it's just not possible, so I added the following one-liner to my .bashrc: function setgov () { echo "$1" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor } Now I can run something like setgov ondemand and all cores will switch to the ondemand governor.
htorque at Ask Ubuntu Visit the source
Other answers
I'm still a linux noob but don't you think cpufrequtils lets u do it by using (its not bundled in the Ubuntu OS but is there in the repository) sudo apt-get install cpufrequtils cpufreq-set -r -g performance #-r for related (all) the cores
user49449
Check out Jupiter: https://launchpad.net/~webupd8team/+archive/jupiter It's a power mgmt daemon that runs in the background and will govern your cores on-demand. http://www.webupd8.org/2010/07/jupiter-ubuntu-ppa-hardware-and-power.html
sfeole
Related Q & A:
- How do I set a Gtk.StatusIcon as Text?Best solution by stackoverflow.com
- How can I set up my computer to alert me when I get an incoming email?Best solution by Yahoo! Answers
- How do I set my e-mail to alert me when I get a new message?Best solution by Yahoo! Answers
- How do I set up an I.M. on Yahoo?Best solution by answers.yahoo.com
- How do I set up my set top box?Best solution by Server Fault
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.