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

Make send check non-blocking to allow other workers to be progressed #132

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

tvegas1
Copy link
Collaborator

@tvegas1 tvegas1 commented Nov 1, 2023

What

Make ucx_send_check() connection establishment non-blocking. This prepares later patch changing worker allocation scheme.

Why

When blocking on send check, this could cause dead-locks if on more than one node, other endpoints on other workers need to be progressed.

How

Make send check non-blocking. Next cleanup step can be moving send/recv check functions to connect/accept, delayed as it is causing other issues (#128)

@tvegas1 tvegas1 requested review from brminich and bureddy November 1, 2023 17:09
src/ucx_plugin.c Show resolved Hide resolved
src/ucx_plugin.c Show resolved Hide resolved
@tvegas1 tvegas1 requested a review from brminich November 3, 2023 15:02
@tvegas1 tvegas1 force-pushed the dev/send_check_nonblock branch from cd21977 to 554b171 Compare November 3, 2023 15:33
@bureddy bureddy merged commit 35520a0 into Mellanox:master Nov 6, 2023
5 checks passed
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