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 <schuchart@icl.utk.edu>
Этот коммит содержится в:
родитель
971d58c524
Коммит
1cdc85564e
@ -183,7 +183,7 @@ static int han_register(void)
|
|||||||
OPAL_INFO_LVL_9,
|
OPAL_INFO_LVL_9,
|
||||||
MCA_BASE_VAR_SCOPE_READONLY, &cs->han_bcast_low_module);
|
MCA_BASE_VAR_SCOPE_READONLY, &cs->han_bcast_low_module);
|
||||||
|
|
||||||
cs->han_reduce_segsize = 524288;
|
cs->han_reduce_segsize = 65536;
|
||||||
(void) mca_base_component_var_register(c, "reduce_segsize",
|
(void) mca_base_component_var_register(c, "reduce_segsize",
|
||||||
"segment size for reduce",
|
"segment size for reduce",
|
||||||
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
||||||
@ -203,7 +203,7 @@ static int han_register(void)
|
|||||||
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
||||||
OPAL_INFO_LVL_9,
|
OPAL_INFO_LVL_9,
|
||||||
MCA_BASE_VAR_SCOPE_READONLY, &cs->han_reduce_low_module);
|
MCA_BASE_VAR_SCOPE_READONLY, &cs->han_reduce_low_module);
|
||||||
cs->han_allreduce_segsize = 524288;
|
cs->han_allreduce_segsize = 65536;
|
||||||
(void) mca_base_component_var_register(c, "allreduce_segsize",
|
(void) mca_base_component_var_register(c, "allreduce_segsize",
|
||||||
"segment size for allreduce",
|
"segment size for allreduce",
|
||||||
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user