Add a cache monitor to the System Load Viewer applet
Review Request #129917 - Created Feb. 4, 2017 and submitted
Add a cache monitor to the System Load Viewer applet using 'cache/dirty' and 'cache/writeback' infos from ksysguard 5.9.0
The monitor displays the dirty + writeback amount proportionaly scaled with the maximal amount reached, until the remaining dirty amount goes below a minimal threshold of 10MB.
An interesting usecase is to show the real progress of a datas transfer to a slow storage device like a USB drive.
I use it since several months without issue.
Essentially, the idea is good I think. Just tested this patch, and what I get looks like this: https://ibin.co/3BLqYW18K8p4.png
In the "Compact Bar" mode, there are two bars for the cache monitors, and the right one paints over the clock.
Is it maybe that you wanted hals the width in compact bar mode? This certainly needs to be fixed in any case.
fix applet width when using the 'CPUs separately' option
Revision 2 (+121 -6)
Looks good to me, would be nice to have another review by plasma developers. Can you commit yourself?
Btw, this is unrelated, but maybe you are motivated to look into the bug list of the System Load Viewer applet:
Could you please add screenshots of the new feature? This is important for us to review the visual impact your patch has. Thanks already for your work on this! I think it's a useful addition.
disabling the cache monitor by default
Revision 3 (+121 -6)