MikroTik Guide
Flat isometric illustration of a slate router with three tall pink antennas, a white chip on its lid and a row of small pink indicator blocks, on navy.
networking

MikroTik High CPU: Why RouterOS Throughput Drops

Diagnose high CPU and slow throughput on MikroTik RouterOS. Check per-core load, find the busy process, and verify FastTrack and bridge offload.

By MikroTik Guide Editorial · · Updated · 4 min read

MikroTik throughput can drop when RouterOS sends more traffic through the CPU or when another service competes for CPU time. Check per-core load and run Profiler during the slowdown, then verify whether the affected traffic is using FastTrack or bridge hardware offload. MikroTik Packet Flow · MikroTik Profiler

If this is a new installation, work through the MikroTik router setup checklist before treating slow forwarding as a sizing problem.

Three paths, not one

  • Switch-chip offload. For hardware-offloaded Layer 2 forwarding, the switch chip can send frames directly between switched ports. Software bridging uses CPU resources instead. MikroTik Bridging and Switching
  • FastPath. Eligible packets take a shortened software path that skips processing through some RouterOS facilities. MikroTik Packet Flow
  • Slow path. Packets go through regular software processing, where features such as firewall filtering, connection tracking, and queues can apply. A packet can also start on FastPath and switch to the slow path partway through. MikroTik Packet Flow

What FastTrack bypasses, and why that matters

For IPv4 TCP and UDP, a firewall rule with action=fasttrack-connection marks a tracked connection so eligible packets can use FastPath. Some packets still take the slow path, which is why MikroTik pairs the FastTrack rule with a matching action=accept rule. MikroTik Connection Tracking

FastTracked packets bypass firewall filtering, mangle rules, and connection tracking. They also bypass simple queues, queue trees with parent=global, IP Traffic Flow, IP accounting, IPsec, the HotSpot universal client, and VRF assignment. Queue trees parented to interfaces can still apply. MikroTik Packet Flow · MikroTik Connection Tracking

Keep traffic that relies on those features outside FastTrack. For example, a simple queue cannot enforce a per-client limit on packets that bypass it. Place applicable exceptions above the FastTrack rule and account for connections that remain marked until they close, time out, or the router reboots. MikroTik Packet Flow · MikroTik Connection Tracking

A diagnostic order

Check overall and per-core CPU usage. Compare cpu-load from the first command with the per-core load in the second. Record whether one core or several are busy during the slowdown. MikroTik Resource

/system resource print
/system resource cpu print

Run Profiler during the slowdown. Use /tool profile cpu=all to show CPU usage by classifier on each core. Compare the busiest classifiers with the work the router was doing at the time. MikroTik Profiler

Profiler classifierWhat it covers
networkingGeneral networking services
firewallFirewall-related processing
managementSeveral subsystems, including scheduling, networking, and file handling
snmpCPU usage attributed to SNMP
unclassifiedWork from processes or services outside the defined categories
containerCombined CPU usage of containers
dns, logging, wirelessDNS, logging, and wireless services, respectively

Check bridge offload for local switching. Run /interface bridge port print and look for the H flag on the ports carrying the traffic. If the flag is missing, use the switch-chip compatibility table to check whether your bridge settings support offload. Changes such as toggling VLAN filtering can temporarily interrupt traffic. MikroTik Bridging and Switching

For the configuration sequence, see VLAN filtering on RouterOS bridges.

Check the forwarding path for routed traffic. Run /interface print stats-detail to check FastPath activity. For the affected IPv4 flow, inspect its entry in /ip firewall connection for FastTrack status and FastTracked packet counters. MikroTik Packet Flow · MikroTik Connection Tracking

If throughput fell after a configuration change, check whether the affected traffic now needs queueing, mangle processing, Traffic Flow, or IPsec. If container is high in Profiler, investigate CPU consumption from containers alongside the forwarding checks. MikroTik Packet Flow · MikroTik Connection Tracking · MikroTik Profiler

Culprits worth checking early

Torch or the packet sniffer is still running. Both tools can prevent FastPath and FastTrack from operating. Stop the capture before rechecking forwarding throughput. MikroTik Packet Flow

Logging is prominent in Profiler. Check /system logging for the topics and actions in use. Check /system logging action to see whether the target writes to disk, stores entries in memory, or sends them to a remote host. MikroTik Profiler · MikroTik Log

Firewall rules or connection tracking need a closer look. Run /ip firewall filter print stats for rule packet and byte counts. Filter chains run from top to bottom, so check rule order before changing it and preserve any earlier rules the policy relies on. MikroTik Filter

For connection table pressure, compare total-entries with max-entries in /ip firewall connection tracking. The first is the current count and the second is the table’s capacity. MikroTik Connection Tracking

Compare throughput with a matching benchmark

Compare routing with routing, and use the closest frame size and feature set in the product table. These are MikroTik’s published routing results at 1518 bytes, in thousands of packets per second (kpps).

RouterFastPath with no added rules or queuesPublished result with added processing
RB5009UG+S+IN test results811.2 kpps771.2 kpps with 25 IP filter rules
hEX S (RB760iGS) test results148.4 kpps114.5 kpps with 25 simple queues

If the observed rate is close to the matching benchmark and the workload requires the extra processing, use the RouterOS FastPath and switch-chip sizer to estimate the ceiling. The model-by-model buying guide explains which board has the headroom.

What “high CPU” does not mean

Use CPU load to explain a symptom. If throughput meets expectations, check for unacceptable latency or packet loss before treating high CPU usage as a fault.

For a new router, follow the configuration order in securing a new RouterOS box.

Evidence and limits. The steps are based on MikroTik’s RouterOS 7 documentation and were not run on a router for this guide. The throughput figures come from MikroTik’s Ethernet test tables for the configurations shown.

Sources

  1. Packet Flow in RouterOS - MikroTik Documentation
  2. Connection tracking and FastTrack - MikroTik Documentation
  3. Profiler - MikroTik Documentation
  4. Bridging and Switching - MikroTik Documentation
  5. MikroTik RB5009UG+S+IN product page and test results
  6. MikroTik hEX S (RB760iGS) product page and test results
  7. Resource - MikroTik Documentation
  8. Filter - MikroTik Documentation
  9. Log - MikroTik Documentation

Related