Page 1 of 1

Slow upload speed when fast track is on

Posted: Sun Jul 21, 2024 5:39 pm
by hooyao
I'm evaluating Mikrotik CHR on DELL vep 1445

Mikrotik CHR has some compatibility issues with x553, as the result, I can't passthrough the x553(10g sfp+) to Mikrotik CHR directly, I have to do it in this way
CHR(VMXNET3)<--> port group(VLAN ID:4095) <--> vswitch(uplink x553 sfp+)
as described viewtopic.php?t=209279

Now I register a P10 trial license and evaluate via iperf.
I placed this Mikrotik CHR in my home LAN, as a dhcp client, my desktop is connected to this Mikrotik CHR, and iperf the server in my home LAN, like
My desktop(iperf client, 192.168.88.10)<---> Mikrotik CHR(DELL vep 1445, 192.168.88.1) as dhcp client(192.168.1.200)<---> iperf server( 192.168.1.100)

everything looks pretty solid, until I tried to iperf upload,
When fast track is on, iperf hits 1.3Gbps upload
When fast track is off,iperf hits 6.3Gbps upload (with fast track on, iperf download (-R) speed is way more stable)
The red arrow is when I disable fast track
Screenshot 2024-07-21 223233.png
The config is simple
# 2024-07-21 14:28:53 by RouterOS 7.15.2
# software id = 
#
/interface bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether3 ] name=ether2
set [ find default-name=ether4 ] name=ether3
set [ find default-name=ether2 ] name=ether4
set [ find default-name=ether1 ] disable-running-check=no name=ether5
set [ find default-name=ether2 ] disable-running-check=no name=ether6
/interface list
add name=WAN
add name=LAN
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.250
/ip dhcp-server
add address-pool=dhcp interface=bridge1 lease-time=30s name=dhcp1
/port
set 0 name=serial0
set 1 name=serial1
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether6
/interface list member
add interface=ether5 list=WAN
add interface=bridge1 list=LAN
/ip address
add address=192.168.88.1/24 interface=bridge1 network=192.168.88.0
/ip dhcp-client
add interface=ether5
/ip dhcp-server network
add address=192.168.88.0/24 dns-server=114.114.114.114 gateway=192.168.88.1 \
    netmask=24
/ip firewall filter
add action=fasttrack-connection chain=forward hw-offload=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface-list=WAN
/system identity
set name=MikroTikCHR
/system note
set show-at-login=no

Re: Slow upload speed when fast track is on

Posted: Mon Jul 22, 2024 6:37 am
by loloski
I don't know if this makes difference but can you replace your fasttrack rules with this
/ip/firewall/filter add chain=forward action=fasttrack-connection connection-state=established,related
/ip/firewall/filter add chain=forward action=accept connection-state=established,related

Re: Slow upload speed when fast track is on

Posted: Thu Jul 25, 2024 5:27 pm
by hooyao
I don't know if this makes difference but can you replace your fasttrack rules with this
/ip/firewall/filter add chain=forward action=fasttrack-connection connection-state=established,related
/ip/firewall/filter add chain=forward action=accept connection-state=established,related
Thank you for the reply, accepting established and related connection doesn't change anything.

I tried passing through x553 to Mikrotik CHR, the speed is back to normal. It can reach around 8Gbps down and up, but setting up vlan crashes the driver. It looks like this is the fact I have to accept.