Kernel with wrong CPU frequencies

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
spezzi72
Level 1
Level 1
Posts: 2
Joined: Mon Jun 29, 2020 10:49 am

Kernel with wrong CPU frequencies

Post by spezzi72 »

Hello everyone,
I have an "ASRock 970 Extreme 3 R2.0" Mainboard with an AMD FX 8300 Piledriver CPU.
The correct CPU frequencies (steps) of this CPU are:
1400,00 MHZ
1900,00 MHZ
2400,00 MHZ
2900,00 MHZ
3300,00 MHZ
Up to Kernel 4.12 the CPU frequencies are shown correct.
But since Kernel 4.13 (and above) the CPU frequencies (steps) are like:
1396,15 MHZ
1917,24 MHZ
2394,72 MHZ
2915,11 MHZ
3307,44 MHZ
Apparently a newer Kernel does not support this CPU correctly anymore.
My question is:
How can I modify a newer Kernel, to get/show the correct CPU frequencies?
My concern is, the new Kernel could damage my (old) CPU.
Thank you for your help.
Last edited by spezzi72 on Mon Jun 29, 2020 1:14 pm, edited 1 time in total.
M_aD
Level 4
Level 4
Posts: 204
Joined: Sun Apr 27, 2008 9:03 am
Location: Belgium
Contact:

Re: Kernel with wrong CPU frequencies

Post by M_aD »

Wouldn't worry about it and leave it as is since those are just numbers. It won't damage your CPU.
spezzi72
Level 1
Level 1
Posts: 2
Joined: Mon Jun 29, 2020 10:49 am

Re: Kernel with wrong CPU frequencies

Post by spezzi72 »

Maybe you are right. But obviously they changed something in the kernel. It was perfect before and then they made it worse. To make it worse is not an option for me! Therefore I need to know, how can I modify the Kernel, like it was before (in the old Kernels)? I need the correct frequencies (steps) of my CPU. It was possible in the past, so it also has to be possible today.
mr_raider
Level 7
Level 7
Posts: 1806
Joined: Sun Jun 20, 2010 9:50 am
Location: Montreal, QC

Re: Kernel with wrong CPU frequencies

Post by mr_raider »

The steps of CPU powersaving mode are built in. Your OS can't set the frequency arbitrarily. It can only send information about power sates and load/demand. The actual stepping up and down is accomplished by the CPU.

Nothing has changed in your CPUs governor. The OS is probably just reporting the frequencies slightly differently.
Image
User avatar
Kadaitcha Man
Level 9
Level 9
Posts: 2586
Joined: Mon Aug 27, 2012 10:17 pm

Re: Kernel with wrong CPU frequencies

Post by Kadaitcha Man »

spezzi72 wrote:
Mon Jun 29, 2020 1:47 pm
Therefore I need to know, how can I modify the Kernel, like it was before (in the old Kernels)?
Download the source code, edit it, compile the changes, install the new kernel and test.

So easy.

However the easier way to deal with it is to not go into a conniption fit over a whole 4MHz of difference between preferred clock and actual clock speeds.
spezzi72 wrote:It was possible in the past, so it also has to be possible today.
It was possible in the past to use a paper phonebook and hand-write letters with a pen and paper...
It's pronounced kad-eye-cha, not kada-itcha.
User avatar
BG405
Level 8
Level 8
Posts: 2332
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Kernel with wrong CPU frequencies

Post by BG405 »

The only way you're likely to damage your CPU is by overclocking i.e. running it above its maximum rated frequency. This, as far as I know, usually isn't enabled by default on most motherboards.

It might be that you are seeing actual CPU speeds now, rather than an approximation, instead of the other way round.

lscpu should show your CPU's details. :)
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 8GB - Manjaro KDE with Mint VMs
Toshiba NB250 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE ...
Post Reply

Return to “Hardware Support”