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 thread priority. The default priority is 21. For information on setting the priority using an io-sock configuration file, see the io-sock and sysctl entries in the Utilities Reference.

Driver-specific thread priorities are not supported.

Page updated: