Skip to content
Snippets Groups Projects

Migrate from TBB Task API

Merged Illya Shapoval requested to merge ishapova/Gaudi:switch-to-tbb-taskgroup into master

Intel may decide to remove all task-related APIs from TBB, and already marked it as deprecated. The MR is what we could do to adapt to this change if Intel were to finalize the API decommissioning. The changes bring 1.5% improvement in scheduling overhead, as observed at 18 threads in ATLAS MC reconstruction scenario. Comments are very welcome.

Three components migrated to tbb::task_group are:

  • AvalancheSchedulerSvc
  • ThreadPoolSvc
  • SerialTaskQueue

@clemenci We don't use SerialTaskQueue in ATLAS, nor do we use TBBMessageSvc. I don't know if these two components are used elsewhere. But I took the occasion to revise that code as well just to rewrite similar uses in one go. Please let me know if the components are obsolete.

The MR is based on !1051 (merged), so please do merge the latter first. Before then please find the changes here: eaac64db...99148103.

Edited by Illya Shapoval

Merge request reports

Pipeline #2464817 passed

Pipeline passed for ae49f632 on ishapova:switch-to-tbb-taskgroup

Approved by

Merged by Marco ClemencicMarco Clemencic 3 years ago (May 21, 2021 11:46am UTC)

Merge details

  • Changes merged into master with 06d75cd6.
  • Deleted the source branch.

Pipeline #2632551 passed with warnings

Pipeline passed with warnings for 06d75cd6 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading