Community discussions

MikroTik App
 
espenmon
just joined
Topic Author
Posts: 2
Joined: Fri Jun 03, 2022 9:28 am

Terribly bad ingress shaping on CRS 317 and CRS326

Thu Mar 09, 2023 10:33 am

The point here is that it NEVER manages more than about 30-50% of the ingress rate set. You can achieve the speeds if you set them 2-300% above what you want to achieve. This is also not consistent, but varies.

This should be easy to replicate in LAB, tried with both CRS317 and CRS326 and got the exact same problems (both with ROS 6.48.6, 7.7 and 7.8). If set to 305M tests show 70-130M, to achive 300 Mbit we have to set the ingress rate to 810M.

This smells like a bug, since it is not the CPU that is the bottleneck here.

It also doesn't seem like there are hardware-related problems, since you can work around it. We offer speed classes of 90/90 Mbit, 300/300 Mbit, 600/600 Mbit and 1000/1000 Mbit. The lowest and highest speed class is no problem. The problem is the shaping of 300 Mbit where we have to shape to 810 Mbit, while on 600 Mbit there is no workaround, there you have to drop shaping.

Mikrotik will not acknowledge this as a bug but says "Yes, we understand and this is how ingress policer works at the moment, as i described in the last email. we will try to improve the ingress policer in future, but I cannot provide a release date."

Since we achieve correct speeds when we set the shaping to completely different speeds, MikroTik should be able to fix this, right?

Has anyone else found a workaround for these issues?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11433
Joined: Thu Mar 03, 2016 10:23 pm

Re: Terribly bad ingress shaping on CRS 317 and CRS326

Thu Mar 09, 2023 10:51 am

Out of curiosity: how did you test the performance of shaper? iperf UDP test or something different?
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Terribly bad ingress shaping on CRS 317 and CRS326

Thu Mar 09, 2023 6:06 pm

have you tried 7.6? which CRS 326 are you refering to?? CRS326-24G-2S+RM or CRS326-24S+2Q+RM

When i was using Routeros 6.48.6 and 6.49.7 traffic shaping was erratic and a cause of service disruption when enabled so i avoided that feature

Some weeks ago on a CRS 317 using only L2 VLan (no L3 HW offload) ros 7.6 i tried Limiting traffic with ingress ACL and worked well, unfortunately i dont have access to this switch to revisit the topic

But i tried recently on another CRS 317 with L3 Hw offload and Limiting traffic with ingress ACL erratic behavior returned, i tryed interface limiting and is erratic too

All of this with 7.6, i have not tried more versions
 
mh04
just joined
Posts: 2
Joined: Thu Apr 20, 2023 9:30 am

Re: Terribly bad ingress shaping on CRS 317 and CRS326

Thu Apr 20, 2023 9:35 am

We have exactly the same problem with different mikrotik products. No matter which RouterOS version (6.4x, 7.x).
@Mikrotik Team - please fix it. Shaping is essential and should work as you describe it.

Who is online

Users browsing this forum: Amazon [Bot], edielson_atm, peracchi, SpOuK3, syslog and 95 guests