tcp 丢包分析
网卡丢包:
ethtool -S enp65s0np0 | grep -v ": 0" | grep -i err
rx_err_lane_0_phy: 8903968
rx_err_lane_1_phy: 4966332
rx_err_lane_2_phy: 8617141
rx_err_lane_3_phy: 3389624
ethtool -S enp65s0np0 | grep -v ": 0" | grep -i drop
ethtool -S enp65s0np0 | grep -v ": 0" | grep -i out
rx_out_of_buffer: 5754794
outbound_pci_stalled_wr: 2
outbound_pci_stalled_rd_events: 3
outbound_pci_stalled_wr_events: 195
ethtool -S enp65s0np0 | grep -v ": 0" | grep -i discard
rx_discards_phy: 82701994
rx_prio0_discards: 82701994
ethtool -S enp65s0np0 | grep -v ": 0" | grep -i pause
tx_pause_ctrl_phy: 4972302
tx_global_pause: 4972302
tx_global_pause_duration: 248784369
网卡驱动丢包:
ifconfig enp65s0np0
enp65s0np0: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST> mtu 1500
ether cc:40:f3:97:2e:9c txqueuelen 1000 (Ethernet)
RX packets 140579183255 bytes 198917938320559 (180.9 TiB)
RX errors 0 dropped 5754796 overruns 0 frame 0
TX packets 84004722862 bytes 110666821867388 (100.6 TiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
内核丢包:
nettrace-1.2.11-1.tl3.aarch64