Skip to content

High CPU usage even when "nothing" is running.

I realized that my notebook (Dell Inspiron 5490) is getting really hot with simple tasks like using the browser and vscode, so I opened htop and it shows 60% - 70% of CPU usage when there is no apps running, and when there is something running, it starts to get slow because I assume it decreases the CPU clock to keep the temperature "low". Can someone help me with this? Is it a possible problem with Linux / Arch?

​

Kernel: 5.4.27 LTS

DE: KDE Plasma

CPU: Intel Core i5 10210U

GPU: Intel UHD Graphics

RAM: 8GB

​

Tell me which commands should I run to give you more information (I'm kinda new to Arch / Linux).

2 points17 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
foz901

Author

10
posts
75
comments
1
media
View profile

17 comments

unknown author6 hidden

Deleted before we saved it.

3 points

I executed top and the top 5 processes are:

1 - Zoom 80 to 90 of usage (I use for video conference, and it just makes my PC extremely slow)

2 - kwin_x11 30 to 35 of usage

3 - xorg around 25 of usage

4 - pulseaudio around 20 of usage

5 - Slack or brave around 15 to 18 of usage

I realized that there are like 5 processes named "kde-open5" that are 5 to 15 of CPU usage each.

I checked htop again running Zoom and my CPU is almost at 100%.

It is really weird, simple apps like these using so much CPU, do you have any idea why?

1 points

Zoom and pulseaudio are CPU hogs on my system as well. Some of the xorg and kwin usage may be attributed to poor resource management by those applications as well. Not sure if there is any kind of "cure" for this - I just close Zoom (including the applet) whenever I don't need it.

3 points

Zoom is just garbage and will be causing kwin, xorg, and pulse to spike as well.

There's no workaround, don't use zoom.

1 points

Im wondering if its not a firmware issue( it is a fairly new machine). I had a very similar issue on my Thinkpad T480s i5-8350u ( although it effected a ton of other models as well). From what i read people were saying (and lenovo confirmed even though the machine was on the linux certified list) that that way the bios was reporting power/tmp changed or was wrong etc. windows auto installed a driver to handle it but on linux it was messing with thermals and causing peoples machine to throttle at much lower temps then spec.

theres a script on github https://github.com/erpalma/throttled that fixes the issue in a sort of hacky way but it works.

​

im not saying thats whats going on with your machine but it might be another avenue to research.

​

edit : also did you install the intel-ucode package to get the latest microcode ?

2 points

I'll take a look into this script to see if it suits me. Thank you very much.

And yes, I actually did install that. I followed a guide on yt and the guy said to install it.

1 points

Why are you on such an outdated kernel?

1 points

Not necessarily outdated, the LTS kernel still receives updates it's just not bleeding edge

3 points

Just because of your comment I actually booted using kernel 5.5.11, and apparently the CPU usage is way lower. I still have to test on a daily basis to make sure it is indeed the kernel causing this problem. But either way, I already wanted to use the bleeding edge kernel, I wasn't using before because as I said, the audio doesn't work fore some reason. So basically I have to solve a problem to solve another problem. Should I create another post asking for help on the audio thing, or you can help me here? (Of course, if you want too).

1 points

Because my audio card doesn't get recognized on the most recent one, I actually made a post on r/linuxquestions I try to run 5.5.11 but it only shows "Dummy output" on audio. (If you could help me with that too I would be thankful because I got no solutions for that as well).

1 points

if pulseaudio is consuming cpu then almost certainly something is recording and/or playing audio. it may be silent zero signal audio... but it's likely done one or both. pulse's job is tor route and mix and resample audio from apps to the correct sound card/device/output (.e.g reroute from on-board audio device to bt headset then back when needed without apps knowing). devices may be running at different samplerates to the apps so pulse may be resampling e.g. from 44.1 to 48 khz or vice-versa. it may be mixing multiple inputs into a single stream. pulse is the audio equivalent to your x+wm+compositor for display.

xorg and kwin are your display and input pipeline. these are using cpu almost certainly because either some input is coming in all the time (sometimes some devices like a mouse may have a dirty or faulty sensor and keep producing input events wobbling some mouse pointer by 1pixel or so all the time. a cat having a good lie-down on your keyboard will do this too with key-repeat... but much more likely is something keeps rendering something and when it renders xorg has to get the results/instructions then kwin is told about updates and it composites them then sends the results back to xorg to display on your actual screen. kill apps (slack, zoom) and see when the cpu usage drops a lot on xorg/kwin/pulse and you narrow down at least to the source of your problems. it could also not be rendering but just an app continually positioning an invisible window and this involves messages going back and forth from app to xorg and then maybe to kwin and back again etc.

so kill off suspect processes like zoom, slack, brave etc. until things get better. it does look like zoom is a problem for you though.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.