Skip to content

Commit c4b5148

Browse files
hjelmnawlauria
authored andcommitted
btl/uct: set reasonable defaults
This commit updates the defaults for btl/uct to allow Mellanox HCAs (mlx4_0, and mlx5_0) to allow osc/rdma to work out of the box if selected. The component does not allocate any UCX resources until add_procs so this should not have any impact on the default performance. References #9580 Signed-off-by: Nathan Hjelm <hjelmn@google.com> (cherry picked from commit ac08eec)
1 parent b58ad5e commit c4b5148

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

opal/mca/btl/uct/btl_uct_component.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
1818
* Copyright (c) 2018 Triad National Security, LLC. All rights
1919
* reserved.
20-
* Copyright (c) 2019-2020 Google, LLC. All rights reserved.
20+
* Copyright (c) 2019-2021 Google, LLC. All rights reserved.
2121
* Copyright (c) 2019 Intel, Inc. All rights reserved.
2222
* $COPYRIGHT$
2323
*
@@ -47,13 +47,13 @@ static int mca_btl_uct_component_register(void)
4747
{
4848
mca_btl_uct_module_t *module = &mca_btl_uct_module_template;
4949

50-
mca_btl_uct_component.memory_domains = "none";
50+
mca_btl_uct_component.memory_domains = "mlx5_0,mlx4_0";
5151
(void) mca_base_component_var_register(
5252
&mca_btl_uct_component.super.btl_version, "memory_domains",
5353
"Comma-delimited list of memory domains of the form "
5454
"to use for communication. Memory domains MUST provide transports that "
5555
"support put, get, and amos. Special values: all (all available), none."
56-
" (default: none)",
56+
" (default: mlx5_0,mlx4_0)",
5757
MCA_BASE_VAR_TYPE_STRING, NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE, OPAL_INFO_LVL_3,
5858
MCA_BASE_VAR_SCOPE_LOCAL, &mca_btl_uct_component.memory_domains);
5959

0 commit comments

Comments
 (0)