Skip to content

Commit ac08eec

Browse files
committed
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>
1 parent 7d1711f commit ac08eec

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
*
@@ -49,13 +49,13 @@ static int mca_btl_uct_component_register(void)
4949
{
5050
mca_btl_uct_module_t *module = &mca_btl_uct_module_template;
5151

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

0 commit comments

Comments
 (0)