Community discussions

MikroTik App
 
User avatar
nikkon
newbie
Topic Author
Posts: 49
Joined: Wed Apr 01, 2015 2:34 pm
Location: Amsterdam

Bridge mode performance question

Mon Apr 13, 2015 2:37 am

hi all,
Simple question: on RB2011UiAS I have 5x Gigabit and 5 10/100 ports.i use it only as a switch and network testing tool when needed. By default I have all ports aggregated in the same bridge.it is better to group Gigabit ports in a bridge and 10/100 in a second ? What's the performance impact in any of those configurations?
Thx
 
barkas
Member Candidate
Member Candidate
Posts: 260
Joined: Sun Sep 25, 2011 10:51 pm

AW: Bridge mode performance question

Mon Apr 13, 2015 9:10 am

Doesn't matter, bridge is in software anyway.
Performance will be bad no matter what you do.
 
User avatar
nikkon
newbie
Topic Author
Posts: 49
Joined: Wed Apr 01, 2015 2:34 pm
Location: Amsterdam

Re: Bridge mode performance question

Mon Apr 13, 2015 9:59 am

why you say it will be bad?
i realy expect to have Gbit on those 5x Gbit ports. :(
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Mon Apr 13, 2015 10:26 am

Then use switch chips and bridge only their master ports.
 
barkas
Member Candidate
Member Candidate
Posts: 260
Joined: Sun Sep 25, 2011 10:51 pm

Re: Bridge mode performance question

Mon Apr 13, 2015 12:16 pm

why you say it will be bad?
i realy expect to have Gbit on those 5x Gbit ports. :(
In that case you need to use the switch, with master/slave ports. Those need to be separate for the two switch chips and you can then bridge those.
 
User avatar
nikkon
newbie
Topic Author
Posts: 49
Joined: Wed Apr 01, 2015 2:34 pm
Location: Amsterdam

Re: Bridge mode performance question

Mon Apr 13, 2015 2:07 pm

Good. Thx alot. I'll separate those then and see how it goes.
 
User avatar
nikkon
newbie
Topic Author
Posts: 49
Joined: Wed Apr 01, 2015 2:34 pm
Location: Amsterdam

Re: Bridge mode performance question

Mon Apr 20, 2015 4:12 pm

so what i did :
- create 2 separate bridges : gigabit and fast ethernet
- assigned all 5 gbit ports to Gigabit swith and all fast ethernet (slave ports) to the second bridge
Now looking @ the product block diagram it seems that all 5 Gbit ports are processes by the dedicated gigabit switch chip and the other 5 by the CPU itself.
Is there a way i can still tune the switch performance?
On both switches can i use access ip 0.0.0.0/24 ? or should i define the specific switch access ip on both?
thank you.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: Bridge mode performance question

Mon Apr 20, 2015 6:09 pm

so what i did :
- create 2 separate bridges : gigabit and fast ethernet (1)
- assigned all 5 gbit ports to Gigabit swith and all fast ethernet (slave ports) to the second bridge
Now looking @ the product block diagram it seems that all 5 Gbit ports are processes by the dedicated gigabit switch chip and the other 5 by the CPU itself. (2)
Is there a way i can still tune the switch performance?
On both switches can i use access ip 0.0.0.0/24 ? or should i define the specific switch access ip on both?
thank you.
(1) No - you only use one bridge.

Set ether2 - ether5 as slave with ether1 as master. (switch1)
Set ether7 - ether10 as slave with ether6 as master. (switch2)
Set bridge1 with ports ether1 and ether6 (cpu)

The CPU bridge is only there to connect traffic between the two switches.

Hosts on the gigabit ports will reach each other at wire speed. (no CPU load)
Hosts on the 10/100 ports will reach each other at wire speed. (no CPU load)
Hosts on 10/100 can talk to hosts on the gigabit ports by crossing the CPU bridge - which can handle a decent amount of traffic if you're using 1500-byte packets and no bridge firewall rules / IP firewall rules.
-- note: these first two statements are true, even for devices connected to the master ports, so ether1 <> ether4 can go at wire speed without consuming CPU.

(2) No
The cpu and the ethernet controller (as well as the wireless) are built into the same die, but it is not the same as the CPU. If you were to crack open the case, it's like there are three chips inside. Think of it like a "north bridge" chip or something - except that there is a CPU inside the same chip as well.....

So even though the 10/100 controller is on the same piece of silicon as the CPU, hardware-switched traffic on the 10/100 does not consume CPU cycles.
 
User avatar
nikkon
newbie
Topic Author
Posts: 49
Joined: Wed Apr 01, 2015 2:34 pm
Location: Amsterdam

Bridge mode performance question

Mon Apr 20, 2015 9:32 pm

Thank you for the clarification ZeroByte .
I didn't know that.seems pretty simple. I'll update asap i make it.


Sent from my iPad using Tapatalk
 
User avatar
nikkon
newbie
Topic Author
Posts: 49
Joined: Wed Apr 01, 2015 2:34 pm
Location: Amsterdam

Re: Bridge mode performance question

Mon Apr 20, 2015 10:07 pm

Config done.
I guess this is how it should look like
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], fxcd and 125 guests