Community discussions

MikroTik App
 
User avatar
ahmdzaki
just joined
Topic Author
Posts: 6
Joined: Mon Jul 04, 2016 2:47 pm
Contact:

CRS Switch Rule Rate

Mon Feb 06, 2023 2:31 pm

We running on CRS-326-24S+2Q+ with ROS v7.6
All 80% ports are used.
All ports do bridge vlan filtering hwoffload.
Some ports do bonding hwoffload.
No L3hwoffload enabled.

Aggregate traffic some around 25-32gbps.

Somehow traffic rate limiter on switch chip not limiting precisely as expected on high bandwidth.
we apply only ingress rate based on vlan id.
1. on rate 2000M, on other side receiving only 1930-1935mbps. we expected 1995-2000mbps, because trying on cisco N9K and N3K qos, its receiving exactly 2000mbps
2. we doing some formula (1024 x 2G) x 102% for achieving aroung 2000mbps (not less).
3. we got complained by customer on 3Gbps bandwidth that his traffic only around 2500mbps but link got request time out sometime.
4. based on number 3, is it more less number bandwidth than 2000M which is losing some 50-70mbps. Maybe its bug when using a lot of switch rule?

is this a bug for mikrotik qos based on switch chip? or there is some misconfiguration? because we trying limiting by src-dst ip, vlan, src-dst ip still same result.
notes: if you test by mikrotik btest with switch in the middle, it will show exact bandwidth. but when you using real world traffic, it will less 10-50 mbps per Gbps rate.
You do not have the required permissions to view the files attached to this post.
 
User avatar
ahmdzaki
just joined
Topic Author
Posts: 6
Joined: Mon Jul 04, 2016 2:47 pm
Contact:

Re: CRS Switch Rule Rate

Mon Feb 06, 2023 2:45 pm

#[SUP-106898]
 
User avatar
ahmdzaki
just joined
Topic Author
Posts: 6
Joined: Mon Jul 04, 2016 2:47 pm
Contact:

Re: CRS Switch Rule Rate  [SOLVED]

Wed Feb 08, 2023 5:14 am

https://help.mikrotik.com/docs/display/ ... ficShaping

It is possible to limit ingress traffic that matches certain parameters with ACL rules and it is possible to limit ingress/egress traffic per port basis. The policer is used for ingress traffic, the shaper is used for egress traffic. The ingress policer controls the received traffic with packet drops. Everything that exceeds the defined limit will get dropped. This can affect the TCP congestion control mechanism on end hosts and achieved bandwidth can be actually less than defined. The egress shaper tries to queue packets that exceed the limit instead of dropping them. Eventually, it will also drop packets when the output queue gets full, however, it should allow utilizing the defined throughput better.
 
ConradPino
Member
Member
Posts: 337
Joined: Sat Jan 21, 2023 12:44 pm
Contact:

Re: CRS Switch Rule Rate

Wed Feb 08, 2023 6:55 am

Well done! Thanks for sharing solution!!
 
joshhboss
Member Candidate
Member Candidate
Posts: 270
Joined: Thu Aug 01, 2019 2:13 pm

Re: CRS Switch Rule Rate

Wed Feb 14, 2024 4:26 am

Well done! Thanks for sharing solution!!
How exactly did you do this ? I try and do ingress/egress rates on the ports and they just preform horribly.. I mean the egress I ok.. but the ingress doesnt match at all.

Who is online

Users browsing this forum: devnull0, holvoetn and 37 guests