Mikrotik Switch Questions

Hello Guys,

Recently, i contacted Mikrotik support and they are so rigid and always ask me to contact the Mikrotik consultant to get my answers. I mean its fine as every company has their own way of doing things but i'm about to upgrade my networking infrastructure and the datasheet/specification page does not list what features the switch supports so i had to reach them. As the Mikrotik staff did not answer to me, my last hope was to ask the fellow users here who might have some knowledge.

So, i'm planning to buy CRS518-16XS-2XQ-RM and CRS520-4XS-16XQ-RM and the recently announced CRS812 DDQ. My question is, do these switches supports RDMA/RoCE feature?

The 8x50G ports on the CRS812-DQ switch, can be splitted into 10/25GbE? If yes, then a single 50G port on the CRS8 DDQ can split into 2x25G as well as 10G ports? For 10G, does it split into 5x10G from a single 50G port?

Thanks

It's supported on all 98DX8/4 based devices. But it's a very new feature... so there may be unknown gotchas.

Nope, just lower data rates are supported.

I thought RDMA/RocE has existed for a decent time in the industry? If you are saying this for Mikrotik, then yeah. I'm not sure why Mikrotik does not mention that their switch supports RDMA/RocE like other brands. Doesn't it make difficult to understand from the customer's perspective?

Damn. So, a breakout to even 2x25G isn't supported on the CRS812-DQ switch on the 8x50G ports?

Mikrotik has supported RoCE for quite a while now and reports around it are positive. They even have a detailed how to about setting it up. You have to pay attention to exactly which switches support it though.

As for breakout: 100GbE has four and 50GbE has two 25Gbps lanes so splitting into 4/2 25GbE is possible. (I don't know if it's supported currently, but if not, Mikrotik is quite quick to add/fix these.)

25GbE lanes can usually run at 10GbE speeds, but here care must be taken: usually lanes are grouped to run on the same clock so setting speeds may not work individually, but only for entire groups. (However they are organized in the given switch chip.) This also means that splitting to 2x10GbE is the most you can expect. Even though the bandwidth would be available, the chip doesn't magically sprout additional lanes.

Oh, wow. Are you using RDMA/RoCE on any of the Mikrotik switch you have? Also, could you please share the guide link?

Yes, that's what i thought but not sure if the 50GbE ports can be split into 2x25GbE via breakout cable.

What do you mean by the 25GbE lanes?

Unfortunately no. I tested it briefly when it first became available and it seemed to work fine. I don't have access to a suitable setup now.

The guide is where you'd expect (although already linked here, couldn't hurt): Quality of Service - RouterOS - MikroTik Documentation

These ports have have one (SFP28), two (DSFP28) or four (QSFP28) lanes capable of transferring 25Gbps of useful data. Lanes often run in groups (usually of 8) that are clocked together and can terminate in 2x4 lanes (QFSP28), 4x2, 8x1 etc., but they can only be all clocked for 25Gbps or 10Gbps together. Again, different switches have different restrictions around this.

And don't forget: at these speeds reclocking (clock recovery) logic is integrated into the SFP modules, so while some 25GbE modules can be convinced to run at 10GbE speeds, they usually do so with terrible bit error rates.

The CRS812 has SFP56 ports though, with a single 50G link each.

From the 98DX73XX datasheet:
image

Full RoCE support was announced with RouterOS 7.17 earlier this year. I'd consider that pretty recent. Bits and pieces may have worked before.

Ooops.

An yes, as far as I see, full RoCE is just turning a year old, depending on whether you measure from introduction or stable.

Yes, but can those port can be split using a 1x50G to 2x25G breakout cable?

Hmm. Gotcha

An sfp56 cannot be split up. I mistakenly thought it was a dsfp28 - it’s not.

Sorry for the confusion, what I said doesn’t apply here. Obviously I never had one of these, nor am I looking to buy one.

CRS812 is RoCE-ready (note that the "R" in "RoCE" stands for "RDMA") from a hardware standpoint, but full software support is planned for either RouterOS v7.21 or v7.22.

The CRS8xx series features a new switch chip generation that takes an enhanced approach to Priority Flow Control (PFC, used in RoCE), making RoCE support better than ever. However, it requires additional software support, which our developers are currently working on.

Yesterday, i updated my Mikrotik CRS312 series switch but not sure how do i enable the RoCE. I’m stuck on the last second step and whenever i try to set egress in any of the ports or the switch to pfc=pfc-tc3, the changes never save and gets stuck in last fourth step.

Any help on this?

Did you set egress-rate-queue3 as it mentioned in the RoCE setup guide?

Ah ok. No worries

Any ETA on that?

That’s where i am stuck on. Whenever i try to set it, nothing happens. The changes aren’t saved. I think its due to some sort of bug.

Can you show the command what you're trying to enter (or a GUI screenshot if you're doing it via Winbox/Webfig)?

Yes, have a look here. Here, no matter if set PFC to Enabled and hit Apply/OK. The page never changes. The same is for any port i choose.

Also, i’m not sure what profile to choose here. But i tried default/cnp/roce but it doesn’t work at all.

Hi,

You cannot apply PFC to a CPU port. Only physical switch ports support priority flow control.