Skip to content

Conversation

@rajachan
Copy link
Member

This commit removes the unnecessary call to fi_getinfo() when
initializing the MTL. cq_data_size is a domain attribute that will be
available to the MTL from the initial query itself. FI_DIRECTED_RECV is
a primary capability that has to be requested for a provider to enable
it, so adding that to the initial requirement. The redundant query was
also overwriting the contents of the prov object, which already had the
include/exclude filtering and multi-NIC logic applied to it.

Signed-off-by: Raghu Raja [email protected]
(cherry picked from commit 6233dea)

This commit removes the unnecessary call to `fi_getinfo()` when
initializing the MTL. `cq_data_size` is a domain attribute that will be
available to the MTL from the initial query itself. FI_DIRECTED_RECV is
a primary capability that has to be requested for a provider to enable
it, so adding that to the initial requirement.  The redundant query was
also overwriting the contents of the prov object, which already had the
include/exclude filtering and multi-NIC logic applied to it.

Signed-off-by: Raghu Raja <[email protected]>
(cherry picked from commit 6233dea)
@rajachan rajachan requested a review from jsquyres November 12, 2020 21:16
@rajachan rajachan changed the title mtl/ofi: Check cq_data_size without querying providers again [v4.1.x] mtl/ofi: Check cq_data_size without querying providers again Nov 12, 2020
@rajachan rajachan requested a review from dancejic November 12, 2020 21:35
@rajachan
Copy link
Member Author

I've run tests with this PR, with and without multiple NICs on AWS, and things look good.

@jsquyres jsquyres added this to the v4.1.0 milestone Nov 12, 2020
@rajachan rajachan merged commit 093570a into open-mpi:v4.1.x Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants