Bug 458306 - ksysguardd reported unrealistic value for one of the cpu/cpu,*/TotalLoad sensors
Summary: ksysguardd reported unrealistic value for one of the cpu/cpu,*/TotalLoad sensors
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ksysguard
Classification: Unmaintained
Component: ksysguardd (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-25 17:27 UTC by Alex Kh
Modified: 2024-09-23 20:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (153.26 KB, image/png)
2022-08-25 17:27 UTC, Alex Kh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Kh 2022-08-25 17:27:30 UTC
Created attachment 151588 [details]
screenshot

SUMMARY
On some rare occasions gsysguard receives some very high value for CPU utilization for one of the CPU cores. That value exceeds what it can be in real life. If user has a plot, where he prints together all the CPUs utilization together, this  sudden spike makes the plot to dynamically change its scale, which in turn makes further readings from the plot impossible, until the spike goes away into history and plot scale returns back to normal on its own.

See screenshot please - the insane high value came from gsysguardd was  3e+19%

IMHO, for the sensors/metrics we know the physical limit (like this one - total load for CPU cannot physically exceed 100%) there should be some simple protection in place, like to report the MAX value when the sensor' readings ksysguardd gets is unreliable. Freezing the scale on front end side is the workaround off course, but you discover this option only after this bug plays a trick on you :) 

SOFTWARE/OS VERSIONS
System monitor version 5.20.5 
KDE Frameworks 5.78.0
Qt 5.15.2 (built against 5.15.2)
The xcb windowing system
ksysguard 4:5.20.5-2 arm64
ksysguardd 4:5.20.5-2 arm64
CPU is ARM RockChip RK3399
Linux kernel 5.18.5-rk3399
Comment 1 Christoph Cullmann 2024-09-23 20:59:42 UTC
ksysguard is no longer maintained, in Plasma 6 there is the Plasma system monitor for this task.

If your issue still happens with the Plasma 6 replacement, please re-open and we can move this bug to the new product, thanks!