Skip to content

Migrate from TBB Task API

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