Linux Mint 19 High CPU Usage On 1 Core of 4 FIX POSTED.

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
fosssurfer
Level 1
Level 1
Posts: 5
Joined: Sun Jul 08, 2018 4:15 pm

Linux Mint 19 High CPU Usage On 1 Core of 4 FIX POSTED.

Post by fosssurfer » Sun Jul 08, 2018 4:41 pm

I have a clean new install of Linux Mint 19, only 1 of 4 cores (i7 with 4 additional threads) runs at 92+% all the time (note: only 1 core the rest seem fine).

I upgraded the kernel to the latest but still the same single core at 92+% and Cinnamon at 3 to 10%+ all other cores at normal 1-3% at idle.

I noticed this on previous 18.x kernels exact same problem in 18.2 with the exact same 4.15.0-24-generic or other 4.15x kernels in another partition.

I have another laptop with no nvidia gpu intel cpu and it works fine on both 18.2 and 19 with the same exact kernel and updates applied no high cpu use.

System Info...

Asus laptop with Skylake i7 and Nvidia 965M GPU

Kernel: 4.15.0-24-generic (upgraded via update-manager)

Additional Drivers: nvidia-driver 396 (installed)

Graphics: Card: NVIDIA GM204M [GeForce GTX 965M] bus-ID: 01:00.0
Display Server: x11 (X.Org 1.19.6 ) drivers: nouveau (unloaded: modesetting,fbdev,vesa)
Resolution: 1920x1080@60.02hz, 1920x1080@60.00hz
OpenGL: renderer: NV124 version: 4.3 Mesa 18.0.0-rc5 Direct Render: Yes

tops shows root at 92+% (kworker process) constant and Cinnamon at about 3 to 10%+ constant.

I installed a fresh Linux Mint 19 install off mirrors should be clean.

I have goggled and come across ubuntu forums this trouble shooting tip...

What is kworker? kworker means a Linux kernel process doing "work" (processing system calls). You can have several of them in your process list: kworker/0:1 is the one on your first CPU core, kworker/1:1 the one on your second etc..

Why does kworker hog your CPU? To find out why a kworker is wasting your CPU, you can create CPU backtraces: watch your processor load (with top or something) and in moments of high load through kworker, execute echo l > /proc/sysrq-trigger to create a backtrace. (On Ubuntu, this needs you to login with sudo -s). Do this several times, then watch the backtraces at the end of dmesg output. See what happens frequently in the CPU backtraces, it hopefully points you to the source of your problem.

While the system works fine all Apps run OK having one core at 92% all the time seems abnormal and some type of bug, Any suggestions?
Last edited by fosssurfer on Thu Jul 12, 2018 8:44 pm, edited 8 times in total.

ssspace
Level 2
Level 2
Posts: 63
Joined: Mon Dec 18, 2017 8:44 pm

Re: Linux Mint 19 High CPU Usage

Post by ssspace » Sun Jul 08, 2018 7:03 pm

There's something going on, I'm seeing several users reporting high CPU usage lately:
- viewtopic.php?f=208&t=272367&p=1491071&hilit=cpu+high
- viewtopic.php?f=208&t=272734&hilit=cpu+high

fosssurfer
Level 1
Level 1
Posts: 5
Joined: Sun Jul 08, 2018 4:15 pm

Re: Linux Mint 19 High CPU Usage On 1 Core of 4 Fix Posted

Post by fosssurfer » Thu Jul 12, 2018 8:43 pm

It appears that when you use W+L and Restart Cinnamon the 1 core at 92%+ constant high cpu usage disappears.

I fixed this or it got fixed like this...

1. W+L

2. click the little box (Actions) on the bottom right

3. click Restart-Cinnamon

Note: at this point my system hung with no Cinnamon stayed like that for over 5 minutes so I hit the power button to shut down Off.

CPU usage now in the 10% or less range for 1-2 cores some at 0-1% the way it should be.

I switch back on problem solved! Go figure.

manu4ar
Level 1
Level 1
Posts: 1
Joined: Wed Jul 25, 2018 11:28 pm

Re: Linux Mint 19 High CPU Usage On 1 Core of 4 FIX POSTED.

Post by manu4ar » Wed Jul 25, 2018 11:29 pm

What is W+L?

Post Reply

Return to “Cinnamon”