8ace07efed
1. Galen's fine-grain control of queue pair resources in the openib BTL. 1. Pasha's new implementation of asychronous HCA event handling. Pasha's new implementation doesn't take much explanation, but the new "multifrag" stuff does. Note that "svn merge" was not used to bring this new code from the /tmp/ib_multifrag branch -- something Bad happened in the periodic trunk pulls on that branch making an actual merge back to the trunk effectively impossible (i.e., lots and lots of arbitrary conflicts and artifical changes). :-( == Fine-grain control of queue pair resources == Galen's fine-grain control of queue pair resources to the OpenIB BTL (thanks to Gleb for fixing broken code and providing additional functionality, Pasha for finding broken code, and Jeff for doing all the svn work and regression testing). Prior to this commit, the OpenIB BTL created two queue pairs: one for eager size fragments and one for max send size fragments. When the use of the shared receive queue (SRQ) was specified (via "-mca btl_openib_use_srq 1"), these QPs would use a shared receive queue for receive buffers instead of the default per-peer (PP) receive queues and buffers. One consequence of this design is that receive buffer utilization (the size of the data received as a percentage of the receive buffer used for the data) was quite poor for a number of applications. The new design allows multiple QPs to be specified at runtime. Each QP can be setup to use PP or SRQ receive buffers as well as giving fine-grained control over receive buffer size, number of receive buffers to post, when to replenish the receive queue (low water mark) and for SRQ QPs, the number of outstanding sends can also be specified. The following is an example of the syntax to describe QPs to the OpenIB BTL using the new MCA parameter btl_openib_receive_queues: {{{ -mca btl_openib_receive_queues \ "P,128,16,4;S,1024,256,128,32;S,4096,256,128,32;S,65536,256,128,32" }}} Each QP description is delimited by ";" (semicolon) with individual fields of the QP description delimited by "," (comma). The above example therefore describes 4 QPs. The first QP is: P,128,16,4 Meaning: per-peer receive buffer QPs are indicated by a starting field of "P"; the first QP (shown above) is therefore a per-peer based QP. The second field indicates the size of the receive buffer in bytes (128 bytes). The third field indicates the number of receive buffers to allocate to the QP (16). The fourth field indicates the low watermark for receive buffers at which time the BTL will repost receive buffers to the QP (4). The second QP is: S,1024,256,128,32 Shared receive queue based QPs are indicated by a starting field of "S"; the second QP (shown above) is therefore a shared receive queue based QP. The second, third and fourth fields are the same as in the per-peer based QP. The fifth field is the number of outstanding sends that are allowed at a given time on the QP (32). This provides a "good enough" mechanism of flow control for some regular communication patterns. QPs MUST be specified in ascending receive buffer size order. This requirement may be removed prior to 1.3 release. This commit was SVN r15474. |
||
---|---|---|
.. | ||
c_get_alignment.m4 | ||
c_weak_symbols.m4 | ||
cxx_find_exception_flags.m4 | ||
cxx_find_template_parameters.m4 | ||
cxx_find_template_repository.m4 | ||
cxx_have_exceptions.m4 | ||
distscript.csh | ||
f77_check_logical_array.m4 | ||
f77_check_type.m4 | ||
f77_check.m4 | ||
f77_find_ext_symbol_convention.m4 | ||
f77_get_alignment.m4 | ||
f77_get_fortran_handle_max.m4 | ||
f77_get_sizeof.m4 | ||
f77_get_value_true.m4 | ||
f77_purge_unsupported_kind.m4 | ||
f90_check_type.m4 | ||
f90_check.m4 | ||
f90_find_module_include_flag.m4 | ||
f90_get_int_kind.m4 | ||
f90_get_precision.m4 | ||
f90_get_range.m4 | ||
f90_get_sizeof.m4 | ||
libltdl_dlopen_global.diff | ||
lt21a-pathCC.diff | ||
lt1522-pathCC.diff | ||
ltmain_otool.diff | ||
Makefile.am | ||
Makefile.options | ||
mca_acinclude.m4 | ||
mca_configure.ac | ||
mca_make_configure.pl | ||
ompi_case_sensitive_fs_setup.m4 | ||
ompi_check_attributes.m4 | ||
ompi_check_bproc.m4 | ||
ompi_check_broken_qsort.m4 | ||
ompi_check_compiler_works.m4 | ||
ompi_check_func_lib.m4 | ||
ompi_check_gm.m4 | ||
ompi_check_icc.m4 | ||
ompi_check_loadleveler.m4 | ||
ompi_check_lsf.m4 | ||
ompi_check_mvapi.m4 | ||
ompi_check_mx.m4 | ||
ompi_check_openib.m4 | ||
ompi_check_optflags.m4 | ||
ompi_check_package.m4 | ||
ompi_check_portals.m4 | ||
ompi_check_ps.m4 | ||
ompi_check_psm.m4 | ||
ompi_check_pthread_pids.m4 | ||
ompi_check_slurm.m4 | ||
ompi_check_tm.m4 | ||
ompi_check_udapl.m4 | ||
ompi_check_vendor.m4 | ||
ompi_check_visibility.m4 | ||
ompi_check_xcpu.m4 | ||
ompi_check_xgrid.m4 | ||
ompi_config_asm.m4 | ||
ompi_config_pthreads.m4 | ||
ompi_config_solaris_threads.m4 | ||
ompi_config_subdir_args.m4 | ||
ompi_config_subdir.m4 | ||
ompi_config_threads.m4 | ||
ompi_configure_options.m4 | ||
ompi_find_type.m4 | ||
ompi_functions.m4 | ||
ompi_get_libtool_linker_flags.m4 | ||
ompi_get_version.m4 | ||
ompi_get_version.m4sh | ||
ompi_lang_link_with_c.m4 | ||
ompi_load_platform.m4 | ||
ompi_make_stripped_flags.m4 | ||
ompi_mca.m4 | ||
ompi_microsoft.m4 | ||
ompi_save_version.m4 | ||
ompi_setup_cc.m4 | ||
ompi_setup_cxx.m4 | ||
ompi_setup_f77.m4 | ||
ompi_setup_f90.m4 | ||
ompi_setup_libevent.m4 | ||
ompi_setup_wrappers.m4 | ||
ompi_try_assemble.m4 |