1
1

randomly drop fragments without local completion, currently commented out as

we must handle the other cases first.. 

This commit was SVN r9468.
Этот коммит содержится в:
Galen Shipman 2006-03-29 22:19:58 +00:00
родитель 0eba366b07
Коммит 2945f77f9e

Просмотреть файл

@ -103,9 +103,14 @@ int mca_bml_base_send(
if(mca_bml_base_error_count < mca_bml_base_error_rate_floor) { if(mca_bml_base_error_count < mca_bml_base_error_rate_floor) {
mca_bml_base_error_count = mca_bml_base_error_rate_floor; mca_bml_base_error_count = mca_bml_base_error_rate_floor;
} }
/* if(mca_bml_base_error_count % 3) { */
/* /\* no local completion - network 'hangs' *\/ */
/* opal_output(0, "%s:%d: dropping dat, NO local completion\n", __FILE__, __LINE__); */
/* return OMPI_SUCCESS; */
/* } else */
if(mca_bml_base_error_count % 2) { if(mca_bml_base_error_count % 2) {
/* local completion - network "drops" packet */ /* local completion - network "drops" packet */
opal_output(0, "%s:%d: dropping data\n", __FILE__, __LINE__); opal_output(0, "%s:%d: dropping data, with local completion\n", __FILE__, __LINE__);
des->des_cbfunc(bml_btl->btl, bml_btl->btl_endpoint, des, OMPI_SUCCESS); des->des_cbfunc(bml_btl->btl, bml_btl->btl_endpoint, des, OMPI_SUCCESS);
return OMPI_SUCCESS; return OMPI_SUCCESS;
} else { } else {