Community discussions

MikroTik App
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

CCR2216-PERFORMANCE problem

Tue Jan 03, 2023 12:41 pm

Hi to all.
I wish all the best for all of you for year 2023.

Now back to the business.
I bought ccr2216 for main router of our company.

Here is my problem.
I am using qsfp ports (1 and 2), which are connected with DAC XQ+DA0001 to CRS326 units. One port to one crs326. Disabled auto negotiation. Rate is manually choosed 40Gbps.

To point of my problem. If I am transferring data between QSFP1 and QSFP2 ports, my CPU have hight utilization. One core is always (at least ) utilized around 95%. Speed of this data transfer is around 2.5Gbps which is NOTHING for this unit.

If I make FIRST firewall rule for forward of these two ports with action fasttrack connection, utilization of cpu is much lover and speed of data transfer much higher. 1 CPU core it around 60% (around 35% better than before) and speed of transfer is around 5Gbps.
Still, It should be around 10Gbps (at least) and that cpu utilization is pretty high for my taste.





Update :
I managed to perform test where I was reaching around 10Gbps rate of data transfer.
Which is ok, server is connected via SFP+ 10Gbps link.

During this data transfer with speed around 10Gbps (about 1GB/s) between port qsfp1 and qsfp2 is ONE CORE of CPU (on CCR2216 unit ) ulitilzed around 91-95%.
Is this real performance ?
It is normal to have utilize one core to maximum value and have max performance around 10Gbps forwarding between ports qsfp 1 and 2 ?

Btw. I am transferring data with samba between two Windows 2019 servers.
I was also testing it with two NAS Synology servers.
 
onnoossendrijver
Member
Member
Posts: 486
Joined: Mon Jul 14, 2008 11:10 am
Location: The Netherlands

Re: CCR2216-PERFORMANCE problem

Tue Jan 03, 2023 12:58 pm

You should give your configuration before we can say anything about your problems.
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: CCR2216-PERFORMANCE problem

Tue Jan 03, 2023 1:26 pm

Sorry, I just can't. The main story is on each qsfp port is running one subnet.
Between these two ports (subnets) is required full forward without any restriction.

What batters me is relatively low speed of this forward and also one core cpu load.

I was trying to prevent all of that traffic going through all of firewall rules with fasttrack firewall rule on first position but it was not solved that problem entirely.

High CPU load remain.
 
biomesh
Long time Member
Long time Member
Posts: 561
Joined: Fri Feb 10, 2012 8:25 pm

Re: CCR2216-PERFORMANCE problem

Tue Jan 03, 2023 2:29 pm

Since you won't share an export, there is only so much others on the forum can do to help.

I would start by checking fasttrack requirements

https://wiki.mikrotik.com/wiki/Manual:IP/Fasttrack

And then open a ticket with support.
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: CCR2216-PERFORMANCE problem

Tue Jan 03, 2023 3:15 pm

It is possible for this use-case use this ?
https://help.mikrotik.com/docs/display/ ... HWSettings
 
DarkNate
Forum Veteran
Forum Veteran
Posts: 997
Joined: Fri Jun 26, 2020 4:37 pm

Re: CCR2216-PERFORMANCE problem

Tue Jan 03, 2023 9:22 pm

First, you come here asking for help but can't export configuration? Are you stupid or what?

Second, without the export, I will assume you're actively going against MikroTik guidelines i.e. to ensure using a single bridge for all downstream and redundant intra-AS ports to ensure hardware offloading/bridge FastPath/FastTrack: https://help.mikrotik.com/docs/display/ ... plebridges

https://help.mikrotik.com/docs/display/ ... +switching
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: CCR2216-PERFORMANCE problem

Tue Jan 03, 2023 10:52 pm

First, you come here asking for help but can't export configuration? Are you stupid or what?
No, I am not. I am just not allowed to do that. There are some very strict rules in our company so it is cannot be done.
But I appreciate you hostility.



Second, without the export, I will assume you're actively going against MikroTik guidelines i.e. to ensure using a single bridge for all downstream and redundant intra-AS ports to ensure hardware offloading/bridge FastPath/FastTrack: https://help.mikrotik.com/docs/display/ ... plebridges
https://help.mikrotik.com/docs/display/ ... +switching
I cannot use just bridge to connect these two ports. Every QSFP port has his own subnet.
 
User avatar
inteq
Member
Member
Posts: 402
Joined: Wed Feb 25, 2015 8:15 pm
Location: Romania

Re: CCR2216-PERFORMANCE problem

Tue Jan 03, 2023 11:19 pm

m8, remove the "top secret" parts from the export if you want help.
Like calling your doctor and saying "it hurts" while not telling where.
 
DarkNate
Forum Veteran
Forum Veteran
Posts: 997
Joined: Fri Jun 26, 2020 4:37 pm

Re: CCR2216-PERFORMANCE problem

Wed Jan 04, 2023 2:26 am

No, I am not. I am just not allowed to do that. There are some very strict rules in our company so it is cannot be done.
But I appreciate you hostility.

I cannot use just bridge to connect these two ports. Every QSFP port has his own subnet.
1. What kind of secret sauce are you building using MikroTik? You're not using any proprietary protocol that everyone cannot use as well. Export or don't expect help from anyone here.

2. A bridge supports VLAN filtering, meaning you're supposed to tag each QSFP port in a unique VLAN on layer 2, which you then map on layer 3 to whatever IP subnet you want. The whole point of DSA in Linux and that means RouterOS is to migrate away from traditional per interface configuration for downstream interfaces or redundant intra-AS interfaces such as LACP bonding, VRRP etc.

Other than typical Cisco or Juniper all modern day network OSes supports bridge configuration with ASIC offloading (depending on hardware model and vendor) and it is preferred over the Cisco style configuration.

You are clearly not very well informed in Linux networking, tries to outsmart official MikroTik documentation regarding bridge + bridge hardware offloading and expecting line rate performance, and overall a moron.

I've given you the solution to your performance issue. Take it or don't.

DSA:
https://www.kernel.org/doc/html/latest/ ... a/dsa.html
Last edited by DarkNate on Wed Jan 04, 2023 2:27 am, edited 1 time in total.
 
DarkNate
Forum Veteran
Forum Veteran
Posts: 997
Joined: Fri Jun 26, 2020 4:37 pm

Re: CCR2216-PERFORMANCE problem

Wed Jan 04, 2023 2:27 am

m8, remove the "top secret" parts from the export if you want help.
Like calling your doctor and saying "it hurts" while not telling where.
He's a moronic patient clearly lol. At this point, it's clearly a troll.
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: CCR2216-PERFORMANCE problem

Tue Jan 17, 2023 8:18 pm

update :
solved with L3 offloading and fasttrack
 
User avatar
PapsGrey
just joined
Posts: 22
Joined: Wed Dec 01, 2021 10:58 am
Location: Accra-Ghana
Contact:

Re: CCR2216-PERFORMANCE problem

Sun Mar 05, 2023 1:34 am

update :
solved with L3 offloading and fasttrack


Can you please elucidate on this.. having similar issue, but I will be glad if you detailed what you did on the L3 offloading and fasttrack.
 
User avatar
rushlife
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Thu Nov 05, 2015 12:30 pm

Re: CCR2216-PERFORMANCE problem

Mon Dec 11, 2023 6:13 pm

update :
solved with L3 offloading and fasttrack


Can you please elucidate on this.. having similar issue, but I will be glad if you detailed what you did on the L3 offloading and fasttrack.

hi, just use something like "/ip firewall filter add action=fasttrack-connection chain=forward hw-offload=yes in-interface=qsfp28-1-1 out-interface=qsfp28-2-1" for forwarding between these interfaces...

It should help for cpu load a lot.

Who is online

Users browsing this forum: No registered users and 21 guests