Skip to content

SuperPMI: Improve superpmi-diffs pipeline parallelism: split asmdiffs and tpdiff #80718

Closed

Description

@BruceForstall

Both asmdiffs and tpdiff are done for a single platform consecutively on the same Helix machine. In a recent run, it seems each takes about 30 minutes (MCH download takes 6 to 15 minutes).

If tpdiff ran on its own Helix machine, it could run in parallel, improving overall pipeline throughput. Also, asmdiffs only needs to depend on the Checked JIT builds, and tpdiff on the Release JIT builds.

Doing this would probably require altering how the diffs "summarizing" happens with superpmi_diffs_summarize.py.

category:eng-sys
theme:super-pmi
skill-level:intermediate
cost:medium
impact:medium

Activity

  1. added
    area-CodeGen-coreclr
    on Jan 16, 2023
  2. added this to the Future milestone on Jan 16, 2023
  3. BruceForstall commented on Jan 24, 2023

    @BruceForstall
    ContributorAuthor

    Extending this idea: we could create even more parallelism, such as a single Helix job for each separate <MCH file, tpdiff/asmdiffs type> pair. That is, for each MCH file, create one Helix job for tpdiff, and one for asmdiffs. This creates a separate job for each superpmi.py invocation. We would need to ensure the correlation payload (copied to every Helix machine) is minimized to minimize overall overhead.

  4. self-assigned this
    on Apr 8, 2023
  5. BruceForstall commented on Apr 11, 2023

    @BruceForstall
    ContributorAuthor

    This is basically complete -- the ideas above can be revisited if we decided throughput needs to be improved more.

  6. ghost locked as resolved and limited conversation to collaborators on May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclr

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions