Community discussions

MikroTik App
 
netboyzin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 74
Joined: Thu Mar 21, 2013 3:42 pm

Packet Processing in Mikrotik

Fri Sep 19, 2014 3:07 pm

Hi

Packet processing in Mikrotik is done by Software or dedicated ASIC ?

Abhishek
 
Zorro
Long time Member
Long time Member
Posts: 675
Joined: Wed Apr 16, 2014 2:43 pm

Re: Packet Processing in Mikrotik

Fri Sep 19, 2014 5:49 pm

Hi

Packet processing in Mikrotik is done by Software or dedicated ASIC ?

Abhishek
1st.
but by "firmware" to be exact(despite you can call "software" anything, from CPU microcode to really complex solutions.
p.s.
number of devices, Really using ASIC for something meaningful ALONE, quite limited aswell as their usage.
and such side of them, despite advertisements, had more drawbacks, than positive sides/elements.
 
User avatar
tomaskir
Trainer
Trainer
Posts: 1162
Joined: Sat Sep 24, 2011 2:32 pm
Location: Slovakia

Re: Packet Processing in Mikrotik

Fri Sep 19, 2014 6:03 pm

To actually answer the quesions:

Some functions are performed on the ASIC (like "/interface ethernet switch" menu), but most functions are implemented in software.

Do note that MikroTik has fast-path, so a lot of the stuff is actually handled by device drivers and the Linux kernel directly.
 
netboyzin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 74
Joined: Thu Mar 21, 2013 3:42 pm

Re: Packet Processing in Mikrotik

Mon Sep 22, 2014 4:33 pm

Hi
Thanks for your replies.

To be very specific, we have very recently deployed 3 CCR Routers in our network as hotspots each passing 300-350 Mbps of average bandwidth with 1200 to 1500 online susbcribers. Our policies are multi-rated. Average CPU percentage is 35%.

I am not sure , if the above statistics are optimum, but I have seen CPU % is directly proportional to the amount of bandwidth is passes and whenever I switch-on the Firewall module ( connection tracking ) . If the packet processing for firewall module can be offloaded from CPU to some auxiliary co-processor somehow, then we can save drastic amount of energy from the router.

This is just a commercial viewpoint , technical pros and cons can be highlighted by the Gurus only.

Abhishek
 
Zorro
Long time Member
Long time Member
Posts: 675
Joined: Wed Apr 16, 2014 2:43 pm

Re: Packet Processing in Mikrotik

Tue Sep 23, 2014 5:06 am

amounts of silicon and power wasted to implement "in transistors" essential for networking "hostspots" in firmware codes(routing, nat-ing, ips and etc -relevant stuff all the same), considered ridiculous, compare to more versatile/all-around. use of them during chips design.
but its matter of times too, not so near, but it eventually happen with networking SoC.
even intel start enjoy moving stuff from microcode to silicon with notable benefits, so its only depend on time/moment, where its become both tehcnically and economically reasonably enough.
Last edited by Zorro on Tue Sep 23, 2014 3:13 pm, edited 1 time in total.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Packet Processing in Mikrotik

Tue Sep 23, 2014 8:11 am

Please note that mikrotik doesn't design the chips but uses available standard chips from their manufacturers. If you have any idea how to improve their chips send it to them.
 
Zorro
Long time Member
Long time Member
Posts: 675
Joined: Wed Apr 16, 2014 2:43 pm

Re: Packet Processing in Mikrotik

Tue Sep 23, 2014 3:10 pm

Please note that mikrotik doesn't design the chips but uses available standard chips from their manufacturers. If you have any idea how to improve their chips send it to them.
or better - create you company and start sell such chips to mikrotik ;)
there was hungreds fabless design companies in semicon. but so far - nothing really IMPRESSIVE for networking, yet, sadly.
Tilera chips was great, but initialy made toward different usage (check "The Angstrom Project" in google and DARPA goals bout "exascale" and other HPC ambition) and thus, fine-tuned a bit differently.