Add a new MCA parameter fixing the limit between 2 of the long message protocols (gm_rndv_burst_limit)
This commit was SVN r5236.
Этот коммит содержится в:
родитель
344ee284f2
Коммит
2e4a2084bd
@ -55,6 +55,7 @@ extern "C" {
|
|||||||
uint32_t gm_eager_limit; /**< number of bytes before the rendez-vous protocol. If the
|
uint32_t gm_eager_limit; /**< number of bytes before the rendez-vous protocol. If the
|
||||||
**< size of the message is less than this number then GM
|
**< size of the message is less than this number then GM
|
||||||
**< use a eager protocol. */
|
**< use a eager protocol. */
|
||||||
|
uint32_t gm_rndv_burst_limit;
|
||||||
uint32_t gm_rdma_frag_size; /**< maximum fragment size used to transfer data over RDMA */
|
uint32_t gm_rdma_frag_size; /**< maximum fragment size used to transfer data over RDMA */
|
||||||
char* gm_port_name; /**< the name used to get the port */
|
char* gm_port_name; /**< the name used to get the port */
|
||||||
|
|
||||||
|
@ -128,7 +128,9 @@ mca_ptl_gm_component_open(void)
|
|||||||
mca_ptl_gm_param_register_int ("max_frag_size", 256 * 1024 * 1024);
|
mca_ptl_gm_param_register_int ("max_frag_size", 256 * 1024 * 1024);
|
||||||
/* Parameters setting the message limits. */
|
/* Parameters setting the message limits. */
|
||||||
mca_ptl_gm_component.gm_eager_limit =
|
mca_ptl_gm_component.gm_eager_limit =
|
||||||
mca_ptl_gm_param_register_int( "eager_limit", 512 * 1024 );
|
mca_ptl_gm_param_register_int( "eager_limit", 128 * 1024 );
|
||||||
|
mca_ptl_gm_component.gm_rndv_burst_limit =
|
||||||
|
mca_ptl_gm_param_register_int( "rndv_burst_limit", 512 * 1024 );
|
||||||
mca_ptl_gm_component.gm_rdma_frag_size =
|
mca_ptl_gm_component.gm_rdma_frag_size =
|
||||||
mca_ptl_gm_param_register_int ("rdma_frag_size", 128 * 1024);
|
mca_ptl_gm_param_register_int ("rdma_frag_size", 128 * 1024);
|
||||||
|
|
||||||
@ -481,6 +483,9 @@ mca_ptl_gm_init( mca_ptl_gm_component_t * gm )
|
|||||||
0, /* maximum number of list allocated elements will be zero */
|
0, /* maximum number of list allocated elements will be zero */
|
||||||
0,
|
0,
|
||||||
NULL ); /* not using mpool */
|
NULL ); /* not using mpool */
|
||||||
|
#if OMPI_MCA_PTL_GM_CACHE_ENABLE
|
||||||
|
gmpi_regcache_init();
|
||||||
|
#endif /* OMPI_MCA_PTL_GM_CACHE_ENABLE */
|
||||||
return (mca_ptl_gm_component.gm_num_ptl_modules > 0 ? OMPI_SUCCESS : OMPI_ERR_OUT_OF_RESOURCE);
|
return (mca_ptl_gm_component.gm_num_ptl_modules > 0 ? OMPI_SUCCESS : OMPI_ERR_OUT_OF_RESOURCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user