From a938e5db62a0fbbf8020eb1b526b090f44bc67c2 Mon Sep 17 00:00:00 2001 From: Arlin Davis Date: Wed, 2 Nov 2011 10:29:34 -0700 Subject: [PATCH] common: increase default IB ack timer from 16 to 20 For larger, more congested fabrics, a larger ACK timer is needed. Consumers can still change default with environment variable DAPL_ACK_TIMER if they need to increase or decrease. This applies to SCM and UCM providers only. The CMA provider, which uses rdma_cm, has no way to control ack timer with current API. Signed-off-by: Arlin Davis --- dapl/openib_common/dapl_ib_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dapl/openib_common/dapl_ib_common.h b/dapl/openib_common/dapl_ib_common.h index a0dd772..e757b65 100644 --- a/dapl/openib_common/dapl_ib_common.h +++ b/dapl/openib_common/dapl_ib_common.h @@ -158,8 +158,8 @@ typedef uint16_t ib_hca_port_t; #define DAT_UD_QKEY 0x78654321 /* RC timer - retry count defaults */ -#define DCM_ACK_TIMER 16 /* 5 bits, 4.096us*2^ack_timer. 16== 268ms */ -#define DCM_ACK_RETRY 7 /* 3 bits, 7 * 268ms = 1.8 seconds */ +#define DCM_ACK_TIMER 20 /* 5 bits, 4.096us*2^ack_timer. 16== 268ms, 20==4.2s */ +#define DCM_ACK_RETRY 7 /* 3 bits, 7 * 4.2 == 30 seconds */ #define DCM_RNR_TIMER 12 /* 5 bits, 12 =.64ms, 28 =163ms, 31 =491ms */ #define DCM_RNR_RETRY 7 /* 3 bits, 7 == infinite */ #define DCM_IB_MTU 2048 -- 2.41.0