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

UCX: Create one worker per thread #134

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

tvegas1
Copy link
Collaborator

@tvegas1 tvegas1 commented Nov 7, 2023

What

Always progress workers by the same thread to relax contention.

Why

Around 50% gain seen on small/mid-size tests. Tested up to 128 nodes.

How

Use linked-list and do not manipulate the ucp_worker_h directly.

@tvegas1 tvegas1 requested a review from brminich November 7, 2023 13:11
src/ucx_plugin.c Outdated Show resolved Hide resolved
src/ucx_plugin.c Outdated Show resolved Hide resolved
src/ucx_plugin.c Show resolved Hide resolved
@bureddy bureddy merged commit 81c41e6 into Mellanox:master Nov 14, 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