Skip to content

Commit 551d342

Browse files
committed
Merge pull request #748 from yosefe/topic/ikrit-dc-defaults-master
ikrit: set DC defaults.
2 parents 5b9f59b + 41f3b77 commit 551d342

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

oshmem/mca/spml/ikrit/spml_ikrit_component.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,12 @@ static inline int set_mxm_tls()
9292
{
9393
char *tls;
9494

95-
/* disable dci pull for rdma ops. Use single pool.
96-
* Pool size is controlled by MXM_DC_QP_LIMIT
97-
* variable
95+
/*
96+
* Set DC defaults optimized for shmem
9897
*/
99-
setenv("MXM_OSHMEM_DC_RNDV_QP_LIMIT", "0", 0);
98+
opal_setenv("MXM_OSHMEM_DC_QP_LIMIT", "2", 0, &environ);
99+
opal_setenv("MXM_OSHMEM_DC_RNDV_QP_LIMIT", "2", 0, &environ);
100+
opal_setenv("MXM_OSHMEM_DC_MSS", "8196", 0, &environ);
100101

101102
tls = getenv("MXM_OSHMEM_TLS");
102103
if (NULL != tls) {

0 commit comments

Comments
 (0)