@@ -250,8 +250,20 @@ static int mca_btl_tcp_component_register(void)
250250 mca_btl_tcp_param_register_int ("free_list_num" , NULL , 8 , OPAL_INFO_LVL_5 , & mca_btl_tcp_component .tcp_free_list_num );
251251 mca_btl_tcp_param_register_int ("free_list_max" , NULL , -1 , OPAL_INFO_LVL_5 , & mca_btl_tcp_component .tcp_free_list_max );
252252 mca_btl_tcp_param_register_int ("free_list_inc" , NULL , 32 , OPAL_INFO_LVL_5 , & mca_btl_tcp_component .tcp_free_list_inc );
253- mca_btl_tcp_param_register_int ("sndbuf" , NULL , 128 * 1024 , OPAL_INFO_LVL_4 , & mca_btl_tcp_component .tcp_sndbuf );
254- mca_btl_tcp_param_register_int ("rcvbuf" , NULL , 128 * 1024 , OPAL_INFO_LVL_4 , & mca_btl_tcp_component .tcp_rcvbuf );
253+ mca_btl_tcp_param_register_int ("sndbuf" ,
254+ "The size of the send buffer socket option for each connection. "
255+ "Modern TCP stacks generally are smarter than a fixed size and in some "
256+ "situations setting a buffer size explicitly can actually lower "
257+ "performance. 0 means the tcp btl will not try to set a send buffer "
258+ "size." ,
259+ 0 , OPAL_INFO_LVL_4 , & mca_btl_tcp_component .tcp_sndbuf );
260+ mca_btl_tcp_param_register_int ("rcvbuf" ,
261+ "The size of the receive buffer socket option for each connection. "
262+ "Modern TCP stacks generally are smarter than a fixed size and in some "
263+ "situations setting a buffer size explicitly can actually lower "
264+ "performance. 0 means the tcp btl will not try to set a send buffer "
265+ "size." ,
266+ 0 , OPAL_INFO_LVL_4 , & mca_btl_tcp_component .tcp_rcvbuf );
255267 mca_btl_tcp_param_register_int ("endpoint_cache" ,
256268 "The size of the internal cache for each TCP connection. This cache is"
257269 " used to reduce the number of syscalls, by replacing them with memcpy."
0 commit comments