ksysguardd: Avoid including IO-wait in CPU load.

Review Request #120406 - Created Sept. 28, 2014 and updated

Information
Søren Holm
kde-workspace
4.11
Reviewers
kde-workspace
johnflux

IO-wait is included in the cpu usage. This is wrong since IO-wait is a part of the idle time. This goes for both total combines CPU-usage and the per CPU usage.

Fx. running a read from a slow USB-media like this will always end up showing 25% load on my system (I have 4 cores)

dd if=/dev/sdb of=/dev/null bs=1M

This end up being around 0% with my patch.

Milian Wolff
Martin Flöser
Søren Holm
Review request changed

People:

+johnflux
Loading...