Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate single await-push command per buffer for all local chunks #324

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

psalz
Copy link
Member

@psalz psalz commented Dec 20, 2024

This brings await-pushes in line with pushes, where we already compute the union of all regions required by remote chunks executed on the same node.

This brings await-pushes in line with pushes, where we already compute
the union of all regions required by remote chunks executed on the same
node.
Copy link

Check-perf-impact results: (241536968c1afd627708e72c171c89f6)

🚀 Significant speedup (<0.80x) in some microbenchmark results: benchmark intrusive graph dependency handling with N nodes - 100 / creating nodes

Relative execution time per category: (mean of relative medians)

  • command-graph : 1.02x
  • graph-nodes : 0.97x
  • grid : 0.98x
  • instruction-graph : 1.00x
  • scheduler : 0.98x
  • system : 1.05x
  • task-graph : 1.02x

@coveralls
Copy link

Pull Request Test Coverage Report for Build 12435190957

Details

  • 20 of 20 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.007%) to 95.057%

Totals Coverage Status
Change from base Build 12390656669: 0.007%
Covered Lines: 7098
Relevant Lines: 7203

💛 - Coveralls

Copy link
Contributor

@GagaLP GagaLP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the small comment i made this looks good.

for(const auto& [box, wcs] : local_sources) {
// Note that we initialize all buffers as fresh, so this doesn't trigger for uninitialized reads
if(!box.empty() && !wcs.is_fresh()) { missing_part_boxes.add(box); }
if(!box.empty() && !wcs.is_fresh()) { missing_parts_boxes.push_back(box); }
}

// There is data we don't yet have locally. Generate an await push command for it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me this comment now seems a bit out of place since we don't generate the await push command in this if.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants