1
1

Remove the ib_static_rate MCA parameter; it will be replaced with a

dynamic mechanism to adjust the rate only if necessary (e.g., two
ports of differing speeds are connected).

This commit was SVN r15653.
Этот коммит содержится в:
Jeff Squyres 2007-07-26 21:10:51 +00:00
родитель acbc8ecca3
Коммит 015fc08ff4
3 изменённых файлов: 2 добавлений и 7 удалений

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

@ -144,7 +144,6 @@ struct mca_btl_openib_component_t {
uint32_t ib_rnr_retry;
uint32_t ib_max_rdma_dst_ops;
uint32_t ib_service_level;
uint32_t ib_static_rate;
uint32_t use_eager_rdma;
int32_t eager_rdma_threshold; /**< After this number of msg, use RDMA for short messages, always */
uint32_t eager_rdma_num;

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

@ -1219,7 +1219,8 @@ int mca_btl_openib_endpoint_qp_init_query(
attr->ah_attr.sl = mca_btl_openib_component.ib_service_level;
attr->ah_attr.src_path_bits = openib_btl->src_path_bits;
attr->ah_attr.port_num = port_num;
attr->ah_attr.static_rate = mca_btl_openib_component.ib_static_rate;
/* JMS to be filled in later dynamically */
attr->ah_attr.static_rate = 0;
if(ibv_modify_qp(qp, attr,
IBV_QP_STATE |

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

@ -355,11 +355,6 @@ int btl_openib_register_mca_params(void)
}
mca_btl_openib_component.ib_service_level = (uint32_t) ival;
CHECK(reg_int("ib_static_rate", "InfiniBand static rate "
"(must be >= 0)",
0, &ival, REGINT_GE_ZERO));
mca_btl_openib_component.ib_static_rate = (uint32_t) ival;
CHECK(reg_int("use_eager_rdma", "Use RDMA for eager messages",
1, &ival, 0));
mca_btl_openib_component.use_eager_rdma = (uint32_t) (ival != 0);