Bug 482167

Summary: Default refresh interval is too fast
Product: [Applications] plasma-systemmonitor Reporter: Thiago Sueto <herzenschein>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: ASSIGNED ---    
Severity: normal CC: ahiemstra, aspotashev, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thiago Sueto 2024-03-01 15:39:44 UTC
I'd like a more reasonable refresh interval for plasma-systemmonitor. Currently it updates at about half a second or less. Or as the "Minimum time between updates" setting says: "No limit".

Fast graphical refresh intervals are a well known way to get an application to use too much CPU, and this issue becomes even worse in conjunction with https://bugs.kde.org/show_bug.cgi?id=429152 (Graphs can consume excessive CPU resources on platforms with weak Intel GPUs and high-resolution displays).

A system monitor should be lightweight and quick to process, and thus reliable when the machine is under stress, it shouldn't be using as many hardware resources as it does.

The default should be something more reasonable, probably something between the range of 1s to 2s.

1.5s is probably the best compromise.
Comment 1 Nate Graham 2024-03-01 21:23:52 UTC
I would tend to agree.
Comment 2 Bug Janitor Service 2024-04-03 01:42:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/281