How does Intel TBB choose the number of threads to used for a parallel section?
Is there some kind of specification available?
Success! Subscription added.
Success! Subscription removed.
Sorry, you must verify to complete this action. Please click the verification link in your email. You may re-send via your profile.
How does Intel TBB choose the number of threads to used for a parallel section?
Is there some kind of specification available?
Link Copied
Hi Alexey,
sorry, if I misinterpret your post, but you seem to say opposite things :)
You said that TBB doesn't has a heuristic to determine the number of threads based on the system load, but then you said:
"the number of threads working on the region can change on the fly"
This would mean that TBB does indeed have a mechanism to prevent overloading the system.
How does TBB decide when to change the number of threads working on a region?
Cheers,
Constantin
Community support is provided Monday to Friday. Other contact methods are available here.
Intel does not verify all solutions, including but not limited to any file transfers that may appear in this community. Accordingly, Intel disclaims all express and implied warranties, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement, as well as any warranty arising from course of performance, course of dealing, or usage in trade.
For more complete information about compiler optimizations, see our Optimization Notice.