eager_limit is no longer needed in OB1 PML. Remove it.
This commit was SVN r16442.
Этот коммит содержится в:
родитель
436b0f2a5b
Коммит
1330974e5e
@ -50,7 +50,6 @@ struct mca_pml_ob1_t {
|
||||
int free_list_num; /* initial size of free list */
|
||||
int free_list_max; /* maximum size of free list */
|
||||
int free_list_inc; /* number of elements to grow free list */
|
||||
size_t eager_limit; /* maximum eager limit size - overrides btl setting */
|
||||
size_t send_pipeline_depth;
|
||||
size_t recv_pipeline_depth;
|
||||
size_t rdma_put_retries_limit;
|
||||
|
@ -107,8 +107,6 @@ static int mca_pml_ob1_component_open(void)
|
||||
mca_pml_ob1_param_register_int("free_list_inc", 64);
|
||||
mca_pml_ob1.priority =
|
||||
mca_pml_ob1_param_register_int("priority", 20);
|
||||
mca_pml_ob1.eager_limit =
|
||||
mca_pml_ob1_param_register_int("eager_limit", 128 * 1024);
|
||||
mca_pml_ob1.send_pipeline_depth =
|
||||
mca_pml_ob1_param_register_int("send_pipeline_depth", 3);
|
||||
mca_pml_ob1.recv_pipeline_depth =
|
||||
|
@ -341,13 +341,9 @@ mca_pml_ob1_send_request_start_btl( mca_pml_ob1_send_request_t* sendreq,
|
||||
mca_bml_base_btl_t* bml_btl )
|
||||
{
|
||||
size_t size = sendreq->req_send.req_bytes_packed;
|
||||
size_t eager_limit = bml_btl->btl_eager_limit;
|
||||
size_t eager_limit = bml_btl->btl_eager_limit - sizeof(mca_pml_ob1_hdr_t);
|
||||
int rc;
|
||||
|
||||
if( eager_limit > mca_pml_ob1.eager_limit )
|
||||
eager_limit = mca_pml_ob1.eager_limit;
|
||||
eager_limit -= sizeof(mca_pml_ob1_hdr_t);
|
||||
|
||||
if( OPAL_LIKELY(size <= eager_limit) ) {
|
||||
switch(sendreq->req_send.req_send_mode) {
|
||||
case MCA_PML_BASE_SEND_SYNCHRONOUS:
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user