linuxmint / cinnamon-spices-desklets

Desklets for the Cinnamon desktop
http://cinnamon-spices.linuxmint.com
GNU General Public License v2.0
152 stars 163 forks source link

simple-system-monitor@ariel: Upload Rate Incorrect #1292

Open EricTurnerDev opened 1 month ago

EricTurnerDev commented 1 month ago

Desklet version/Build date

1.3.1

Cinnamon version

6.0.4

Distribution

Mint 21.3

Graphics hardware and driver used

NVIDIA GeForce RTX 3060

Desklet name and maintainer

simple-system-monitor@ariel @arielandrade

What happened?

Upload rate is the same as the download rate. I'm not uploading anything, but I'm downloading a file (through a Docker container). I expect the upload rate to be much lower (i.e. different) than the download rate, but it's exactly the same as the download rate.

Other information

Here is a screenshot:

image

rcalixte commented 1 month ago

@EricTurnerDev Do you know which interfaces are in use here? It is very likely that there are interfaces being included as the traffic is passed over them. The default loopback adapter should be excluded but if there is another virtual interface being counted here that should be excluded, it would be good to know and possibly make the resolution here that much more trivial.

EricTurnerDev commented 1 month ago

I don't see any General Settings or Advanced Settings that let me see or choose which interfaces are being used.

These are the network interfaces available:

$ /sbin/ifconfig -s
Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
br-18067  1500        0      0      0 0             0      0      0      0 BMU
br-700a4  1500 32353530      0      0 0      65954197      0      0      0 BMRU
br-92740  1500        0      0      0 0             0      0      0      0 BMU
docker0   1500        0      0      0 0            13      0      0      0 BMU
enp4s0    1500 1298713309      0     18 0      1594848834      0      0      0 BMRU
lo       65536  9508193      0      0 0       9508193      0      0      0 LRU
veth8955  1500 32353558      0      0 0      65954276      0      0      0 BMRU
virbr0    1500    35591      0      0 0         63614      0      0      0 BMU
rcalixte commented 1 month ago

There's both bridged interfaces and virtual interfaces that are taking traffic. I have to assume it's at least one if not both of those skewing things.

EricTurnerDev commented 1 month ago

It would be nice to be able to select which interfaces affect the rates, like the download-and-upload-speed@cardsurf applet does.

rcalixte commented 1 month ago

It would be nice to be able to select which interfaces affect the rates, like the download-and-upload-speed@cardsurf applet does.

Right, it's on my list of things to refactor for this desklet.