Way to reduce thread back-off spinning? #1827
slomp
started this conversation in
Design discussions
Replies: 1 comment
-
|
Hi @slomp. Thank you for asking. You can use the following preview feature: https://uxlfoundation.github.io/oneTBB/main/reference/parallel_phase_for_task_arena.html Consider setting fast leave policy to move worker threads back to the thread pool to sleep once there are no arenas with active demand. More details and examples for this feature are available at https://github.com/uxlfoundation/oneTBB/tree/master/rfcs/experimental/parallel_phase_for_task_arena |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to set a policy to make worker thread prefer parking/waiting instead of spinning?
Beta Was this translation helpful? Give feedback.
All reactions