Skip to content

Commit 1cdc855

Browse files
committed
coll/han: reduce default segment size for reduce/allreduce to 64k
This has shown to be more effective in achieving overlap of inter- and intra-node communication and reduces the inital delay before hitting the network. Signed-off-by: Joseph Schuchart <[email protected]>
1 parent 971d58c commit 1cdc855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/coll/han/coll_han_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static int han_register(void)
183183
OPAL_INFO_LVL_9,
184184
MCA_BASE_VAR_SCOPE_READONLY, &cs->han_bcast_low_module);
185185

186-
cs->han_reduce_segsize = 524288;
186+
cs->han_reduce_segsize = 65536;
187187
(void) mca_base_component_var_register(c, "reduce_segsize",
188188
"segment size for reduce",
189189
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
@@ -203,7 +203,7 @@ static int han_register(void)
203203
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
204204
OPAL_INFO_LVL_9,
205205
MCA_BASE_VAR_SCOPE_READONLY, &cs->han_reduce_low_module);
206-
cs->han_allreduce_segsize = 524288;
206+
cs->han_allreduce_segsize = 65536;
207207
(void) mca_base_component_var_register(c, "allreduce_segsize",
208208
"segment size for allreduce",
209209
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,

0 commit comments

Comments
 (0)