Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Overview

RouterOS v7 is capable of splitting tasks between multiple processes.
There is one "main" task, which can start/stop sub-tasks and process data between those sub-tasks. Each sub-task can allocate "private" (only accessible by this particular task) and "shared" memory (accessible by all route tasks).

...

  • Handling of "print" command;
  • Entire OSPF protocol handling;
  • Entire RIP protocol handling;
  • Static configuration handling;
  • Routing Policy configuration;
  • BGP connections and configuration handling;
  • BGP receive (one task per peer or grouped by specific parameters);
  • BGP send (one task per peer or grouped by specific parameters);
  • FIB update.

BGP Sub-Tasks

BGP receive and send can be split in sub tasks by specific parameters, for example, it is possible to run input per each peer or group all peer inputs and run them in main process. This split by sub-tasks is controlled with input.affinity and output.affinity parameter configuration in /routing/bgp/template.It is possible to boost performance by playing with affinity values on devices with less cores, since sharing data between tasks is a bit slower than process the same data within one task. For example, on single core or two core devices running input and output in main or instance process will boost performance.

...