-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Not a Bug
-
Affects Version/s: 22.0.1
-
Fix Version/s: None
-
Component/s: inets
-
Labels:None
Packet counts reported by distribution link are either too low or too high.
For example, the network interface reports ~3kpps TX in total, but send_cnt via erlang:port_info/2 reports 0.4pps (7500x fewer pps).
On the same host, the network interface reports ~3kpps RX, but recv_cnt reports 16kpps (5x more).
Furthermore, if send_cnt is 0.4pps how can send_bytes be 100MB/s ? A TCP packet cannot exceed 64K in Linux, and according to recv_cnt / recv_bytes received packets do not exceed 1.5KB (the Ethernet MTU site), but sent packets exceed 150MB...
I've attached the relevant metrics screenshots. Will package the entire setup in Docker Compose and share so that you can reproduce locally.