Bring KSysGuard back as Plasma System Monitor is slow and resource hungry

System Monitor uses too much system resources for an app that should be able to diagnose system resources usage.

My main use case for opening System Monitor is to identify which process is a resource hogger, when my system is running low on memory. It is not acceptable that now System Monitor itself uses significant amount of memory, often preventing me to open it at all without risking kernel to kill other process first (e.g. Firefox, Code). Now, I need to use htop to do so.

The following screenshot is also quite illustrative…

Ksysguard in comparison was much leaner on resources and in general also felt much more responsive.

I sincerely do not understand why one gave up on writing efficient native GUIs and uses dependencies on fancy libraries like Kirigami, which still feel very sluggish and slow. As if there was nothing between cli and web.

1 Like

Something is definitely weird if you’re seeing 4% cpu use and nearly 200MiB of memory use. My own instance is hovering around 0.3 - 0.5% cpu use and less than 150MiB of memory use. Looking at the details section there are only two processes running under systemmonitor on my own instance. plasma-systemmonitor and ksgrd_network_helper

Highlight System Monitor, click the ellipsis button beside Configure Columns and select Show Details Sidebar. At the bottom under processes it will list what is currently running under system monitoring.

I also noticed that Dolphin uses noticeably more resources than in your case, so I thought it could be linked to 4K monitor with fractional scaling, but even changing to internal 1080p display with no scaling does not change this.

On a side note, Firefox processes are wrongly grouped as background processes.

I have a 4K monitor with fractional scaling, but I don’t see usages like yours ever with System Monitor.

The Firefox grouped as background processes thing is peculiar too.. what’s your kinfo output? Mine is (stripped some of the lines):

Operating System: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.3-arch2-1 (64-bit)
Graphics Platform: Wayland

Mine uses 130-230 mb of ram depending on if I have added sensors to the overview, removed them etc. It uses anywhere from ~1.3% to ~5-7% but 2-3% seems the average at the moment.

But I have a 2017 i5-7500T with 4 cores, and is the 35 watt version.

On my laptop with s 2021(?) i5-1135G7 with 8 cores, the monitor barely ever seems to sip the cpu. Haven’t seen it above 0.5%, and often at 0.1%, with almost identical ram usage.

So I will guess the CPU has something to do with it.

On this system:

Operating System: openSUSE Leap 16.0
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.12.0-160000.5-default (64-bit)
Graphics Platform: Wayland
Processors: 8 Ă— AMD Ryzen 5 3400G with Radeon Vega Graphics
Memory: 32 GiB of RAM (29.3 GiB usable)
Graphics Processor: AMD Radeon Vega 11 Graphics
Manufacturer: ASUS

Plasma System Monitor is behaving as follows:


Your mileage may vary … :smiling_face_with_horns:

This statement is blatantly false. Nothing makes Kirigami worse or slow for GUI. In some cases it is even faster than QtWidgets as it uses modern subsytems and properly utilises resources like the GPU. Stop blaming the UI library when the problem is definitely somewhere else.

1 Like

Well, it is freshly updated neon with KDE 6.4.5 with default configuration of Plasma System Monitor.

Unfortunately, the old ksysguard is not installable, but here is a comparison to GNOME System Monitor.

Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.14.0-33-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor 1: Intel® UHD Graphics
Graphics Processor 2: Quadro P520
Manufacturer: HP
Product Name: HP ZBook Firefly 14 G7 Mobile Workstation
System Version: SBKPF

Sorry for my frustration, but …

… every time I hear modern subsystems, I know the performance will drop in most cases.

Regardless of the issue. KSysGuard is not coming back anytime soon. The whole reason it was dropped is that no one wants to maintain it anymore. Feel free to try it yourself if you like. Instead, I would recommend helping us figure out why plasma system monitor is consuming so much resources when it shouldn’t.

I reset my System Monitor and all pages back to stock - I had added an extra page, as well as tweaked the overview on my PC.

The PC:
Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.14.0-33-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7500T CPU @ 2.70GHz
Graphics Processor: Intel® HD Graphics 630
2

Now the laptop, completely stock monitor:
Same exact OS specs, a mostly stock and recent install.
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Graphics Processor: Intel® Iris® Xe Graphics
Screenshot_20251021_164254

These are approximate middle grounds, the most common percentages after a minute or so of observation.

Interesting that the ram usage is essentially identical, and the CPU usage is very much different. Would the beefier graphics on the laptop vs the PC be a factor?

On Arch and Arch based distributions, from the AUR it is available, I use it still.

1 Like

Even when I remove all other tabs than Processes, the CPU usage won’t go below 1,5%, which is twice as more as GNOME System Monitor.

There also seems there is a general disagreement of what the intended role of the new system monitor is over the old one:

https://www.reddit.com/r/kde/comments/17f12bq/comment/kywhpf8/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

1 Like