system monitor reports double the actual bandwidth

Bug #178399 reported by Tom Musgrove
8
Affects Status Importance Assigned to Milestone
gnome-system-monitor (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

The monitor is showing a downloard rate of 82 kBps the actual is 41 kBps as confirmed with testing from download sites, and it is the speed my ISP is providing...

Gnome System Monitor 2.20.1 for gutsy, is the package - your search tool is busted, so selected 'I don't know'

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, Can you attach a screenshot of the issue? please also provide one using nload, thanks you.

Changed in gnome-system-monitor:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
t.cornall (xerxesdaphat) wrote :

I've got this problem too. Not quite sure what to do with nload, could you describe? Thanks.

I've attached a screenshot showing the difference between what wget is telling me and what System Monitor is telling me.

This problem only cropped up when I moved from normal ethernet connection and rt2x00-based wireless to exclusively using an atheros card. I think the source of it is that the atheros drivers create two interfaces -- wifi0 (sort of a control device) and ath0 (a virtual device). Both of them send and receive data (if only virtually), so System Monitor doesn't know that they're the same device and thus reports roughly double the rate.

tcpstat confirms this, but I think the screenshot attached should show it sufficiently.

Revision history for this message
Tom Musgrove (letterrip) wrote :

Pedro strange your comment didn't give an email but t.cornalls did. Good diagnosis t.cornall - same thing it is an atheros here also.

Revision history for this message
Beber (bertrand-goareguer) wrote :

I've got the same problem.
I'm using an ifb interface for shaping inbound traffic.
The Gnome System Monitor then counts twice the incomming traffic (once on my physical network interface and once again on the ifb interface). The result is that the displayed network load is twice as much as the real network load.

I tried to get into the code and it seems that the interface list is loaded via the ligtop library. This library reads the /proc filesystem and doesn't not make any distinction between interfaces. A fix would perhaps be to modify the Gnome network monitor so that it filters the ifb interfaces out from the list returned by libgtop.

Bertrand

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try on hardy? what is an ifb interface?

Revision history for this message
Beber (bertrand-goareguer) wrote :

I haven't tried on hardy yet (I'll give it a go in the folllowing days).

The ifb interface is not very well documented but it was supposed to be a replacement for IMQ. In fact, I mearly use it to do ingress filtering. It basically consists in a virtual network interface to which you can redirect the incoming traffic.

Revision history for this message
Alfredas Beinartas (fuxialis) wrote :

Same problem for me. I have DSL connection so I'm using pppoe. This way there are two devices (ppp0 and eth0) which have same bandwitch, and amount of data sent/received. In my opinion gnome-system-monitor shows sum of both ( doubles the figures). There should be some option to choose witch device to monitor.

It is nice to have actual figures in system monitor.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

may someone experiencing the bug forward it upstream? i can't reproduce it here. For forwarding instructions please have a look to https://wiki.ubuntu.com/Bugs/Upstream/GNOME ; leaving this as incomplete until that, thanks in advance.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!.

Changed in gnome-system-monitor:
status: Incomplete → Invalid
Revision history for this message
Kevin C (annakevinc) wrote :

I have the same problem in Karmic alpha 2 - please see the attached screenshot

ISP speed is 128 k bits / second = 16 kBytes / second - confirmed by KPackageKit, apt-get install and all other programs, except for System Monitor > Network History

Revision history for this message
Kevin C (annakevinc) wrote :

I'm downloading a CD image in Jaunty and out of interest checked System Monitor > Network History and it shows double the bandwidth that wget shows.

My connection is limited to 16kB and most of the time wget (also apt) shows 14.9 k to 15.8 k.
System monitor shows between 28 k to 32 k, exactly twice the bandwidth.

It seems to be in both Kubuntu Jaunty and Karmic.

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.