Community discussions

MikroTik App
 
shady79
just joined
Topic Author
Posts: 14
Joined: Wed Jan 03, 2018 11:10 am

vlan routing - low speed

Mon Sep 23, 2019 11:25 am

Router CCR1016-12S-1S+ and switch DELL N2048P I have two linux on vmware. One of them in vlan1 and second on vlan10. Both are configured on interface sfpplus1 on routerboard.
The speed between linux systems are:

root@desktop-6tetjjq:~# iperf3 -c 172.31.255.100
Connecting to host 172.31.255.100, port 5201
[ 5] local 10.10.1.136 port 57076 connected to 172.31.255.100 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 17.0 MBytes 143 Mbits/sec 157 99.0 KBytes
[ 5] 1.00-2.00 sec 15.2 MBytes 128 Mbits/sec 126 76.4 KBytes
[ 5] 2.00-3.00 sec 15.2 MBytes 128 Mbits/sec 361 97.6 KBytes
[ 5] 3.00-4.00 sec 15.7 MBytes 132 Mbits/sec 326 73.5 KBytes
[ 5] 4.00-5.00 sec 14.9 MBytes 125 Mbits/sec 211 109 KBytes
[ 5] 5.00-6.00 sec 15.3 MBytes 128 Mbits/sec 15 170 KBytes
[ 5] 6.00-7.00 sec 16.5 MBytes 138 Mbits/sec 342 112 KBytes
[ 5] 7.00-8.00 sec 16.8 MBytes 141 Mbits/sec 329 99.0 KBytes
[ 5] 8.00-9.00 sec 15.7 MBytes 132 Mbits/sec 184 113 KBytes
[ 5] 9.00-10.00 sec 15.5 MBytes 130 Mbits/sec 240 99.0 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 158 MBytes 132 Mbits/sec 2291 sender
[ 5] 0.00-10.00 sec 156 MBytes 131 Mbits/sec receiver
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11447
Joined: Thu Mar 03, 2016 10:23 pm

Re: vlan routing - low speed

Mon Sep 23, 2019 11:32 am

What does /tool profile cpu=all show during the throughput test? Does it show some particular CPU hitting 100%? Which process?

Do you have firewall filter rules configured on CCR? Does it use fasttrack?
 
shady79
just joined
Topic Author
Posts: 14
Joined: Wed Jan 03, 2018 11:10 am

Re: vlan routing - low speed

Mon Sep 23, 2019 11:54 am

What does /tool profile cpu=all show during the throughput test? Does it show some particular CPU hitting 100%? Which process?

Do you have firewall filter rules configured on CCR? Does it use fasttrack?

in /ip firewall mangle I have 3 rules,
chain=prerouting action=mark-connection new-connection-mark=Ethereum passthrough=yes content=eth_submitWork log=no l
chain=prerouting action=add-dst-to-address-list address-list=Ethereum address-list-timeout=none-dynamic content=eth_
chain=prerouting action=fasttrack-connection content=eth_submitWork log=no log-prefix=""

when I turned them off

root@desktop-6tetjjq:~# iperf3 -c 172.31.255.100 -R
Connecting to host 172.31.255.100, port 5201
Reverse mode, remote host 172.31.255.100 is sending
[ 5] local 10.10.1.136 port 57136 connected to 172.31.255.100 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 81.2 MBytes 681 Mbits/sec
[ 5] 1.00-2.00 sec 121 MBytes 1.02 Gbits/sec
[ 5] 2.00-3.00 sec 115 MBytes 963 Mbits/sec
[ 5] 3.00-4.00 sec 90.7 MBytes 761 Mbits/sec
[ 5] 4.00-5.00 sec 105 MBytes 880 Mbits/sec
[ 5] 5.00-6.00 sec 102 MBytes 857 Mbits/sec
[ 5] 6.00-7.00 sec 114 MBytes 953 Mbits/sec
[ 5] 7.00-8.00 sec 128 MBytes 1.07 Gbits/sec
[ 5] 8.00-9.00 sec 113 MBytes 944 Mbits/sec
[ 5] 9.00-10.00 sec 134 MBytes 1.12 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.08 GBytes 928 Mbits/sec 3511 sender
[ 5] 0.00-10.00 sec 1.08 GBytes 926 Mbits/sec receiver

iperf Done.
root@desktop-6tetjjq:~# iperf3 -c 172.31.255.100
Connecting to host 172.31.255.100, port 5201
[ 5] local 10.10.1.136 port 57140 connected to 172.31.255.100 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 61.0 MBytes 512 Mbits/sec 303 189 KBytes
[ 5] 1.00-2.00 sec 51.7 MBytes 434 Mbits/sec 301 165 KBytes
[ 5] 2.00-3.00 sec 56.7 MBytes 475 Mbits/sec 274 165 KBytes
[ 5] 3.00-4.00 sec 46.1 MBytes 387 Mbits/sec 242 168 KBytes
[ 5] 4.00-5.00 sec 57.6 MBytes 483 Mbits/sec 177 189 KBytes
[ 5] 5.00-6.00 sec 62.2 MBytes 522 Mbits/sec 289 189 KBytes
[ 5] 6.00-7.00 sec 66.4 MBytes 557 Mbits/sec 244 182 KBytes
[ 5] 7.00-8.00 sec 57.5 MBytes 482 Mbits/sec 216 165 KBytes
[ 5] 8.00-9.00 sec 55.6 MBytes 466 Mbits/sec 129 194 KBytes
[ 5] 9.00-10.00 sec 68.3 MBytes 573 Mbits/sec 413 157 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 583 MBytes 489 Mbits/sec 2588 sender
[ 5] 0.00-10.00 sec 582 MBytes 488 Mbits/sec receiver

iperf Done.

I wonder why it's faster in one direction than in the other
The CPU is not loaded during the test. I don't have any firewall rules between these networks. I use fasttrack.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11447
Joined: Thu Mar 03, 2016 10:23 pm

Re: vlan routing - low speed

Mon Sep 23, 2019 3:27 pm

I wonder why it's faster in one direction than in the other
Could depend on both computers running iperf, but it's hard to tell ...

The CPU is not loaded during the test. I don't have any firewall rules between these networks. I use fasttrack.
fasttrack and mangle rules are mutually exclusive. You might be able to get both working by using appropriate fasttrack rules (so that they don't act on connections that should be mangled), but it's not easy to get it right.

Who is online

Users browsing this forum: almdandi, araqiel, ips, mkx, Seko777 and 89 guests