Skip to content

UCX protocols #9958

Answered by ivankochin
lijh5 asked this question in Q&A
Jun 14, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

AFAIK there is no detailed design documentation about proto selection.

The main difference between v1 and v2 is that v1 chooses protocol basing on calculated thresholds + hardcoded order that defines which protocol should be preferred. v2 builds mathematical performance prediction model for each protocol which estimates how much time would certain operation take and chooses protocol with fastest estimation.

You can examine how does v2 works in details by setting UCX_PROTO_INFO=y and UCX_PROTO_INFO_DIR=<patch_to_log_dir> variables.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Yangfisher1
Comment options

@yosefe
Comment options

@Yangfisher1
Comment options

Answer selected by lijh5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants