Threading model and priorities

QNX SDP8.0High-Performance Networking Stack (io-sock) User's GuideAPIArchitecture
The default mode of operation for io-sock is to start with multiple threads for:
  • the stack
  • each CPU
  • resource managers on each CPU
In addition, each driver creates one (e.g., devs-re.so) or several (e.g., devs-ix.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 the io-sock entry in the Utilities Reference.

Driver-specific thread priorities are not supported.

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

Page updated: