Package: iftop
Version: 1.0~pre4-6
Severity: normal

The way iftop calibrates its linear scale, it seems to often make the
scale much wider than the actual available network bandwidth, leading to
bar graphs that are quite narrow, often 1 character wide or 0 characters
wide, for network connections that are pushing relatively a lot of
traffic. This makes it not very useful to spotting at a glance what is
eating bandwidth.

I generally press L to switch to log scale, which avoids the problem,
showing big wide bars.

For example, I've started iftop when the network is nearly completely
idle. It picked a scale 1KB-8KB, which is fine. Then I started a
download, which ran at 300-615KB/s. This causes the scale to change to
2MB-12MB. Since my wifi connection happens to be limited to around
1MB/s, this guarantees bars will never be more than a few characters
wide.

Here's how that displays after downloading for several minutes:

                2.38MB          4.77MB           7.15MB          9.54MB     
11.9MB
└───────────────┴───────────────┴────────────────┴───────────────┴────────────────
darkstar.kitenet.:51000 => kitenet.net:ssh          849KB  6.87KB  5.68KB  
5.95KB
###                     <=                         57.7MB   478KB   381KB   
410KB
──────────────────────────────────────────────────────────────────────────────────
TX:             cum:   1.10MB   peak:   9.33KB    rates:   7.07KB  4.95KB  
6.71KB
RX:                    72.0MB            648KB              466KB   325KB   
457KB
TOTAL:                 73.1MB            657KB              473KB   330KB   
463KB

("RX:" is highlighted and I've marked the top highlight using "###".)

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_USER, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages iftop depends on:
ii  libc6        2.28-6
ii  libncurses6  6.1+20181013-1
ii  libpcap0.8   1.8.1-6
ii  libtinfo6    6.1+20181013-1

iftop recommends no packages.

iftop suggests no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: PGP signature

Reply via email to