Skip to content

Conversation

@bosilca
Copy link
Member

@bosilca bosilca commented Oct 1, 2024

This is a meta import of all the missing patches for the UCT BTL. It includes #12817, #12818 and #12823.

hjelmn and others added 7 commits October 1, 2024 13:32
…n failure The mca_pml_ob1_recv_request_get_frag_failed method is responsible for returning or queueing the fragment but mca_pml_ob1_rget_completion was freeing it unconditionally. This will lead to a double return of the fragment to the free list and may lead to other errors if the fragment was queued for retry. This commit fixes the issue by only returning the fragment if it did not fail. Signed-off-by: Nathan Hjelm <hjelmn@google.com> (cherry picked from commit b7f8cae)
If a put or get operation fails it may later be retried by mca_pml_ob1_process_pending_rdma which increments retries on each new attempt. There is a flaw in the code where both the put and get failures also increment this counter leading to it giving up twice as fast. This commit removes the increments on the put and get failures. Signed-off-by: Nathan Hjelm <hjelmn@google.com> (cherry picked from commit 27efeb9)
…allback Under a number of circumstances it may be necessary to abandon an RDMA get in ob1. In some cases it falls back to put but it may fall back to using send/recv. If that happens then we may either crash or leak RDMA fragments because they are still attached to the send request. Debug builds will crash due to a check on rdma_frag when they are returned. This CL fixes the flaw by releasing any rdma fragment when sceduling sends. Signed-off-by: Nathan Hjelm <hjelmn@google.com> (cherry picked from commit 020e83f)
The check that requires 32 and 64 bit atomic support is way outdated at this point. This commit takes the union of the two instead of the intersection because technically it is up to the btl user to determine which of each type are supported. This commit also ensures that MCA_BTL_ATOMIC_SUPPORTS_32BIT is set when 32-bit atomics are available and ensures that the required MCA_BTL_FLAGS_RDMA_REMOTE_COMPLETION flag is set on the btl. Signed-off-by: Nathan Hjelm <hjelmn@google.com> (cherry picked from commit 8adf9f5)
Signed-off-by: George Bosilca <gbosilca@nvidia.com> (cherry picked from commit 58400ad)
Return the updated amount to allow the upper level to gracefully handle the case. Signed-off-by: George Bosilca <gbosilca@nvidia.com> (cherry picked from commit 27514c2)
Signed-off-by: George Bosilca <gbosilca@nvidia.com> (cherry picked from commit f29109a)
@bosilca bosilca added this to the v5.0.6 milestone Oct 1, 2024
@bosilca bosilca requested a review from hjelmn October 1, 2024 17:35
@janjust janjust merged commit e25d3e6 into open-mpi:v5.0.x Oct 3, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants