I have a similar problem http://forum.mikrotik.com/viewtopic.php?f=1&t=49153Thank you, you are fast.
Maybe it is good idea to try to fix this 7 and 4 irq conflicts to avoid rx drops and other problems ?
I have an 8 core systemYou need to make irqs and cores balance and then you will not have this problem in v5
If you have more lanes (pci-e) per one ethernet that is the better and you can setup it so packet drops will never appear.
on some routers (X86 with mikrotik) i change IRQ mapping (try to play whith it), this decrease RX drops or stop count RX drop.martini, keep up the good work and troubleshooting on this issue. I see the same problems even on dual core boxes - lots of RX drops even though the hardware isnt loaded. Im wondering if its just poor kernel parameter tuning in ROS or something.
it would be nice to classify those drops, like in big switches 'VLAN Drop', 'CRC Drop', etc... MikroTik? =)3) if you receive a packet (not bridged trough) with VLAN tag that you do not know anything about those packets also will be captured by Rx drops
What about Tx Drops ?About RX drops with some additional testing i got to conclusion that
Rx Drops shows all the packets that Router can't handle:
1) if you disable ipv6 package all IPv6 packets directed to the router (not bridged trough) will be captured by Rx drops
2) if you enable sniffer - there will be no Rx drops at all, cause all packets now will be handled by sniffer
3) if you receive a packet (not bridged trough) with VLAN tag that you do not know anything about those packets also will be captured by Rx drops
I haven't tested multicast, but i imagine picture is the same.
So bottom line - there are no need to worry about Rx Drops - it is just another way to see how much useless traffic comes to your Router
OMG that was 5 years old post
What about Tx Drops ?
OMG that was 5 years old post
What about Tx Drops ?
TX drop is much more rare, imagine you have 1Gbps and 100Mbps interfaces on your router and you are trying to receive 200Mbps on Gbps interface and send it out on 100Mbps interface, 1Gpbs will have no problem receiving 200Mbps, and at that point in time it is unknown where this traffic will be directed. As outgoing interface can handle only 100Mbps, rest will be dropped as TX drops.
This is much more common to Wireless interface that can have transfer rate jumping.
/interface ethernet
set [ find default-name=ether1 ] mtu=1512
set [ find default-name=ether2 ] mtu=1512
set [ find default-name=ether3 ] mtu=1512
set [ find default-name=ether4 ] mtu=1512
/interface vlan
add interface=vlan1705 name=vlan24 vlan-id=24
add interface=ether1 name=vlan100 vlan-id=100
add interface=ether1 name=vlan102 vlan-id=102
add interface=ether1 name=vlan103 vlan-id=103
add interface=ether1 name=vlan104 vlan-id=104
add interface=ether1 name=vlan105 vlan-id=105
add interface=ether1 name=vlan106 vlan-id=106
add interface=ether1 name=vlan108 vlan-id=108
add interface=ether1 name=vlan109 vlan-id=109
add interface=ether1 name=vlan119 vlan-id=119
add interface=vlan1705-4 name=vlan300 vlan-id=300
add interface=vlan3924 name=vlan1705 vlan-id=1705
add interface=vlan3924-3 name=vlan1705-3 vlan-id=1705
add interface=vlan3924-4 name=vlan1705-4 vlan-id=1705
add interface=ether1 name=vlan3518 vlan-id=3518
add interface=ether1 name=vlan3924 vlan-id=3924
add interface=ether3 name=vlan3924-3 vlan-id=3924
add interface=ether4 name=vlan3924-4 vlan-id=3924
/queue interface pr where interface~"^ether"
# INTERFACE QUEUE ACTIVE-QUEUE
0 ether1 only-hardware-queue only-hardware-queue
1 ether2 only-hardware-queue only-hardware-queue
2 ether3 only-hardware-queue only-hardware-queue
3 ether4 only-hardware-queue only-hardware-queue
/driver pr
# DRIVER
0 USB Keyboard/Mouse
1 Broadcom NX2 Ethernet
/sys resource pci pr
# DEVICE VENDOR NAME IRQ
0 3f:06.3 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
1 3f:06.2 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
2 3f:06.1 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
3 3f:06.0 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
4 3f:05.3 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
5 3f:05.2 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
6 3f:05.1 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
7 3f:05.0 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
8 3f:04.3 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
9 3f:04.2 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
10 3f:04.1 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
11 3f:04.0 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
12 3f:03.4 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Te... 0
13 3f:03.2 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller RA... 0
14 3f:03.1 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ta... 0
15 3f:03.0 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller (r... 0
16 3f:02.5 Intel Corporation Xeon 5500/Core i7 QPI Physical 1 (rev: 5) 0
17 3f:02.4 Intel Corporation Xeon 5500/Core i7 QPI Link 1 (rev: 5) 0
18 3f:02.1 Intel Corporation Xeon 5500/Core i7 QPI Physical 0 (rev: 5) 0
19 3f:02.0 Intel Corporation Xeon 5500/Core i7 QPI Link 0 (rev: 5) 0
20 3f:00.1 Intel Corporation Xeon 5500/Core i7 QuickPath Architecture System A... 0
21 3f:00.0 Intel Corporation Xeon 5500/Core i7 QuickPath Architecture Generic ... 0
22 3e:06.3 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
23 3e:06.2 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
24 3e:06.1 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
25 3e:06.0 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
26 3e:05.3 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
27 3e:05.2 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
28 3e:05.1 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
29 3e:05.0 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
30 3e:04.3 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
31 3e:04.2 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
32 3e:04.1 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
33 3e:04.0 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ch... 0
34 3e:03.4 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Te... 0
35 3e:03.2 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller RA... 0
36 3e:03.1 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Ta... 0
37 3e:03.0 Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller (r... 0
38 3e:02.5 Intel Corporation Xeon 5500/Core i7 QPI Physical 1 (rev: 5) 0
39 3e:02.4 Intel Corporation Xeon 5500/Core i7 QPI Link 1 (rev: 5) 0
40 3e:02.1 Intel Corporation Xeon 5500/Core i7 QPI Physical 0 (rev: 5) 0
41 3e:02.0 Intel Corporation Xeon 5500/Core i7 QPI Link 0 (rev: 5) 0
42 3e:00.1 Intel Corporation Xeon 5500/Core i7 QuickPath Architecture System A... 0
43 3e:00.0 Intel Corporation Xeon 5500/Core i7 QuickPath Architecture Generic ... 0
44 04:00.0 Hewlett-Packard Company Smart Array G6 controllers (rev: 1) 11
45 03:00.1 Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev: 32) 10
46 03:00.0 Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev: 32) 11
47 02:00.1 Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev: 32) 7
48 02:00.0 Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev: 32) 11
49 01:04.6 Hewlett-Packard Company Proliant iLO2 virtual UART (rev: 0) 10
50 01:04.4 Hewlett-Packard Company Proliant iLO2 virtual USB controller (rev: 0) 5
51 01:04.2 Compaq Computer Corporation Integrated Lights Out Processor (rev: 3) 5
52 01:04.0 Compaq Computer Corporation Integrated Lights Out Controller (rev: 3) 10
53 01:03.0 ATI Technologies Inc ES1000 (rev: 2) 4
54 00:1f.2 Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller... 7
55 00:1f.0 Intel Corporation 82801JIB (ICH10) LPC Interface Controller (rev: 0) 0
56 00:1e.0 Intel Corporation 82801 PCI Bridge (rev: 144) 0
57 00:1d.7 Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 (r... 3
58 00:1d.3 Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 (re... 4
59 00:1d.2 Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 (re... 5
60 00:1d.1 Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 (re... 4
61 00:1d.0 Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 (re... 3
62 00:1c.2 Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3 (r... 255
63 00:1c.0 Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 (r... 255
64 00:14.2 Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Regi... 0
65 00:14.1 Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Regist... 0
66 00:14.0 Intel Corporation 5520/5500/X58 I/O Hub System Management Registers... 0
67 00:0e.4 Intel Corporation unknown device (rev: 19) 0
68 00:0e.3 Intel Corporation unknown device (rev: 19) 0
69 00:0e.2 Intel Corporation unknown device (rev: 19) 0
70 00:0e.1 Intel Corporation unknown device (rev: 19) 0
71 00:0e.0 Intel Corporation unknown device (rev: 19) 0
72 00:0d.6 Intel Corporation unknown device (rev: 19) 0
73 00:0d.5 Intel Corporation 5520/5500 Physical Layer Port 1 (rev: 19) 0
74 00:0d.4 Intel Corporation 5520/5500/X58 Physical Layer Port 0 (rev: 19) 0
75 00:0d.3 Intel Corporation unknown device (rev: 19) 0
76 00:0d.2 Intel Corporation unknown device (rev: 19) 0
77 00:0d.1 Intel Corporation unknown device (rev: 19) 0
78 00:0d.0 Intel Corporation unknown device (rev: 19) 0
79 00:0a.0 Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 10 (r... 0
80 00:09.0 Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 9 (re... 0
81 00:08.0 Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 8 (re... 0
82 00:07.0 Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (re... 0
83 00:06.0 Intel Corporation 5520/X58 I/O Hub PCI Express Root Port 6 (rev: 19) 0
84 00:05.0 Intel Corporation 5520/X58 I/O Hub PCI Express Root Port 5 (rev: 19) 0
85 00:04.0 Intel Corporation 5520/X58 I/O Hub PCI Express Root Port 4 (rev: 19) 0
86 00:03.0 Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (re... 0
87 00:02.0 Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 2 (re... 0
88 00:01.0 Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (re... 0
89 00:00.0 Intel Corporation 5520 I/O Hub to ESI Port (rev: 19) 0
/sys resource irq pr
Flags: ro - read-only
# IRQ USERS CPU ACTIVE-CPU COUNT
0 1 i8042 auto 0 3
1 9 acpi auto 1 0
2 12 i8042 auto 2 3
3 14 ide0 auto 3 0
4 15 ide1 auto 4 0
5 17 ata_piix auto 5 7
6 20 usb2 auto 6 0
usb1
7 22 usb6 auto 7 36
usb4
8 23 usb5 auto 8 0
usb3
9 66 hpsa0 auto 9 94 698
10 70 eth0-0 auto 10 4 000 526 560
11 71 eth0-1 auto 11 1 032 486 196
12 72 eth0-2 auto 12 90 196 898
13 73 eth0-3 auto 13 517 809 070
14 74 eth0-4 auto 14 1 960 955 982
15 75 eth0-5 auto 15 91 867 428
16 76 eth0-6 auto 0 3 076 872 916
17 77 eth0-7 auto 1 318 379 144
18 78 eth1-0 auto 2 976 625 561
19 79 eth1-1 auto 3 15 096 680
20 80 eth1-2 auto 4 1 097 316
21 81 eth1-3 auto 5 29 147 707
22 82 eth1-4 auto 6 3 136 236
23 83 eth1-5 auto 7 844 382
24 84 eth1-6 auto 8 468 421 761
25 85 eth1-7 auto 9 39 497 220
26 86 eth2-0 auto 10 611 631 342
27 87 eth2-1 auto 11 13 727 240
28 88 eth2-2 auto 12 935 089
29 89 eth2-3 auto 13 1 421 833
30 90 eth2-4 auto 14 315 378 643
31 91 eth2-5 auto 15 817 139
32 92 eth2-6 auto 0 634 491
33 93 eth2-7 auto 1 32 778 547
34 94 eth3-0 auto 2 2 279 155 393
35 95 eth3-1 auto 3 12 097 538
36 96 eth3-2 auto 4 1 299 703
37 97 eth3-3 auto 5 1 372 216
38 98 eth3-4 auto 6 2 292 517 611
39 99 eth3-5 auto 7 833 238
40 100 eth3-6 auto 8 610 256
41 101 eth3-7 auto 9 28 320 528
Thanks ( couldn't find karma+ )Change from only-hardware-queue to some Queue type multi-queue-ethernet-default
Hi
- What is the queue of the ether1 interface ? If you increase it, do you have less TX Drops ?
Change from only-hardware-queue to some Queue type multi-queue-ethernet-default and increase from 50 to 1000 only for test ? (could add jitter for those packets that will not be dropped anymore which is not a good thing for most protocols)
- Does the CPU handle the PPS over the ether1 interface correctly, do you see the load distributed over cores if you check with Tools-> Profile?
- What version is the RouterOS ? MTUs are suspect.
- Replace the server with newer hardware platform at least for test, could indicate problem with how Intel/HP do things in this machine.
- Replace the NIC. Intel Driver is a suspect.