Skip to content

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

Merged
bureddy merged 1 commit into
Mellanox:masterfrom
tvegas1:dev/send_check_nonblock
Nov 6, 2023
Merged

Make send check non-blocking to allow other workers to be progressed#132
bureddy merged 1 commit into
Mellanox:masterfrom
tvegas1:dev/send_check_nonblock

Conversation

@tvegas1

@tvegas1 tvegas1 commented Nov 1, 2023

Copy link
Copy Markdown
Collaborator

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
Comment thread src/ucx_plugin.c
Comment thread src/ucx_plugin.c
@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
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