Skip to content

Commit 6d65e50

Browse files
author
Ralph Castain
authored
Merge pull request #3459 from rhc54/topic/oobdefaults
By default, use the system default snd/recv buffer sizes
2 parents eb03679 + 3a434d7 commit 6d65e50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

orte/mca/oob/tcp/oob_tcp_component.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,17 +240,17 @@ static int tcp_component_register(void)
240240
MCA_BASE_VAR_SCOPE_LOCAL,
241241
&mca_oob_tcp_component.max_retries);
242242

243-
mca_oob_tcp_component.tcp_sndbuf = 128 * 1024;
243+
mca_oob_tcp_component.tcp_sndbuf = 0;
244244
(void)mca_base_component_var_register(component, "sndbuf",
245-
"TCP socket send buffering size (in bytes)",
245+
"TCP socket send buffering size (in bytes, 0 => leave system default)",
246246
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
247247
OPAL_INFO_LVL_4,
248248
MCA_BASE_VAR_SCOPE_LOCAL,
249249
&mca_oob_tcp_component.tcp_sndbuf);
250250

251-
mca_oob_tcp_component.tcp_rcvbuf = 128 * 1024;
251+
mca_oob_tcp_component.tcp_rcvbuf = 0;
252252
(void)mca_base_component_var_register(component, "rcvbuf",
253-
"TCP socket receive buffering size (in bytes)",
253+
"TCP socket receive buffering size (in bytes, 0 => leave system default)",
254254
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
255255
OPAL_INFO_LVL_4,
256256
MCA_BASE_VAR_SCOPE_LOCAL,

0 commit comments

Comments
 (0)