Hi guys,
I like using cpufreq to adjust the frequency of processor cores. When I am performing basic tasks I use the minimum frequency available and, under such circumstance, the fan speed is null most of the time. When I am going to run some numerical simulations I adjust the frequency to some value near the maximum. At least it used to work until Ubuntu 14.04. Last week I installed 16.04 and since then I am in trouble with cpufreq. I've been searching in the web for a solution, until now without success. I installed indicator-cpufreq, cpufreqd, cpufrequtils, lm-sensors and psensor. The last instructions I followed were those found in the links below
http://ubuntuforums.org/showthread.php?t=248867
https://www.pantz.org/software/cpufr...eqonlinux.html
http://ubuntuforums.org/showthread.p...=cpufreq+16.04
http://ubuntuforums.org/showthread.p...=cpufreq+16.04
However the frequency was changing automatically after some time of reboot. When I tried to change the frequency sometimes I was successful, but the frequency changed "by itself" after some time. Because I tested lots of suggestions I found in the web, I decided to completely remove the programs listed above, undid the changes in /ect (at least the ones I remembered) and reinstalled them, however the same basic problem persists.
Somewhere in web I learned to change the frequency by typing the following in terminal
sudo sh -c "echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
sudo sh -c "echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
sudo sh -c "echo 800000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq"
sudo sh -c "echo 800000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq"
sudo sh -c "echo 800000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq"
sudo sh -c "echo 800000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq"
sudo sh -c "echo 800000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq"
sudo sh -c "echo 800000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq"
(The value 800000 corresponds to the minimum frequency of my processor). However, few instants later the governor automatically changes. If I rerun the above commands, then the frequency goes again to 0.80GHz. But when I change to my Standard Account Type the frequency is at maximum and I can not change its value. Right now my processor is working in turbo mode: 2901000Hz.
In Ubuntu 14.04 cpufreq worked perfectly: I had defined the minimum frequency as default at the initialization of the system and I could change the frequency easily by just clicking in a value of frequency listed by cpufreq. I would be glad if somebody could help me to achieve the same behavior of cpufreq that I found in Ubuntu 14.04.
Best regards,
Denis
PS.: I verify the frequency of my processor with the command
cat /sys/devices/system/cpu/*/cpufreq/scaling_cur_freq



Adv Reply

Bookmarks