Skip to content

[RF] Parallelize per-channel workspace creation in MakeModelAndMeasurementsFast #18683

Closed

Description

@Superharz

Explain what you would like to see improved and how.

Add an option to MakeModelAndMeasurementsFast to create the per-channel workspaces in parallel.

Right now, a for-loop over all channels is done and a workspace for each channel is created sequentially. This is usually fast.

However, in my case, to create a single channel workspace takes about 2 min (already with disabled file creation). This is still not much. However, my analysis has O(200) channels. Therefore, these 2 min per workspace stack to multiple hours.

If instead, multiple per-channel workspaces could be created in parallel, the runtime could be drastically reduced.

ROOT version

ROOT 6.37.01 from heads/master@v6-37-01-6587-gc7b62f1e9c

Installation method

Build from source

Operating system

AlmaLinux 9

Additional context

No response

Activity

  1. changed the title [-]Parallelize per-channel workspace creation in MakeModelAndMeasurementsFast[/-] [+][RF] Parallelize per-channel workspace creation in MakeModelAndMeasurementsFast[/+] on May 21, 2025
  2. added this to the 6.40.04 milestone on Aug 24, 2026
  3. guitargeek commented on Aug 25, 2026

    @guitargeek
    Contributor

    Addressed with a performance optimization that prevents the original bad performance scaling, so we don't need to parallelize:

  4. modified the milestones: 6.40.06, 6.40.04 on Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions