Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10078

TTaskGroup creates a new TBB arena rather than isolating the work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.18/00
    • Fix Version/s: 6.18/00
    • Component/s: Core Libraries
    • Labels:
      None
    • Environment:

      all

      Description

      CMS (D. Riley) noted that TTaskgroup creates a separate TBB task arena for IMT work isolation. Unfortunately, creating a separate task arena creates a separate thread pool, which doubles the number of threads in a multi-threaded cmsRun job, complicates the job accounting, and potentially opens the possibility of using more than our allotted resources.

      It would be better to use `tbb::this_task_arena::isolate()` for work isolation, as is already done in `TThreadExecutor`.

        Attachments

          Activity

            People

            • Assignee:
              dpiparo Danilo Piparo
              Reporter:
              dpiparo Danilo Piparo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual End: