High CPU since kernel 6.1.39
by elMoco from LinuxQuestions.org on (#6DKEE)
A few weeks ago I upgraded my Linux distro (Slackware 15.0-current 64b) with all the available packeges, among them, kwernel-6.1.39.
Immediately I noticed a higher CPU utilization: one of the four cores I have is permanently running at 100%
Also, I had some issues building some third party modules, and after discussion in the proper forums, we saw the problem was that the kernel 6.5 backport seems to go back to 6.1.39, and that broke some pre-checks in the compilation of the modules. The solution to that was easy, just changing:
Code:#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 5))to
Code:#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 39))But it made clear deeper changes had come.
Still, my main concern is the high use of the CPU. I went back to 6.1.38 and everything was normal again.
Since then I have tried with all the new 6.1.x kernels (including 6.1.43 I updated today). Same, very high use of the CPU (one of the cores, always 100%) and the compiling issues for the third party modules.
Of course I have changed other packages on my system, but when I observe the problem, I go back and downgrade the kernel ones and the situation improves, so I can confidently say that the only change is the kernel.
Interestingly I have not found any info online about this high CPU issue, and I would be very surprised I am the only one seeing it, so to be honest, I am completely lost here. I am not at all a developer and my programming skills are limited to some scripting, so I have no idea where the problem could come from.
So, has anyone observe something like this? Is this an expected behaviour?
Thanks
//Jesus M
Attached Thumbnails
Immediately I noticed a higher CPU utilization: one of the four cores I have is permanently running at 100%
Also, I had some issues building some third party modules, and after discussion in the proper forums, we saw the problem was that the kernel 6.5 backport seems to go back to 6.1.39, and that broke some pre-checks in the compilation of the modules. The solution to that was easy, just changing:
Code:#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 5))to
Code:#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 39))But it made clear deeper changes had come.
Still, my main concern is the high use of the CPU. I went back to 6.1.38 and everything was normal again.
Since then I have tried with all the new 6.1.x kernels (including 6.1.43 I updated today). Same, very high use of the CPU (one of the cores, always 100%) and the compiling issues for the third party modules.
Of course I have changed other packages on my system, but when I observe the problem, I go back and downgrade the kernel ones and the situation improves, so I can confidently say that the only change is the kernel.
Interestingly I have not found any info online about this high CPU issue, and I would be very surprised I am the only one seeing it, so to be honest, I am completely lost here. I am not at all a developer and my programming skills are limited to some scripting, so I have no idea where the problem could come from.
So, has anyone observe something like this? Is this an expected behaviour?
Thanks
//Jesus M
Attached Thumbnails