Processor Assignment

You can use wRTOS Settings to configure the number of processors dedicated to Windows or the Real-Time Subsystem (RTSS). Depending on the wRTOS Runtime edition, you can dedicate up to 63 processors to RTSS.

Note: If you use Hyper-Threading, you should avoid splitting two logical cores that use the same physical core between Windows and RTSS.

When configuring processors, it is helpful to remember these rules:

Processors are identified by their system-wide processor number when using an affinity mask within an RTAPI call. For example, three processors are dedicated to Windows and five are dedicated to RTSS. Physically, this configuration dedicates Processors 0, 1, and 2 to Windows and Processors 3 through 7 to RTSS.

Note: The total number of processors dedicated to Windows and RTSS should equal the total number of processors in your system. If you do not configure your system in this way, the unassigned processors will not be used by either Windows or RTSS and you will lose valuable processors.

Related topics: