Bug 374149

Summary: System Load Viewer eats CPU
Product: [Plasma] plasmashell Reporter: Christian Muehlhaeuser <muesli>
Component: System Monitor widgetsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: dhaumann, kishore96, nate, notuxius
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christian Muehlhaeuser 2016-12-25 18:59:31 UTC
Adding the System Load Viewer widget (circular mode) to my desktop makes plasmashell spike up to constantly eat between 12.5 and 25% of my CPU. Removing it, plasmashell behaves fine. This is reproducible on multiple systems.
Comment 1 Kishore Gopalakrishnan 2016-12-26 16:04:55 UTC
(In reply to Christian Muehlhaeuser from comment #0)
> Adding the System Load Viewer widget (circular mode) to my desktop makes
> plasmashell spike up to constantly eat between 12.5 and 25% of my CPU.
> Removing it, plasmashell behaves fine. This is reproducible on multiple
> systems.

Could not reproduce on Arch linux with plasma 5.8.4, even with the update interval set to 0.1 s (lowest possible). What distribution is this occurring on?
Comment 2 Christian Muehlhaeuser 2016-12-26 18:12:37 UTC
Same distro and version as you got: Arch Linux, latest Plasma packages.
Comment 3 Dominik Haumann 2017-02-05 13:54:53 UTC
@Christian: What's the update interval set to? By default, this is 2 seconds. If you set it to e.g. 500 ms, this may increase CPU, but it shouldn't be that much.

What CPU do you have? How fast is it?
Comment 4 Christian Muehlhaeuser 2017-02-05 14:10:52 UTC
Kept it at the default of 2 seconds. Happening on both a Skylake i7 and a Phenom X6.
Comment 5 Alexander Mentyu 2018-02-20 11:13:37 UTC
Can't reproduce this issue on mobile i7 4600U CPU 

Plasma: 5.12.1
Apps: 17.12.2
Frameworks: 5.43.0
Qt: 5.10.1
Kernel: 4.14.20-2-MANJARO
OS: Netrunner Rolling
Comment 6 Nate Graham 2020-01-13 13:48:22 UTC
Also cannot reproduce, this time with git master. Please re-open if it happens again in Plasma 5.18.