Worker threads number/affinity

Worker threads number/affinity

Consider, please, the ability to specify the affinity and/or number of worker threads during (parent) session initialization.
It will enable more efficient computational resources distribution in the following cases:
- imsdk-applications that have their own worker threads with high computational load;
- multiple processes using imsdk running in parallel;
- promote the use of only one particular NUMA-node (jointly with a custom BufferAllocator/FrameAllocator) by processors and memory.



2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.


Thank you for the input.  I'll pass the request to architects.

Old versions of Media SDK had this feature, but it has been deprecated (see mfxInfoMFX:NumThread).  For multiple processes in parallel, the MFXJoinSession capability is useful.

Leave a Comment

Please sign in to add a comment. Not a member? Join today