Summary: | Ksysguard should use "MemAvailable" to correctly report application memory usage | ||
---|---|---|---|
Product: | [Unmaintained] ksysguard | Reporter: | Terry Barnaby <terry> |
Component: | ksysguard | Assignee: | KSysGuard Developers <ksysguard-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | albin.e.engstrom, bugseforuns, kde, kde, kishore96, lukebenes |
Priority: | NOR | ||
Version: | 5.6.4 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Initial idea for a patch |
Description
Terry Barnaby
2016-06-16 15:13:58 UTC
Created attachment 99533 [details]
Initial idea for a patch
This patches ksysguard so that the application memory usage is calculated better. It may be wrong/have issues and other KDE code (System Load) may also need changing. It is supplied as an example of what I think needs to be done, but it will likely need more work.
This is a valid problem. Linux kernel >= 3.14 provides a "MemAvailable" field in /proc/meminfo[1] which gives the estimated amount of memory available for applications. The patch needs some work. Take a look at how libgtop added support[2]. [1] https://github.com/torvalds/linux/commit/34e431b0ae398fc54ea69ff85ec700722c9da773 [2] https://gitlab.gnome.org/GNOME/libgtop/commit/0580b2fb2ca8fdde2031c8aba991bafac64d8dbd John, Could you please take a look at this patch? Could you put patches on phabricator? They tend to get lost otherwise. 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! |