Community discussions

MikroTik App
 
User avatar
carlosfinezi
just joined
Topic Author
Posts: 13
Joined: Thu Jun 16, 2016 11:36 pm
Contact:

RB 2011iL does not get Gib traffic

Mon Mar 08, 2021 10:49 pm

Hi.
My rb 2011 should process up to 1 GB but it seems not working correctly. I just upgrade my ISP services to 750 download / 750 upload. I can't get even over 100 MB. I've tried to set HardWare Offload under bridge port. Tried too enable fast track, what made better processing performance, but, not even close to 1GB.
Should i buy another router?
I use about 50 PCs under my network. Not too much traffic.
Following my settings attached.
Someone could help me?
You do not have the required permissions to view the files attached to this post.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: RB 2011iL does not get Gib traffic

Mon Mar 08, 2021 11:11 pm

RB2011 is not able to route much faster than around 200Mbps half duplex (give or take), depending on complexity of firewall rules. If you want to get near the speed you're mentioning (750Mbps full duplex), you'll have to get a much faster router. When looking for a suitable model, check official test results, e.g. for RB2011. Most of forum members find number under "Routing - 25 ip filter rules, 256 byte packets" to best reflect real-life performance.
 
User avatar
carlosfinezi
just joined
Topic Author
Posts: 13
Joined: Thu Jun 16, 2016 11:36 pm
Contact:

Re: RB 2011iL does not get Gib traffic

Tue Mar 09, 2021 3:16 am

I can't understand why some users related getting up to 900 MB using rb 2011. I'm not getting even closer to 200 MB. It's always under 100 MB. I'm afraid buying a more powerful router as 4011 because I've seen here at forum some related same problem using 4011. I don't know if this problem is about hardware limitation or some configuration I missed.
 
sarah
newbie
Posts: 27
Joined: Mon Feb 29, 2016 1:41 am

Re: RB 2011iL does not get Gib traffic

Tue Mar 09, 2021 6:15 am

I am seeing that in your configuration that your ether1,2 and 3 set to 100mbps.
Can you confirm if this is the cause of not getting more than 100mbps?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: RB 2011iL does not get Gib traffic

Tue Mar 09, 2021 7:54 am

Speed setting on ethernet ports isn't a show stopper, it doesn't matter as long as port is not set to auto-negotiation=no (which is not default, hence it would be shown in config export).

Another factor affecting throughput is use of PPPoE ... it does cause some performance drop compared to "straight" IP over ethernet (e.g. running DHCP client on WAN interface). Firewall is almost non-existing (which makes router extremely vulnerable for any attempt for breaking in), using queues degrades performance as well.

Again: the mentioned entry (Routing - 25 ip filter rules, 256 byte packets) pretty well describes real-life routing performance with more or less default setup. Mind that routing capacity should be read half-duplex: if number says 200Mbps, that's divided to uplink and downlink (e.g. 160/40 Mbps or something like that). Number for RB4011 is around 2.5Gbps, which means this device has plenty enough power to route at 1Gbps (full duplex even) with some CPU cycles to spare. In case of wireless variant of RB4011 those spare cycles might get used (and over-used) for wireless though.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: RB 2011iL does not get Gib traffic

Tue Mar 09, 2021 7:55 am

I can't understand why some users related getting up to 900 MB using rb 2011.

Some users expect that routers are capable of routing wire speed. Since RB2011 has a few ports capable of 1Gbps, those users expect RB2011 to be able to route at 1Gbps. Sadly this is quite far from reality for vast majority of budget devices (not only by Mikrotik).
On the other hand, RB2011 is probably able to route at almost wire speed (using exclusively full-sized packets as device seems to have limit of around 200kpps), but without any packet processing (most importantly: no connection tracking which means no queues and no statefull firewall which is configured under /ip firewall filter).
 
User avatar
carlosfinezi
just joined
Topic Author
Posts: 13
Joined: Thu Jun 16, 2016 11:36 pm
Contact:

Re: RB 2011iL does not get Gib traffic

Wed Mar 10, 2021 4:02 am

RB2011 is not able to route much faster than around 200Mbps half duplex (give or take), depending on complexity of firewall rules. If you want to get near the speed you're mentioning (750Mbps full duplex), you'll have to get a much faster router. When looking for a suitable model, check official test results, e.g. for RB2011. Most of forum members find number under "Routing - 25 ip filter rules, 256 byte packets" to best reflect real-life performance.
I've checked those official results. There are no 256 byte packets. Only 512. I understand that should work near 200 MB, shouldn't? Almost no filter rules because is a new installation and PPPoe is used as default connection provided by my ISP.
I'll try connecting with IPv6 but not experienced with.
You do not have the required permissions to view the files attached to this post.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: RB 2011iL does not get Gib traffic

Wed Mar 10, 2021 11:20 pm

As I wrote: the test results are indication, not exact match of reality. It doesn't matter much whether it's 100 Mbps (and I wrote that PPPoE is quite a burden) or 200 Mbps (something RB2011 realistically can do), it's still very far from 750Mbps or 1Gbps (which you were asking about). Again: the device which resembles most of RB2011 (number of ports, ...) and can route at 1Gbps (with some headroom for other tasks, such as PPPoE) is RB4011. Surely there are other budget devices that can (almost) do it as well and I wrote what to look at to identify those devices. In your initial post, you wrote:
My rb 2011 should process up to 1 GB
and I explained that your assumption simply is not true (not even if written as 1Gb - with lower-case b).

But if you want to, you can keep bitching about it.
 
sarah
newbie
Posts: 27
Joined: Mon Feb 29, 2016 1:41 am

Re: RB 2011iL does not get Gib traffic

Thu Mar 11, 2021 2:35 am

Hello,
I just took my old rb2011uias from storage, reset it, added pppoe client.
Attached is the result running simple iperf3, could be unrealistic test case, but I think this is 'best case' scenario?
You do not have the required permissions to view the files attached to this post.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: RB 2011iL does not get Gib traffic

Thu Mar 11, 2021 11:48 am

Quite possibly it's an unrealistic scenario. If firewall did not have any rule, then I guess router doesn't perform connection tracking (I may be wrong) which is single most expensive task performed by firewall/router. Router had 60%-70% CPU load during the test ... and if indeed it only performed PPPoE encapsulation/decapsulation, then it's a sign of just how much PPPoE really is a burden for this device. It would be interesting if you performed similar test, but without PPPoE in the mix (i.e. straight routing case), the difference in CPU load would indicate the amount of work needed simply for PPPoE.
 
sarah
newbie
Posts: 27
Joined: Mon Feb 29, 2016 1:41 am

Re: RB 2011iL does not get Gib traffic

Thu Mar 11, 2021 12:09 pm

Con track was on, doing NAT.
firewall was default rules comes with routeros, I can share the config and rerun the test again later.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: RB 2011iL does not get Gib traffic

Thu Mar 11, 2021 12:24 pm

Then this is a remarkable result.

Another thought for @OP: are you aware that ethernet ports 6-10 are 100Mbps only? For testing throughput both WAN (PPPoE client is using ether4 which is fine) and LAN client have to be connected to one of ports ether1-ether5. There's another gotcha: the interconnect between switch chip running ether1-ether5 and CPU is 1Gbps as well. So If there's other traffic flowing via same interconnect (e.g. LAN traffic between etehr6-ether10 and ether1-ether5), that will affect the WAN throughput as well.

There's a nice block diagram showing all the hardware bottlenecks of your device.

BTW, I wonder how the fast-track rule and mangle rule go by? In theory they are exclusive, i.e. if fast-track is active, packets don't get mangled.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10195
Joined: Mon Jun 08, 2015 12:09 pm

Re: RB 2011iL does not get Gib traffic

Thu Mar 11, 2021 12:31 pm

Remember that the published performance figures are always only for the minimum set of features that you can read from those tables.
So when you use extra features, like in your case PPPoE and NAT, the indicated performance will not be achieved.
I consider the 2011 to be a router capable of 100 Mbps in normal situations, lower when using VPN and higher when using fasttrack.
But nowhere near 750 Mbps for sure!

Remember it is a 10 year old router! The 2011 is the year it was released. Things change in IT over such long time intervals, and this
router is really outdated now. It can still be used well in slow networks (100 Mbps) but not in situations like yours.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: RB 2011iL does not get Gib traffic

Thu Mar 11, 2021 4:34 pm

In 2016, when I had 1Gb/s fibre at my place, I used a 2011 and could get speeds of +- 850Mb/s to speedtest.net.

+- 15 devices on the LAN/WLAN and approximately 15 FW rules + NAT, fasttrack enabled.

Was not on a PPPoE connection but DHCP with the ISP. Only other difference was the WLAN was not part of the LAN bridge config, used additional subnet on the wireless side. Only devices that used wired connections was my 2 sons (gamers), rest of LAN clients used wifi

Above can't be compared with +- 50 active clients as I suspect with so many clients the number of smaller packets etc will impact performance, I never tested the throughput while doing a download from wifi and speedstest from wired though. When I did speedtests, all other client devices were idle while testing

EDIT: What I did find once, was that different browsers doing speedtest gave very different results, Google Chrome gave best results
 
sarah
newbie
Posts: 27
Joined: Mon Feb 29, 2016 1:41 am

Re: RB 2011iL does not get Gib traffic

Thu Mar 11, 2021 5:37 pm

I reran the test by replacing pppoe with normal routing but keeping nat.
There is no significant difference in both CPU usage and throughput.
The configuration was for pppoe. For non pppoe, I just disabled pppoe-out1 interface and added static ip and static default route.
You do not have the required permissions to view the files attached to this post.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10195
Joined: Mon Jun 08, 2015 12:09 pm

Re: RB 2011iL does not get Gib traffic

Thu Mar 18, 2021 4:18 pm

I recently tested again on a 2011 without NAT and no Fasttrack. It uses PPPoE to connect to internet and then as a GRE tunnel across that, and traffic is sent over the GRE tunnel.
So the router has to do two levels of encapsulation/decapsulation: GRE and PPPoE.
It maxes out at about 65 Mbps. 100% CPU load. It does have some firewall rules but Established/Related rules are early in the input and forward chains.
Devices like the CCR do this without sweat.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19105
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: RB 2011iL does not get Gib traffic

Thu Mar 18, 2021 4:35 pm

From the spec sheet, use 512 size and 25 fsimple queues rules to get real world results (roughish) = in the area of 425Mbps should be doable.
Im with MKX that expecting everyone to get 800 ish is rare.

The RB3011 and RB4011 certainly can route at 1gig.
The HEx router 2core 4 thread 800Mhz cpu with256gig ram can consistently get 700-800 max when I was using that model.
I don't expect the same from a 1core, 1thread, 600Mhz cpu with 16gigs of ram.
 
User avatar
carlosfinezi
just joined
Topic Author
Posts: 13
Joined: Thu Jun 16, 2016 11:36 pm
Contact:

Re: RB 2011iL does not get Gib traffic

Wed Mar 24, 2021 4:56 pm

I just bought a RB 4011 and exported config, imported to new routerboard and problem still there. Same speed with 4011.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10195
Joined: Mon Jun 08, 2015 12:09 pm

Re: RB 2011iL does not get Gib traffic

Wed Mar 24, 2021 5:23 pm

4011 should easily do it...
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19105
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: RB 2011iL does not get Gib traffic

Wed Mar 24, 2021 5:39 pm

Post your config.
In the meantime suggest street to modem wire check by ISP and then modem check (old model) needs to be reprogrammed or something, or you didnt pay your bills LOL.

Who is online

Users browsing this forum: Bing [Bot], cmmike, itsbenlol, SanchoHa, svh79 and 33 guests