How many cores are assigned to each port in Mikrotik CCR 1036 ?

Dear All,

As I know that in mikrotik router 1 core is assigned to one port means 1.2 Ghz x 1 core so each port has 1.2 Ghz frequency. Mikrotik CCR 1036-8G-2S+EM total cores are 36 and ports are 10 that are 8 Ethernet and 2 ports are 10 G SFP. So I want to know how many cores are assigned to each port in this model ?

AFAIK it’s not exactly the way you’re describing it. Indeed in TILE architecture, Gbe interfaces are directly serviced by connected TILE cores, but that’s true only for I/O. General processing (e.g. connection tracking, firewall rules, BGP/OSPF updates, …) can be (and is) spread around all cores. Which means that any of CCR’s cores can work on a particular IP packet regardless the ingress/egress interface. Typically for a packet passing router, ingress through one interface and egress through different interface, at least two cores would get involved (the core handling I/O on ingress port, the core handling I/O on egress port, optionally core handling firewall processing for that packet and optionally number of cores passing data between the 3 before mentioned cores). You can get an idea if you look at TILE64 processor schematic.

There’s another limitation, but it’s not TILE-specific: with connection tracking enabled, all packets of certain connection will be processed by same CPU core. Reason for it is to avoid out-of-sequence delivery which might happen if one packet would be processed by a loaded core while next packet would be processed by an idle core and would overtake the preceding packet due to different processing delays. Consequently there’s a practical throughput limit, observed when using single stream testing (e.g. speedtest with single connection) where router with numerous yet less powerful CPU cores can severely limit the throughput (CPU profiling would show single CPU being loaded to maximum, other cores would idle) while similar test using multiple concurrent connections shows high throughput (multiple CPU cores are loaded).

When you do bonding from 4x port and one QoS on that then only 1core will work and this will be your limitation.