I just installed Lubuntu 18.04.1 on an old desktop with an AMD Althon 64 x2 4800+ CPU, and while overall it's running fine, my kernel logs are getting flooded with CPU frequency errors from powernow_k8
:
I did some Googling and found many old posts about how to fix this, but none of the commands worked (not surprising since I'm sure a lot has changed since 2008)...
Anybody have a suggestion on how I can fix this? Honestly I don't even care about dynamic frequency scaling working, I just want powernow_k8
to quit flooding my kernel log....
powernow-k8
, which used to be an external module, has been directly compiled into the kernel since 2010. To avoid the speed-stepping you can simply run the CPUs at full speed. From Stack Exchange answer: Is there a way to disable Intel SpeedStep steppings on an Ubuntu Server using a command line application?Start by reading the current available settings for your system:
this will return a list of available settings you can use to regulate each core of your CPU, if you can you should then set them to max performance by selecting the performance option. This will make your CPU cores run always at max frequency.
Knowing what options you have and if the performance option is available, you can then set each core to performance mode with the command:
this will make cpu0 (first core) run all the time at max performance. Do it for all the logical cores in your CPU.
You can then check if the option was successfully changed with the command:
this will check the current set option for cpu0 (first core). Check if the change was successful for all cores and if everything was set correctly you are good to go: Intel SpeedStep will be on but all your cores will be running at max frequency speed all the time.
NOTE: Although the question and answer references Intel SpeedStep the same should hold true with AMD's PowerNow technology.
Original post based on Arch Linux information
powernow_k8 has been deprecated since kernel
3.7
. You can blacklist it (How to blacklist kernel modules?) using command:and inserting these two lines:
Save the file and exit
gedit
After reboot confirm module is no longer loaded using:
You can also read the link above for steps to temporarily blacklist a module.
NOTE your CPU will now be running at full frequency unless the replacement module
acpi-cpufreq
is used.