https://bugs.kde.org/show_bug.cgi?id=435477
Bug ID: 435477 Summary: High polling rates misreport CPU usage as 0% with spikes Product: ksysguard Version: 5.21.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: ksysguard Assignee: ksysguard-b...@kde.org Reporter: zgoethe...@gmail.com CC: plasma-b...@kde.org Target Milestone: --- Created attachment 137411 --> https://bugs.kde.org/attachment.cgi?id=137411&action=edit Comparing the KSysGuard output to htop, which shows the expected CPU usage. SUMMARY When the "System Load" tab has a polling rate any faster than 0.5s, CPU load reports as 0% with occasional spikes. Running a system stress results in occasional spikes of 100%. The graph draws correctly if the window is rapidly resized. https://www.youtube.com/watch?v=bkeOvN3hOH0 STEPS TO REPRODUCE 1. Use KDE Plasma/Arch kernel 5.12rc 2. Run all-core stress test 3. Set "System Load" tab to refresh every 0.01s OBSERVED RESULT CPU usage is reported as 0% with occasional momentary spikes to 100%. EXPECTED RESULT CPU usage should be pegged at 100% as reported in htop. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.12.3 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION Kernel 5.12.rc.d0314.g1e28eed-1 AMD Radeon RX 570 4GB Compositor in OpenGL mode -- You are receiving this mail because: You are watching all bug changes.