From 3a434d75d603cc4fbe7d9aba316e7f8cfb2d5b22 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Fri, 5 May 2017 09:58:05 -0700 Subject: [PATCH] By default, use the system default snd/recv buffer sizes Signed-off-by: Ralph Castain --- orte/mca/oob/tcp/oob_tcp_component.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/orte/mca/oob/tcp/oob_tcp_component.c b/orte/mca/oob/tcp/oob_tcp_component.c index 4a54ff146a1..27810ec2457 100644 --- a/orte/mca/oob/tcp/oob_tcp_component.c +++ b/orte/mca/oob/tcp/oob_tcp_component.c @@ -240,17 +240,17 @@ static int tcp_component_register(void) MCA_BASE_VAR_SCOPE_LOCAL, &mca_oob_tcp_component.max_retries); - mca_oob_tcp_component.tcp_sndbuf = 128 * 1024; + mca_oob_tcp_component.tcp_sndbuf = 0; (void)mca_base_component_var_register(component, "sndbuf", - "TCP socket send buffering size (in bytes)", + "TCP socket send buffering size (in bytes, 0 => leave system default)", MCA_BASE_VAR_TYPE_INT, NULL, 0, 0, OPAL_INFO_LVL_4, MCA_BASE_VAR_SCOPE_LOCAL, &mca_oob_tcp_component.tcp_sndbuf); - mca_oob_tcp_component.tcp_rcvbuf = 128 * 1024; + mca_oob_tcp_component.tcp_rcvbuf = 0; (void)mca_base_component_var_register(component, "rcvbuf", - "TCP socket receive buffering size (in bytes)", + "TCP socket receive buffering size (in bytes, 0 => leave system default)", MCA_BASE_VAR_TYPE_INT, NULL, 0, 0, OPAL_INFO_LVL_4, MCA_BASE_VAR_SCOPE_LOCAL,