From 41f3b77e3151c968248e5ab04459e800fa1ba90f Mon Sep 17 00:00:00 2001 From: yosefe Date: Thu, 23 Jul 2015 16:36:39 +0300 Subject: [PATCH] ikrit: set DC defaults. --- oshmem/mca/spml/ikrit/spml_ikrit_component.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/oshmem/mca/spml/ikrit/spml_ikrit_component.c b/oshmem/mca/spml/ikrit/spml_ikrit_component.c index a80af3d174..87c04280bf 100644 --- a/oshmem/mca/spml/ikrit/spml_ikrit_component.c +++ b/oshmem/mca/spml/ikrit/spml_ikrit_component.c @@ -92,11 +92,12 @@ static inline int set_mxm_tls() { char *tls; - /* disable dci pull for rdma ops. Use single pool. - * Pool size is controlled by MXM_DC_QP_LIMIT - * variable + /* + * Set DC defaults optimized for shmem */ - setenv("MXM_OSHMEM_DC_RNDV_QP_LIMIT", "0", 0); + opal_setenv("MXM_OSHMEM_DC_QP_LIMIT", "2", 0, &environ); + opal_setenv("MXM_OSHMEM_DC_RNDV_QP_LIMIT", "2", 0, &environ); + opal_setenv("MXM_OSHMEM_DC_MSS", "8196", 0, &environ); tls = getenv("MXM_OSHMEM_TLS"); if (NULL != tls) {