Community discussions

MikroTik App
 
picklesniffer
just joined
Topic Author
Posts: 22
Joined: Sun Jun 07, 2020 4:02 pm

Routing speeds on v7 RB4011

Wed Jul 14, 2021 12:52 am

I currently get around 5.6Gbps when routing over 10gig on my PFsense box.
I am looking at moving over to the RB4011 for my router/firewall.
Will the RB4011 give me anywhere near this across vlans with very few firewall rules?
I know this is probably how long is a piece of string question, but just wanted to get a rough idea.
thanks
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Routing speeds on v7 RB4011

Wed Jul 14, 2021 1:35 am

I know this is probably how long is a piece of string question, but just wanted to get a rough idea.
Usually for a rule of thumb I go to the "Test results" tab for the device's MikroTik product page and check the result for 512 byte packets Mbps with 25 ip filter rules. This generally shows what the real world internet routing performance is for one of the routers that has a default configuration plus a few more bells and whistles turned on aside from the default configuration. You might get more for inter-VLAN routing between internal VLANs, if there are fewer firewall rules that have to be processed for each packet.
 
picklesniffer
just joined
Topic Author
Posts: 22
Joined: Sun Jun 07, 2020 4:02 pm

Re: Routing speeds on v7 RB4011

Wed Jul 14, 2021 1:39 am

Thanks for that. I've just had a look and it seems it would suggest around 2.5Gbps.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: Routing speeds on v7 RB4011

Wed Jul 14, 2021 2:55 am

Yes. If you are able to use Fasttrack for a large portion of traffic, or have fewer rules by accepting certain traffic between VLANs early, you can squeeze a bit more out of it theoretically (maybe another 1 or 2 Gbps), but I think 2.5Gbps is probably a good estimate for that device.
 
aglabs
newbie
Posts: 39
Joined: Mon Dec 28, 2020 1:05 am

Re: Routing speeds on v7 RB4011

Wed Jul 14, 2021 8:04 am

Last time I tested was on v7 beta 3 I achieved linerate 10gbit using the sfp+ port with iperf single threaded. The traffic was fastracked but I also had about 20 firewall rules at play.

Incase it matters wireguard I achieved around 900mbps on the 4011.

One note a lot of folks miss on the 4011. Using the ports in a bridge with vlan tagging greatly impacts performance.

My use case on the 4011 is usually pure router duty and l2 switching on a 2nd device.
 
tangent
Forum Guru
Forum Guru
Posts: 1329
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Routing speeds on v7 RB4011

Wed Jul 14, 2021 8:23 pm

10gbit using the sfp+ port with iperf single threaded.

How did you do that test with only one SFP+ port on the RB4011? What was it routing from and to? Did you use some sort of bonding configuration to turn the ten GigE ports into a single 10G connection, and if so, how did you get it to work with a "single threaded" test? If you'd referenced MikroTik's BTest, I'd understand, since then the source or sink could be internal to the router, but iperf?

There's a wishlist item for MikroTik: an iperf package for the current switches and routers. The current "btest" implementations for regular PC platforms fail to communicate with BTest on current ROS releases due to a change in the authentication protocol.

wireguard I achieved around 900mbps on the 4011.

Yeah, none of the Wireguard crypto primitives are in the hardware-accelerated crypto row for the RB4011, so there's another wishlist item: hardware ChaCha20 acceleration.

a lot of folks miss on the 4011. Using the ports in a bridge with vlan tagging greatly impacts performance.

Is it safe to say that only the CRS3xx devices support switch-chip-level inter-VLAN routing? That's how I'm reading this table.
 
User avatar
kiler129
Member
Member
Posts: 352
Joined: Tue Mar 31, 2015 4:32 pm
Location: IL, USA
Contact:

Re: Routing speeds on v7 RB4011

Thu Jul 15, 2021 10:44 am

Yeah, none of the Wireguard crypto primitives are in the hardware-accelerated crypto row for the RB4011, so there's another wishlist item: hardware ChaCha20 acceleration.
Is anyone even doing that? I always heard that hw acceleration is dead with these new primitives (i.e. WG was meant to not be hw accelerated).
 
picklesniffer
just joined
Topic Author
Posts: 22
Joined: Sun Jun 07, 2020 4:02 pm

Re: Routing speeds on v7 RB4011

Sun Jul 18, 2021 12:52 am

I would like to see a NAS capable of 10 gig write, setup across the RB4011 and a 10 gig switch and workstation using NVME to keep up, using inter-vlan routing, rather than using iperf. Is there anyone who has done this and has some benchmarks using a combination of small and large files in a folder?

Workstation with NVME (VLAN 1) >>>10 gig switch>>>NAS 10 gig (VLAN2)
|
RB4011 connected to switch 10 gig (router on a stick)

Please come back to me if you run this type of config as this is real world for SMB.

Cheers
 
picklesniffer
just joined
Topic Author
Posts: 22
Joined: Sun Jun 07, 2020 4:02 pm

Re: Routing speeds on v7 RB4011

Sun Jul 18, 2021 1:00 am

I know this is probably how long is a piece of string question, but just wanted to get a rough idea.
Usually for a rule of thumb I go to the "Test results" tab for the device's MikroTik product page and check the result for 512 byte packets Mbps with 25 ip filter rules. This generally shows what the real world internet routing performance is for one of the routers that has a default configuration plus a few more bells and whistles turned on aside from the default configuration. You might get more for inter-VLAN routing between internal VLANs, if there are fewer firewall rules that have to be processed for each packet.
Can Mikrotik not take the American approach and make a "dogs dooglies quad turbo RB4011", give us 10gig interv-lan and use under 15W, block the nasty's from amazon and google and sell it to me for $199? ;) Just bolt loads of Turbos and Superchargers to it and make it ludicrous! There must be a way in the IT hardware world?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11381
Joined: Thu Mar 03, 2016 10:23 pm

Re: Routing speeds on v7 RB4011

Sun Jul 18, 2021 12:16 pm

... use under 15W ... Just bolt loads of Turbos and Superchargers to it and make it ludicrous!

In the world where turbos and superchargers are meant verbatim, bolting those almost every time means that owner doesn't want to think about energy consumption (which is reflected to MPG which, in contrary to owners belief, bigger means better ;-) ) as it inevitably goes up.

Unless there's a big step forward in technology (and that's not within Mikrotik's realms) faster means higher energy consumption. And higher price. Which is what Mikrotik did when constructing RB4011 which some see as continuation of RB2011 and or RB3011 designs. Apart from suggested price which would be ridiculously high compared to actual price if it wasn't for competition.
 
tangent
Forum Guru
Forum Guru
Posts: 1329
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Routing speeds on v7 RB4011

Sun Jul 18, 2021 12:28 pm

faster means higher energy consumption. And higher price.

Yup. The "American approach" gives us Cisco.

Do. Not. Want.
 
aglabs
newbie
Posts: 39
Joined: Mon Dec 28, 2020 1:05 am

Re: Routing speeds on v7 RB4011

Sat Jul 24, 2021 7:47 pm

@tangent

I tested with the SFP+ port connected to a 10gbit switch and two servers connected to the switch on seperate vlan's, so a router on a stick scenario. I leveraged iperf in my testing along with SMB file copies between hosts.

Who is online

Users browsing this forum: No registered users and 15 guests