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

coll/xhc: Bring in latest developments #12908

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

gkatev
Copy link
Contributor

@gkatev gkatev commented Nov 4, 2024

Multiple changes, new features, and enchancements

Notable new features:

  • Inlining data in control path for extra small messages.
  • Allreduce goes through Bcast's implementation intead of duplicating it.
  • Fine grained op-wise tuning for hierarchy, chunk size, cico threshold.
  • Reduce reworked & improved, with double buffering and other optimizations.
  • When smsc support is not present, handle only small messages (below cico threshold), instead of not at all.

@gkatev
Copy link
Contributor Author

gkatev commented Dec 4, 2024

I assume the mpi4py CI failure here is unrelated to this PR.

@hppritcha
Copy link
Member

No this is due to a known race condition issue unrelated to this pr. See my latest pr against main which addresses the race condition.

ompi/mca/coll/xhc/coll_xhc.c Outdated Show resolved Hide resolved
ompi/mca/coll/xhc/coll_xhc.c Outdated Show resolved Hide resolved
@edgargabriel
Copy link
Member

I would honestly look at it slightly differently, we can discuss these issues ad absurdum, in my opinion they are not earth shaking either way (that's why I marked them as minor). The same rules are not being used in a number of other projects that I am involved, so I truly do not hold any religious beliefs in them.

However, I do see a benefit for a multi-institutional project such as Open MPI to follow some coding guidelines, to avoid that different parts of the code look vastly different.

@gkatev
Copy link
Contributor Author

gkatev commented Dec 6, 2024

I agree it's not the end of the world; I did kind of go and open a can of worms here, and I can't reasonably argue against adhering to an agreed upon standard. There are some issues associated with doing these conversions, so I would avoid them if it was agreed that the specific guideline(s) are not as heavily enforced/required/necessary (??), but it can certainly be done.

@rhc54
Copy link
Contributor

rhc54 commented Dec 6, 2024

Guess I'm more aligned with Edgar on this one - not religious about it, but there is a benefit to having coding standards, and it makes little sense to have them if we start saying "well not for this PR". 🤷‍♂️ Ultimately up to the community.

@gkatev
Copy link
Contributor Author

gkatev commented Dec 6, 2024

That's understandable -- I'll do the conversion, thanks for the input

@gkatev gkatev force-pushed the xhc_v2 branch 2 times, most recently from 3f27c83 to f22f327 Compare December 10, 2024 10:56
Multiple changes, new features, and enchancements

Notable new features:

- Inlining data in control path for extra small messages.
- Allreduce goes through Bcast's implementation intead of duplicating it.
- Fine grained op-wise tuning for hierarchy, chunk size, cico threshold.
- Reduce reworked & improved, with double buffering and other optimizations.
- When smsc support is not present, handle only small messages (below
	cico threshold), instead of not at all.

Signed-off-by: George Katevenis <[email protected]>
@gkatev
Copy link
Contributor Author

gkatev commented Dec 10, 2024

I've rectified the coding style issues, this is again ready for review.

Did you maybe have any other comments for this PR? @bosilca did you maybe have a chance to look this over? (sorry for the 'explicit ping', it appears I can't 'request a review' here, I can only re-request).

@gkatev gkatev requested a review from edgargabriel December 10, 2024 11:10
Copy link
Member

@edgargabriel edgargabriel left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

5 participants