Threading model and priorities

Updated: April 19, 2023
The default mode of operation for io-sock is to start with multiple threads for: In addition, each driver creates one (e.g., devs-re.so) or several (e.g., devs-ixgbe.so) threads per CPU.

Configuring thread priority

The threading model for io-sock combines the FreeBSD kernel and a QNX resource manager.

Note: If io-sock runs out of threads, it blocks. There is a limit of 700 resource manager threads and 1000 total threads.

The io-sock manager allows you to configure the priority of the threads responsible for receiving packets from the hardware.

By default, the priority of these threads is 21. For the options that allow you to specify different values, see io-sock in the “Utilities and Driver Reference” chapter.

Driver-specific thread priorities are not supported.

Resource manager threads inherit their priority from the client making the request.