Skip to content

Fix preference treatment in coll/base [v4.1.x]#8237

Merged
jsquyres merged 4 commits intoopen-mpi:v4.1.xfrom
devreal:fix-coll-base-preference-v4.1.x
Nov 20, 2020
Merged

Fix preference treatment in coll/base [v4.1.x]#8237
jsquyres merged 4 commits intoopen-mpi:v4.1.xfrom
devreal:fix-coll-base-preference-v4.1.x

Conversation

@devreal
Copy link
Contributor

@devreal devreal commented Nov 20, 2020

While testing HAN with ADAPT I noticed that ADAPT is not selected without jumping through some hoops:

  1. The preference treatment in coll/base should append the coll modules to the selectable list (the list is order in ascending priority order) and it should preserve the priority provided by the user (decreasing priority order in the ompi_comm_coll_preference info key).
  2. Fix priority handling in coll/sm, coll/adapt, and coll/han and removed references to experimental components coll/solo and coll/shared

Backport of #8220 to v4.1.x

Signed-off-by: Joseph Schuchart schuchart@icl.utk.edu

The selectable list is sorted with lowest to highest priority so the
user-defined preferences should be appended to the list.
The preference treatment should also maintain the order provided by the user
(first item has highest priority) so switch the loop order.

Signed-off-by: Joseph Schuchart <schuchart@icl.utk.edu>
(cherry picked from commit dd54af9)
Signed-off-by: Joseph Schuchart <schuchart@icl.utk.edu>
(cherry picked from commit 09c2f4a)
…e components

Also make coll/tuned the default for shared memory communication
as coll/sm has shown performance issues that need investigation.

Signed-off-by: Joseph Schuchart <schuchart@icl.utk.edu>
(cherry picked from commit 971d58c)
This has shown to be more effective in achieving overlap
of inter- and intra-node communication and reduces the inital
delay before hitting the network.

Signed-off-by: Joseph Schuchart <schuchart@icl.utk.edu>
(cherry picked from commit 1cdc855)
Copy link
Member

@rajachan rajachan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix.

@jsquyres jsquyres merged commit 4c0c0e9 into open-mpi:v4.1.x Nov 20, 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