Hello, I have a problem with dropped packets
and there is 46k packets dropped in 22hours.
all NICs are virtio / proxmox 3.2
I have found http://sysadmin-notepad.blogspot.com/2013/06/dropped-rx-packets-in-ifconfig.html where is written to increase buffers on NIC I have checked
the vm has 5 NICs and anly 2 of them has dropped packets
and there is no possibility to increase
checking same in hypervisor
then checking vmbr the same
then checking physical nic's
so how can I cope with such problem - this particular VM is a BGP router and dropping packets isn't nice.
on physical interfaces are no drops at all
does anybody has an idea what do do with such situation? I do not have clean mashine for BGP router.
Code:
# ifconfig -a eth0
eth0 Link encap:Ethernet HWaddr 4e:4e:60:d8:2f:bd
inet addr:91.XXX.XX.X Bcast:91.XXX.XX.XX Mask:255.255.255.192
inet6 addr: fe80::4c4e:60ff:fed8:2fbd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:115947938 errors:0 dropped:46047 overruns:0 frame:0
TX packets:128316276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:80885992018 (80.8 GB) TX bytes:144612371347 (144.6 GB)
and there is 46k packets dropped in 22hours.
all NICs are virtio / proxmox 3.2
I have found http://sysadmin-notepad.blogspot.com/2013/06/dropped-rx-packets-in-ifconfig.html where is written to increase buffers on NIC I have checked
the vm has 5 NICs and anly 2 of them has dropped packets
Code:
# ethtool -g eth0Ring parameters for eth0:
Pre-set maximums:
RX: 256
RX Mini: 0
RX Jumbo: 0
TX: 256
Current hardware settings:
RX: 256
RX Mini: 0
RX Jumbo: 0
TX: 256
and there is no possibility to increase
Code:
# ethtool -G eth0 rx 512
Cannot set device ring parameters: Operation not supported
checking same in hypervisor
Code:
# ethtool -g tap200i0Ring parameters for tap200i0:
Cannot get device ring settings: Operation not supported
then checking vmbr the same
Code:
# ethtool -g vmbr1v795Ring parameters for vmbr1v795:
Cannot get device ring settings: Operation not supported
then checking physical nic's
Code:
root@proxmox-100:~# ethtool -g eth0Ring parameters for eth0:
Pre-set maximums:
RX: 2047
RX Mini: 0
RX Jumbo: 0
TX: 511
Current hardware settings:
RX: 200
RX Mini: 0
RX Jumbo: 0
TX: 511
root@proxmox-100:~# ethtool -g eth1
Ring parameters for eth1:
Pre-set maximums:
RX: 2047
RX Mini: 0
RX Jumbo: 0
TX: 511
Current hardware settings:
RX: 200
RX Mini: 0
RX Jumbo: 0
TX: 511
root@proxmox-100:~# ethtool -g eth2
Ring parameters for eth2:
Pre-set maximums:
RX: 4096
RX Mini: 0
RX Jumbo: 0
TX: 4096
Current hardware settings:
RX: 512
RX Mini: 0
RX Jumbo: 0
TX: 512
root@proxmox-100:~# ethtool -g eth3
Ring parameters for eth3:
Pre-set maximums:
RX: 4096
RX Mini: 0
RX Jumbo: 0
TX: 4096
Current hardware settings:
RX: 512
RX Mini: 0
RX Jumbo: 0
TX: 512
so how can I cope with such problem - this particular VM is a BGP router and dropping packets isn't nice.
on physical interfaces are no drops at all
Code:
root@proxmox-100:~# ifconfig -a eth0eth0 Link encap:Ethernet HWaddr 90:b1:1c:54:4c:14
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:9228283 errors:0 dropped:0 overruns:0 frame:0
TX packets:853415 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10820072562 (10.0 GiB) TX bytes:234458292 (223.5 MiB)
Interrupt:16
root@proxmox-100:~# ifconfig -a eth1
eth1 Link encap:Ethernet HWaddr 90:b1:1c:54:4c:14
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
root@proxmox-100:~# ifconfig -a eth2
eth2 Link encap:Ethernet HWaddr a0:36:9f:24:79:9c
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@proxmox-100:~# ifconfig -a eth3
eth3 Link encap:Ethernet HWaddr a0:36:9f:24:79:9e
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:297256700 errors:0 dropped:0 overruns:0 frame:0
TX packets:296270212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:240205247376 (223.7 GiB) TX bytes:240367474132 (223.8 GiB)
does anybody has an idea what do do with such situation? I do not have clean mashine for BGP router.