hardware-monitor cpu monitoring should not include iowait

Bug #81599 reported by Christof Krüger
2
Affects Status Importance Assigned to Milestone
hardware-monitor (Ubuntu)
Fix Released
Undecided
StefanPotyra

Bug Description

Binary package hint: hardware-monitor

After booting my machine, updatedb is usually started by anacron and the hardware-monitor shows 100% cpu load for some time. Inexperienced users who don't know what updatedb is may be surprised and concerned why their CPUs stay at 100% load minutes after booting has completed.

Therefore, my suggestion is that hardware-monitor should also substract iowait from the total cpu load because of iowait not being actual cpu load. The cpu can yield cycles to other processes while waiting for the IO to complete.

The cpu-monitor in the hardware-monitor applet currently computes the cpu load by substracting "nice" and "idle" loads from "total" cpu load reported by libgtop.

Revision history for this message
Christof Krüger (christofkr) wrote :

Here is a patch that changes the behaviour as described above. I've also sent the patch to the author (he didn't answer yet)

Revision history for this message
Christof Krüger (christofkr) wrote :

The author of hardware-monitor told me that he has commited the patch to his sources, fixing the issue for the next release.

Therefore, this bug can be closed now (with either adding this patch to the ubuntu package already, or waiting for the next hardware-monitor to come).

Changed in hardware-monitor:
status: Unconfirmed → Fix Committed
Revision history for this message
StefanPotyra (sistpoty) wrote :

Just trying the patch, will upload in a few minutes if everything works fine.

Changed in hardware-monitor:
assignee: nobody → sistpoty
Revision history for this message
StefanPotyra (sistpoty) wrote :

uploaded.

Format: 1.7
Date: Fri, 9 Mar 2007 19:55:16 +0100
Source: hardware-monitor
Binary: hardware-monitor
Architecture: source
Version: 1.4-0ubuntu2
Distribution: feisty
Urgency: low
Maintainer: Ubuntu MOTU Developers <email address hidden>
Changed-By: Stefan Potyra <email address hidden>
Description:
 hardware-monitor - Monitor applet for the Gnome panel
Changes:
 hardware-monitor (1.4-0ubuntu2) feisty; urgency=low
 .
   * Applied patch from Christof Krüger to not count iowait as cpu
     load (closes: lp#81599).
   * Update maintainer field.
Files:
 c5a78fef2e943e9e97f2b6a7abde7620 844 gnome optional hardware-monitor_1.4-0ubuntu2.dsc
 aadf87a677f5963df5e463195481a260 4328 gnome optional hardware-monitor_1.4-0ubuntu2.diff.gz
Original-Maintainer: Sven Luther <email address hidden>

StefanPotyra (sistpoty)
Changed in hardware-monitor:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.