#641590 bwm-ng: Miscalculation with default 0.5s timeout

Package:
bwm-ng
Source:
bwm-ng
Description:
small and simple console-based bandwidth monitor
Submitter:
"Nelson A. de Oliveira"
Date:
2015-08-04 19:03:11 UTC
Severity:
normal
#641590#5
Date:
2011-09-14 14:14:08 UTC
From:
To:
Hi!

There is one annoying thing with bwm-ng: it shows the wrong bandwidth
with its default 0.500s timeout (see:
http://people.debian.org/~naoliv/misc/bwm-ng.ogv)

When playing the video see that the default timeout is 0.500s. Note
that it keeps switching between 0 KB/s and ~1700 KB/s (this value is twice
the real bandwidth usage)
When increasing the timeout to 1s it displays the correct bandwidth.

Thank you!

Best regards,
Nelson

#641590#10
Date:
2015-08-04 18:58:51 UTC
From:
To:
Hi,

this issue is probably related to the kernel interface driver. I noticed
this with some drivers which update the values only once in a second.
Therefore i don't see a chance to fix this in bwm-ng unless changing the
timeout to 1s

Regards Volker