1
1

default TCP to only be used if self/sm/gm/mvapi.... are not available

This commit was SVN r6832.
Этот коммит содержится в:
Tim Woodall 2005-08-12 16:56:46 +00:00
родитель a63f6e6ce6
Коммит 5558c014b9
6 изменённых файлов: 15 добавлений и 7 удалений

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

@ -133,8 +133,16 @@ typedef uint8_t mca_btl_base_tag_t;
#define MCA_BTL_TAG_MAX 255 /* 1 + highest allowed tag num */
/* prefered protocol */
#define MCA_BTL_FLAGS_SEND 1
#define MCA_BTL_FLAGS_RDMA 2
#define MCA_BTL_FLAGS_SEND 0x1
#define MCA_BTL_FLAGS_RDMA 0x2
/* btl can send directly from user buffer w/out registration */
#define MCA_BTL_FLAGS_SEND_INPLACE 0x10000000
/* Default exclusivity levels */
#define MCA_BTL_EXCLUSIVITY_HIGH 64*1024 /* internal loopback */
#define MCA_BTL_EXCLUSIVITY_DEFAULT 1024 /* GM/IB/etc. */
#define MCA_BTL_EXCLUSIVITY_LOW 0 /* TCP used as a last resort */
/**

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

@ -138,7 +138,7 @@ int mca_btl_gm_component_open(void)
/* register gm module parameters */
mca_btl_gm_module.super.btl_exclusivity =
mca_btl_gm_param_register_int ("exclusivity", 0);
mca_btl_gm_param_register_int ("exclusivity", MCA_BTL_EXCLUSIVITY_DEFAULT);
mca_btl_gm_module.super.btl_eager_limit =
mca_btl_gm_param_register_int ("eager_limit", 32*1024);
mca_btl_gm_module.super.btl_min_send_size =

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

@ -180,7 +180,7 @@ int mca_btl_mvapi_component_open(void)
mca_btl_mvapi_module.super.btl_exclusivity =
mca_btl_mvapi_param_register_int ("exclusivity", 0);
mca_btl_mvapi_param_register_int ("exclusivity", MCA_BTL_EXCLUSIVITY_DEFAULT);
mca_btl_mvapi_module.super.btl_eager_limit =
mca_btl_mvapi_param_register_int ("eager_limit", (64*1024))
- sizeof(mca_btl_mvapi_header_t);

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

@ -184,7 +184,7 @@ int mca_btl_openib_component_open(void)
mca_btl_openib_module.super.btl_exclusivity =
mca_btl_openib_param_register_int ("exclusivity", 0);
mca_btl_openib_param_register_int ("exclusivity", MCA_BTL_EXCLUSIVITY_DEFAULT);
mca_btl_openib_module.super.btl_eager_limit =
mca_btl_openib_param_register_int ("eager_limit", (64*1024))
- sizeof(mca_btl_openib_header_t);

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

@ -263,7 +263,7 @@ mca_btl_base_module_t** mca_btl_sm_component_init(
mca_btl_sm[i].super.btl_max_send_size=mca_btl_sm_component.max_frag_size;
mca_btl_sm[i].super.btl_min_rdma_size=mca_btl_sm_component.max_frag_size;
mca_btl_sm[i].super.btl_max_rdma_size=mca_btl_sm_component.max_frag_size;
mca_btl_sm[i].super.btl_exclusivity=100; /* always use this ptl */
mca_btl_sm[i].super.btl_exclusivity=MCA_BTL_EXCLUSIVITY_HIGH-1; /* always use this ptl */
mca_btl_sm[i].super.btl_latency=100; /* lowest latency */
mca_btl_sm[i].super.btl_bandwidth=900; /* not really used now since exclusivity is set to 100 */
}

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

@ -206,7 +206,7 @@ int mca_btl_tcp_component_open(void)
mca_btl_tcp_component.tcp_rcvbuf =
mca_btl_tcp_param_register_int ("rcvbuf", 128*1024);
mca_btl_tcp_module.super.btl_exclusivity =
mca_btl_tcp_param_register_int ("exclusivity", 0);
mca_btl_tcp_param_register_int ("exclusivity", MCA_BTL_EXCLUSIVITY_LOW);
mca_btl_tcp_module.super.btl_eager_limit =
mca_btl_tcp_param_register_int ("eager_limit", 64*1024) - sizeof(mca_btl_base_header_t);
mca_btl_tcp_module.super.btl_min_send_size =