Community discussions

MikroTik App
 
paolobyte
newbie
Topic Author
Posts: 28
Joined: Wed Apr 05, 2017 6:00 am

Hardware offloading for RB5009 or any RB series?

Wed Mar 01, 2023 5:47 am

Hi everyone,
Just trying to get some thoughts and knowledge from some of you out there who has experienced and tested this thing.

First off, why I got curious about hardware offloading in RB5009, is because I have a bridge interface named "bridge-customer" and multiple ports are part of it.
5 x VLAN interfaces (ether1.100, ether2.100, ether3.100, ether4.100, ether5.100)
and 1 physical interface (ether6)

ether1 to ether5 goes to multiple switches and traffic are sent from those switches to 5009 as tagged VLAN 100.
device on ether6 doesn't have VLAN capability so untagged frames coming into ether6, gets part of the same L2 domain as ether1.100 to ether5.100.

I run DHCP on top of bridge-customer.

I just noticed that "Hardware Offload" is activated on ether6, but not on the VLAN interfaces. Why I notice this is because when there's huge traffic received on ether1.100 to ether5.100, the CPU spikes. 500Mbps can trigger 50% CPU usage. Mind you, I don't have filter rules, ONLY single NAT rule.

I don't have a way to generate traffic on device attached to ether6, so it's a question to me whether traffic from that hardware offload activated port will contribute or not to CPU spike.

Website says that bridging and routing forwarding speed of RB5009 is the same. So, it makes me think, if I do inter-vlan routing in a way that all ports are part of bridge (so ports are HW offload activated), TAG VLAN and enable VLAN filtering, will it make a difference in terms of performance?
You do not have the required permissions to view the files attached to this post.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Hardware offloading for RB5009 or any RB series?

Wed Mar 01, 2023 5:48 am

Layer2 misconfiguration
VLAN in bridge with a physical interface
https://wiki.mikrotik.com/wiki/Manual:L ... _interface

Solution
To avoid compatibility issues you should use bridge VLAN filtering.
 
paolobyte
newbie
Topic Author
Posts: 28
Joined: Wed Apr 05, 2017 6:00 am

Re: Hardware offloading for RB5009 or any RB series?

Wed Mar 01, 2023 6:15 am

Layer2 misconfiguration
VLAN in bridge with a physical interface
https://wiki.mikrotik.com/wiki/Manual:L ... _interface

Solution
To avoid compatibility issues you should use bridge VLAN filtering.
Was thinking the same thing, but then, this is not a switch. Bridging and routing capability of the device says the same thing on their test result.
Anyway, I will be testing that in the LAB. Hoping for a positive result.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5413
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Hardware offloading for RB5009 or any RB series?

Wed Mar 01, 2023 8:22 am

I also have RB5009 (since 2 weeks), configured it using the VLAN bridge approach.
recent documentation: https://help.mikrotik.com/docs/display/ ... ccessPorts

When doing iperf from computer on VLAN10 to NAS on VLAN2 running iperf server, I get pretty close to 1Gb throughput (960-ish).
CPU on RB5009 is doing close to nothing, 1 or 2% ... so yeah, HW offload works nicely.

Already so when I unboxed it (7.6), currently running on 7.8.
 
paolobyte
newbie
Topic Author
Posts: 28
Joined: Wed Apr 05, 2017 6:00 am

Re: Hardware offloading for RB5009 or any RB series?

Wed Mar 01, 2023 8:33 am

I also have RB5009 (since 2 weeks), configured it using the VLAN bridge approach.
recent documentation: https://help.mikrotik.com/docs/display/ ... ccessPorts

When doing iperf from computer on VLAN10 to NAS on VLAN2 running iperf server, I get pretty close to 1Gb throughput (960-ish).
CPU on RB5009 is doing close to nothing, 1 or 2% ... so yeah, HW offload works nicely.

Already so when I unboxed it (7.6), currently running on 7.8.
Thank you for the feedback!
 
paolobyte
newbie
Topic Author
Posts: 28
Joined: Wed Apr 05, 2017 6:00 am

Re: Hardware offloading for RB5009 or any RB series?

Wed Mar 01, 2023 9:09 am

The block diagram answered my question:
https://i.mt.lv/cdn/product_files/RB5009UGS_220852.png

Essentially, I need to put the interfaces into bridge to activate HW offload, then follow the VLAN bridge method, so I can make use of 10Gbps full duplex capability. https://help.mikrotik.com/docs/display/ ... ccessPorts
 
paolobyte
newbie
Topic Author
Posts: 28
Joined: Wed Apr 05, 2017 6:00 am

Re: Hardware offloading for RB5009 or any RB series?  [SOLVED]

Sun Mar 12, 2023 5:27 pm

My issue is fixed after I enabled FastTrack!

Who is online

Users browsing this forum: almdandi, araqiel, GoogleOther [Bot], ips, mkx, Seko777 and 81 guests