Bug 454868 - Provide averaged values across cores for CPU temperatures and clock speeds
Summary: Provide averaged values across cores for CPU temperatures and clock speeds
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 5.24.5
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-05 09:41 UTC by Sergio
Modified: 2022-09-29 13:49 UTC (History)
3 users (show)

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


Attachments
Config window (what should I put here?) (62.53 KB, image/png)
2022-06-07 17:20 UTC, Sergio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio 2022-06-05 09:41:24 UTC
SUMMARY

With respect to CPU information, the system monitor can provide a lot of data on individual cpu cores. However, when you have many cores, seeing the per-core information is cumbersome and it would be nice to be able to see values averaged across cores. For instance, it would be nice to have an average core temperature or an average clock frequency as the older "system load" plasmoid based on ksysguard used to provide.

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.25.4 
KDE Frameworks Version: 5.94.0
Comment 1 Nate Graham 2022-06-06 19:48:19 UTC
You can, it's just not done this way by default. Are you saying you'd prefer it to be done this way by default, or are y okay with manually configuring it this way?
Comment 2 Sergio 2022-06-06 19:58:25 UTC
Nice to hear that you can! It is just not obvious to me how to get a widget in the bottom panel showing me the average of the temperatures across the cores or the average clock speed. I am totally fine configuring it manually, but I'd be grateful if you could provide some hints. Thanks!
Comment 3 Nate Graham 2022-06-07 15:37:08 UTC
This is relatively easy for the Processes page; you click "Configure Columns" and change "Total CPU Usage" to be "Line chart (scaled to 100%).

On the History page with graphs it's more difficult as you will need to click "Edit Page", click on the graph, remove the individual CPU sensors and replace them with a single total averaged CPU sensor
Comment 4 Sergio 2022-06-07 17:17:21 UTC
Sorry, I may be missing something. I have no Processes page or History Page. I would like to have a tiny widget in the bottom panel showing me the CPU temperature and clock frequency. Because these are per-core and because I do not want to have 8 indicators, I would like to have just a couple of little pie diagrams showing the core-averaged clock frequency and core-averaged cpu temp.
Comment 5 Sergio 2022-06-07 17:20:47 UTC
Created attachment 149536 [details]
Config window (what should I put here?)

Here is the configuration window that I have. If I introduce the "group" information, then I get all the core temperature, but the text in the widget reports only the temperature of the first core.
Comment 6 Nate Graham 2022-06-07 17:23:53 UTC
Ah, you're talking about the widgets, not the app. For CPU usage, you should be able to use the "Total CPU Use" widget which averages all the cores.

But I see the problem for temperatures now: there is no "average/ CPU temperature" sensor. Seems reasonable to add one.
Comment 7 Sergio 2022-06-07 17:31:39 UTC
Do not forget the "averaged" clock speed... thanks!
Comment 8 Sergio 2022-06-07 17:47:08 UTC
To give you some more context: I am trying to use the widgets working with the new framework to provide the same kind of info that I was getting with the older "system load view" widget plus the older "thermal monitor" widgets.

- bar or pie diagram with  User/Iowait/System/Nice Cpu usage
- bar or pie diagram with application and buffer memory usage
- bar or pie diagram with Swap memory usage
- bar or pie diagram with dirty cache and writeback memory usage
- Indicator of the CPU temperature

In this regards note that the "System load view" also gives the averaged clock frequency when hovering on it with the mouse and that the thermal monitor provides more thermal sensors than the new framework (e.g. CPU package temp).
Comment 9 Arjen Hiemstra 2022-09-29 13:49:09 UTC
This was added for 5.26: https://invent.kde.org/plasma/ksystemstats/-/merge_requests/21