You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/06/10 12:35:27 UTC

[GitHub] [tvm] tqchen commented on pull request #11448: [Runtime][Thread pool]

tqchen commented on PR #11448:
URL: https://github.com/apache/tvm/pull/11448#issuecomment-1152312317

   Thanks @sunjiweiswift . In this case the busy waiting(spinning) is intentional. This is based on the assumption that most of the cases the job in the parallel launcher are symmetric, and the workload is so fine grianed that waiting on conditional variable would result in additional overhead. We want to ensure low overhead of small jobs and can afford to waste a bit of resources
   
   In computation the particular CPU thread is pinned and won't be scheduled for other jobs, while there is wasted cpu cycles (to wait for other jobs to finish), it is less likely going to cause a resource contention.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org