Have any of you been able to get more than 10 gigabits through an interface in CHR? We have a bonded 10G in vSphere that we’re presenting to a CHR and we start getting packet loss at about 8.5 gigabit/s. The CPU is in the 70% area, so we should be able to go higher.
I spun up another CHR to test packet loss through the troubled vSwitch. When the primary CHR is encountering about 5% packet loss, there is 0 packet loss on the test CHR.
So it’s not a physical issue.
It’s not likely a vSwitch issue.
It seems to be a virtual port issue or a Mikrotik\CHR problem.
We have an unlimited license. I was using vmxnet3, I moved a couple of the adapters to use PCI pass-through and that helped. We’re still encountering issues in the router. The device that were using must not be capable of generating enough CPU power to be useful.
For me , do this test and let me know what you get:
btest to 127.0.0.1 ( udp send )
If this is not well over 10-Gig , then it’s your hardware - or a configuration issue.
It’s a “4 CPUs x Intel(R) Core™ i7-7700K CPU @ 4.20GHz” in a Maxxwave Vengeance.
Hyperthreading is disabled.
All CPUs assigned to this CHR.
We created a second CHR when troubleshooting the problem, simply to be a ping destination on the same vSwitch.
It’s still at 6.5. We’re not using vCenter, so we’re waiting for a good maintenance window to upgrade it.
No other CHRs on local boxes.
The speed I’m measuring is live traffic going through the router, from various CDN cache boxes behind it to a variety of networks upstream.
I suppose any btest to 127.0.0.1 faster than 100 Gig may be fast enough for 10-Gig interfaces or some 40-Gig interfaces.
In your virtual machine BIOS setup , disable all un-necessary devices (cd-rom, serial ports, parallel-printer ports).
In your physical box, verify you are not re-using interrupts. Shared interrupts create a slight delay where the OS has to figure out which device made the interrupt.
The only thing the test CHR is for being a ping destination. It has one interface, one IP address, etc
The queues are set to multi-queue-ethernet-default for the virtual NICs. I forgot to change the settings on the ones I did PCI passthrough on. Does the RouterOS driver for Intel 10G NICs support multiple queues?