Fortlaufend dropped packets (br0 / eth0)

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
slu
Beiträge: 2148
Registriert: 23.02.2005 23:58:47

Fortlaufend dropped packets (br0 / eth0)

Beitrag von slu » 18.12.2016 15:16:57

Hallo,

ich nehme gerade eine neue Hardware in Betrieb und mir ist aufgefallen es es immer wieder dropped packets gibt.
Leider finde ich deren Grund nicht, vielleicht hat jemand eine Idee:

Code: Alles auswählen

root@kvm:~# ifconfig
br0       Link encap:Ethernet  Hardware Adresse 0c:c4:xx:xx:xx:xx  
          inet Adresse:10.23.0.44  Bcast:10.23.255.255  Maske:255.255.0.0
          inet6-Adresse: fe80::ec4:____:____:____/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:3516 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1884 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:622597 (608.0 KiB)  TX bytes:436635 (426.4 KiB)

eth0      Link encap:Ethernet  Hardware Adresse 0c:c4:xx:xx:xx:xx  
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metrik:1
          RX packets:3741 errors:0 dropped:37 overruns:0 frame:0
          TX packets:1917 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:690839 (674.6 KiB)  TX bytes:438837 (428.5 KiB)

Code: Alles auswählen

root@kvm:~# ethtool -S eth0 | grep -v 0
NIC statistics:
     rx_bytes: 743636
     tx_bytes: 476126
     rx_pkts_nic: 4239
     rx_bytes_nic: 759514
     lsc_int: 3
     rx_dropped: 44
     multicast: 1111
     fdir_match: 2148
     fdir_miss: 1192
     os2bmc_rx_by_bmc: 12
     os2bmc_tx_by_bmc: 11
     os2bmc_tx_by_host: 12
     os2bmc_rx_by_host: 11
     tx_queue_1_packets: 222
     tx_queue_2_packets: 145
     tx_queue_3_packets: 35
     tx_queue_4_packets: 36
     tx_queue_4_bytes: 2753
     tx_queue_5_packets: 17
     tx_queue_5_bytes: 9143
     tx_queue_12_packets: 13
     tx_queue_13_packets: 24
     tx_queue_14_packets: 7
     tx_queue_14_bytes: 623
     tx_queue_15_packets: 12
     tx_queue_18_packets: 4
     tx_queue_18_bytes: 316
     tx_queue_21_packets: 19
     tx_queue_21_bytes: 1811
     tx_queue_31_packets: 31
     rx_queue_1_packets: 238
     rx_queue_2_packets: 118
     rx_queue_3_packets: 27
     rx_queue_3_bytes: 2714
     rx_queue_4_packets: 31
     rx_queue_4_bytes: 2839
     rx_queue_5_packets: 6
     rx_queue_5_bytes: 1214
     rx_queue_6_packets: 12
     rx_queue_8_packets: 22
     rx_queue_8_bytes: 3161
     rx_queue_9_packets: 6
     rx_queue_9_bytes: 1458
     rx_queue_11_packets: 477
     rx_queue_11_bytes: 44683
     rx_queue_12_packets: 8
     rx_queue_13_packets: 31
     rx_queue_13_bytes: 2357
     rx_queue_14_packets: 2
     rx_queue_14_bytes: 148
     rx_queue_31_packets: 1
root@kvm:~#

Code: Alles auswählen

root@kvm:~# lspci | grep Eth
03:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
03:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
root@kvm:~# uname -a
Linux kvm 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
root@kvm:~# 

Code: Alles auswählen

tcpdump
[...]
105 packets captured
137 packets received by filter
0 packets dropped by kernel
1 packet dropped by interface
Auf dem Switch ist alles Fehlerfrei, irgend eine Idee?
Gruß
slu

Das Server Reinheitsgebot:
Debian Bookworm, sonst nichts.

Stolzer Gewinner der Jessie Release Wette:
https://wiki.debianforum.de/Jessie_Release_Wette#SIEGER

dufty2
Beiträge: 1711
Registriert: 22.12.2013 16:41:16

Re: Fortlaufend dropped packets (br0 / eth0)

Beitrag von dufty2 » 18.12.2016 16:21:42

37 drops sind jetzt nicht viel, allerdings sind jetzt 674.6 KiB RX auch nicht viel ;)

Kabel ok?
Läuft das Teil auf 10 Gig?
$ /sbin/ethtool eth0

Ansonsten vielleicht mal den 4.8er-kernel aus den backports probieren.
Vielleicht klappt es dann mit dem neueren ixgbe-Treiber besser (?)

slu
Beiträge: 2148
Registriert: 23.02.2005 23:58:47

Re: Fortlaufend dropped packets (br0 / eth0)

Beitrag von slu » 18.12.2016 17:30:33

Hab es gefunden, tcpdump hat mich auf die Spur gebracht, es lag am LLDP.
Immer wenn so ein Paket gekommen ist ging auch mein dropped Zähler hoch.

Code: Alles auswählen

tcpdump -i eth0 -s 1500 -XX 'ether proto 0x88cc'
Da ich das auf dem Server eh nicht verwende hab ich es auf dem Switch deaktiviert und schon ist Ruhe.
Gruß
slu

Das Server Reinheitsgebot:
Debian Bookworm, sonst nichts.

Stolzer Gewinner der Jessie Release Wette:
https://wiki.debianforum.de/Jessie_Release_Wette#SIEGER

Antworten