- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just recently I update my tbb 2.1 to tbb 3.0.
And I also switch my pthreads to tbb tasks after reading the
following article
http://software.intel.com/en-us/articles/using-tasks-instead-of-threads/
After taking an analysis on the "locks and waits" I found out that
my program ran slower and having a significant overhead on the
"manual reset event", the wait time was about 6s.
Could anyone what went wrong ?
thanks!
And I also switch my pthreads to tbb tasks after reading the
following article
http://software.intel.com/en-us/articles/using-tasks-instead-of-threads/
After taking an analysis on the "locks and waits" I found out that
my program ran slower and having a significant overhead on the
"manual reset event", the wait time was about 6s.
Could anyone what went wrong ?
thanks!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AFAIR, manual reset event is used to park worker threads in TBB. So perhaps your program does not yield enough parallelism, so that some worker threads are parked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check the call stack for the wait on manual reset event.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page