Skip to content

Commit

Permalink
osc/rdma: Lower priority to 20
Browse files Browse the repository at this point in the history
The RDMA OSC component is the "general" component, similar to OB1.
The OSC subsystem has gone through some priority inflation over
the years, so try to clean that up. This patch lowers the RDMA
OSC component priority from 101 to 20, leaving the priorities as:

  sm      100
  ucx     60 (if API version > 1.5.0)
  portals 20
  rdma    20

Signed-off-by: Brian Barrett <[email protected]>
  • Loading branch information
bwbarrett committed Feb 9, 2022
1 parent 4bb33a2 commit a925b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ompi/mca/osc/rdma/osc_rdma_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static int ompi_osc_rdma_component_register (void)
MCA_BASE_VAR_SCOPE_GROUP, &mca_osc_rdma_component.max_attach);
free(description_str);

mca_osc_rdma_component.priority = 101;
mca_osc_rdma_component.priority = 20;
opal_asprintf(&description_str, "Priority of the osc/rdma component (default: %d)",
mca_osc_rdma_component.priority);
(void) mca_base_component_var_register (&mca_osc_rdma_component.super.osc_version, "priority", description_str,
Expand Down

0 comments on commit a925b33

Please sign in to comment.