https://bugs.kde.org/show_bug.cgi?id=434989
Bug ID: 434989 Summary: Memory and Swap History plot does not consider Shared Memory Product: ksysguard Version: 5.18.4 Platform: Kubuntu Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: ksysguard Assignee: ksysguard-b...@kde.org Reporter: sanchezt...@gmail.com CC: plasma-b...@kde.org Target Milestone: --- Created attachment 137092 --> https://bugs.kde.org/attachment.cgi?id=137092&action=edit Memory and Swap History plot (which is bugged) SUMMARY "Memory" line in the "Memory and Swap History" plot in the "System Load" tab does not show actual allocated memory but only Application memory. Which I think is misleading to someone who wants to know how much memory is available. I've created a separate tab with both Application Memory and Allocated Memory for comparison STEPS TO REPRODUCE 1. run shared-memory-test.py (needs pytorch) 2. download it into a directory and "cd" into it 3. run "python3 -m venv venv; source venv/bin/activate, pip install torch==1.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html" 4. run "python shared-memory-test.py" OBSERVED RESULT Check the Memory and Swap History Plot, it will show it decreases when actually the process moved a huge array into shared memory. I'm attaching screenshots of what I see, both in my custom plot and the default one. EXPECTED RESULT The Memory and Swap History plot should not show any decrease in ram usage at all, since it's misleading. SOFTWARE/OS VERSIONS Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 Kernel Version: 5.4.0-70-generic OS Type: 64-bit Processors: 8 × Intel® Core™ i7-3770K CPU @ 3.50GHz Memory: 31.3 GiB of RAM ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.