Skip to content

UCP/RNDV/GTEST: Add support for fragmented RNDV AM and setting RNDV_AM scheme - #6870

Closed
dmitrygx wants to merge 2 commits into
openucx:masterfrom
dmitrygx:topic/ucp/frag_rndv_data
Closed

dmitrygx wants to merge 2 commits into
openucx:masterfrom
dmitrygx:topic/ucp/frag_rndv_data

Conversation

@dmitrygx

Copy link
Copy Markdown
Member

What

  1. UCP/RNDV: Add support for fragmented RNDV AM.
  2. UCP/RNDV/GTEST: Add AM RNDV scheme + test it with memtype

Why ?

  1. Fixes Rndv pipepline fails if the iface does not support put_zcopy #6836.
  2. To reproduce problem reported in Rndv pipepline fails if the iface does not support put_zcopy #6836.

How ?

  1. Handle RNDV data message on a receiver when request has RNDV_FRAG flag set.
  2. Handle UCX_RNDV_SCHEME=am to transfer data by using RNDV AM scheme. Extend test_ucp_am_nbx_rndv_memtype test suite with rndv_am which sets UCX_RNDV_SCHEME=am

@yosefe

yosefe commented May 30, 2021

Copy link
Copy Markdown
Member

can't we just disable sending frag-rtr if the lane does not support PUTR?

@dmitrygx

Copy link
Copy Markdown
Member Author

can't we just disable sending frag-rtr if the lane does not support PUTR?

then we should pack a flag that PUT isn’t supported by sender

@yosefe

yosefe commented May 30, 2021

Copy link
Copy Markdown
Member

can't we just disable sending frag-rtr if the lane does not support PUTR?

then we should pack a flag that PUT isn’t supported by sender

for now, we can assume symmetry in the support, with new protocol we'll support fallback to AM

@dmitrygx

Copy link
Copy Markdown
Member Author

for now, we can assume symmetry in the support, with new protocol we'll support fallback to AM

btw, maybe if transport doesn’t PUT/GET to GPU memory, we should do pipelined RNDV AM, wdyt?
It should be more optimal than just AM from/to GPU memory.

@yosefe

yosefe commented May 30, 2021

Copy link
Copy Markdown
Member

for now, we can assume symmetry in the support, with new protocol we'll support fallback to AM

btw, maybe if transport doesn’t PUT/GET to GPU memory, we should do pipelined RNDV AM, wdyt?
It should be more optimal than just AM from/to GPU memory.

If the transport does not support PUT/GET to GPU memory (for example : TCP) we can do the PUT/GET pipeline since it's using host buffers. If the transport does not support PUT/GET to host memory (or does not support PUT/GET at all) - only then fallback to AM.

@dmitrygx

Copy link
Copy Markdown
Member Author

If the transport does not support PUT/GET to GPU memory (for example : TCP) we can do the PUT/GET pipeline since it's using host buffers.

yes, I see

If the transport does not support PUT/GET to host memory (or does not support PUT/GET at all) - only then fallback to AM.

Ok, will re-write to check PUT support on a receiver.

@dmitrygx

dmitrygx commented Jun 1, 2021

Copy link
Copy Markdown
Member Author

replaced by #6881

@dmitrygx dmitrygx closed this Jun 1, 2021
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.

Rndv pipepline fails if the iface does not support put_zcopy

2 participants