1
1
openmpi/config
Jeff Squyres 8ace07efed This commit brings in two major things:
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.
2007-07-18 01:15:59 +00:00
..
c_get_alignment.m4 Fix a number of places where we can cause errors in configure if CFLAGS / 2006-09-22 23:58:23 +00:00
c_weak_symbols.m4 - Allow detection of weak symbols support with Intel compiler 2007-05-30 13:01:36 +00:00
cxx_find_exception_flags.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
cxx_find_template_parameters.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
cxx_find_template_repository.m4 Fix typo in r14829. Thanks to Bert Wesarg for pointing out my dumbness :). 2007-06-05 01:47:48 +00:00
cxx_have_exceptions.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
distscript.csh Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
f77_check_logical_array.m4 * have to use same case for creating a function name as using it in the 2006-03-24 02:34:13 +00:00
f77_check_type.m4 Bring the f90 configuration up to speed with the f77 configuration 2006-02-12 15:11:36 +00:00
f77_check.m4 Bring the f90 configuration up to speed with the f77 configuration 2006-02-12 15:11:36 +00:00
f77_find_ext_symbol_convention.m4 Use the AC_PROG_GREP available in AC 2.60 and later. This works around 2007-06-01 02:31:15 +00:00
f77_get_alignment.m4 * have to use same case for creating a function name as using it in the 2006-03-24 02:34:13 +00:00
f77_get_fortran_handle_max.m4 Convert all Fortran 77 tests to use config cache so that we have a way to 2006-01-13 04:08:40 +00:00
f77_get_sizeof.m4 * add some debugging if conftestval the file doesn't exist 2006-03-28 13:55:39 +00:00
f77_get_value_true.m4 - Get the TRUE value detection working in case of 2007-05-31 13:03:04 +00:00
f77_purge_unsupported_kind.m4 * Fix issue when a type existed but we didn't have a corresponding C type - 2006-01-13 14:51:20 +00:00
f90_check_type.m4 Bring the f90 configuration up to speed with the f77 configuration 2006-02-12 15:11:36 +00:00
f90_check.m4 - Minor bugfixes and removed compiler warnings 2007-01-28 19:52:09 +00:00
f90_find_module_include_flag.m4 * skip some F90 tests if we aren't compilng F90 2006-02-12 16:59:56 +00:00
f90_get_int_kind.m4 * skip some F90 tests if we aren't compilng F90 2006-02-12 16:59:56 +00:00
f90_get_precision.m4 Bring the f90 configuration up to speed with the f77 configuration 2006-02-12 15:11:36 +00:00
f90_get_range.m4 Bring the f90 configuration up to speed with the f77 configuration 2006-02-12 15:11:36 +00:00
f90_get_sizeof.m4 * have to use same case for creating a function name as using it in the 2006-03-24 02:34:13 +00:00
libltdl_dlopen_global.diff Fix for LT 2.1 libltdl lt_dlopen behavior of putting loaded DSO's in a 2007-03-05 17:21:42 +00:00
lt21a-pathCC.diff Fixes trac:982. 2007-04-21 00:56:47 +00:00
lt1522-pathCC.diff Fixes trac:982. 2007-04-21 00:56:47 +00:00
ltmain_otool.diff Work around a bug involving dependent libraries when building 64 bit on Mac OS X 2007-01-22 20:31:04 +00:00
Makefile.am Back out 13076 and 13077 in favor of a much simpler approach. 2007-01-11 14:07:15 +00:00
Makefile.options Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
mca_acinclude.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
mca_configure.ac Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
mca_make_configure.pl Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
ompi_case_sensitive_fs_setup.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
ompi_check_attributes.m4 Use the AC_PROG_GREP available in AC 2.60 and later. This works around 2007-06-01 02:31:15 +00:00
ompi_check_bproc.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
ompi_check_broken_qsort.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
ompi_check_compiler_works.m4 Configure changes... woopie... 2006-11-30 01:59:44 +00:00
ompi_check_func_lib.m4 * Make the backtrace printing functionality a framework 2006-07-27 02:56:02 +00:00
ompi_check_gm.m4 * Fix for bug #152. Make --with-FOO-libdir=DIR only check DIR, and not the 2006-06-28 03:33:30 +00:00
ompi_check_icc.m4 Fix a number of places where we can cause errors in configure if CFLAGS / 2006-09-22 23:58:23 +00:00
ompi_check_loadleveler.m4 Fix a minor problem in variable naming in these configure macros. 2006-10-19 23:35:14 +00:00
ompi_check_lsf.m4 Next round of LSF commits. Getting farther, but it still doesn't 2007-07-13 11:57:17 +00:00
ompi_check_mvapi.m4 Clean up a couple of issues with some of the configure tests: 2007-05-01 04:40:31 +00:00
ompi_check_mx.m4 Clean up the MX configure test a bit. Use AC macros instead of hand 2007-07-04 22:07:30 +00:00
ompi_check_openib.m4 This commit brings in two major things: 2007-07-18 01:15:59 +00:00
ompi_check_optflags.m4 - Get --coverage to work with new gcov and cleanup the generated files. 2007-01-19 14:28:52 +00:00
ompi_check_package.m4 Fix two errors with r14552: 2007-05-08 02:24:27 +00:00
ompi_check_portals.m4 * Add new PML (CM) and network drivers (MTL) for high speed 2006-07-04 01:20:20 +00:00
ompi_check_ps.m4 Update to orte-clean so it will remove files on local and 2007-02-03 00:25:42 +00:00
ompi_check_psm.m4 Initial commit of QLogic PSM MTL. 2006-09-14 16:44:02 +00:00
ompi_check_pthread_pids.m4 fix some misuses of various environment variables when running pthread checks 2007-02-24 21:22:55 +00:00
ompi_check_slurm.m4 * Only enable SLURM support in ORTE if on a platform currently supported by 2006-03-12 05:32:35 +00:00
ompi_check_tm.m4 Fix two errors with r14552: 2007-05-08 02:24:27 +00:00
ompi_check_udapl.m4 Clean up a couple of issues with some of the configure tests: 2007-05-01 04:40:31 +00:00
ompi_check_vendor.m4 Correct the CRAY define (here is a interesting webpage with all the compilers defines 2006-03-30 00:20:43 +00:00
ompi_check_visibility.m4 Use the AC_PROG_GREP available in AC 2.60 and later. This works around 2007-06-01 02:31:15 +00:00
ompi_check_xcpu.m4 update xcpu autoconfig checks for libxcpu and friends 2006-12-20 22:56:25 +00:00
ompi_check_xgrid.m4 Configure changes... woopie... 2006-11-30 01:59:44 +00:00
ompi_config_asm.m4 Fix a bunch of issues exposed by Ken Cain in getting Open MPI to work with 2007-07-10 03:46:57 +00:00
ompi_config_pthreads.m4 Use the AC_PROG_GREP available in AC 2.60 and later. This works around 2007-06-01 02:31:15 +00:00
ompi_config_solaris_threads.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
ompi_config_subdir_args.m4 * add missing " that somehow slipped into the commit last night. 2006-05-31 13:57:38 +00:00
ompi_config_subdir.m4 * Fix shell quoting to be more consistent with what AC does 2006-05-31 03:40:26 +00:00
ompi_config_threads.m4 * properly enable threading support inside ptmalloc2=. Thanks to Tim for 2006-03-11 02:37:55 +00:00
ompi_configure_options.m4 Merging in the jjhursey-ft-cr-stable branch (r13912 : HEAD). 2007-03-16 23:11:45 +00:00
ompi_find_type.m4 The last of the Alpha fixes. The Alpha sh shell's builtin test doesn't 2006-09-28 03:45:27 +00:00
ompi_functions.m4 Allow Windows absolute prefix which start with a letter followed by : 2006-02-25 21:23:14 +00:00
ompi_get_libtool_linker_flags.m4 Escape $tmpCC, as it will have / in it in many cases, leading to a sed 2007-05-08 02:17:13 +00:00
ompi_get_version.m4 * Fix a small bug George noticed - if you change the prefix (or any of the 2006-03-12 04:35:01 +00:00
ompi_get_version.m4sh * Generate ompi_get_version.sh from ompi_get_version.m4, removing a bunch of 2006-01-21 22:53:16 +00:00
ompi_lang_link_with_c.m4 Configure changes... woopie... 2006-11-30 01:59:44 +00:00
ompi_load_platform.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
ompi_make_stripped_flags.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
ompi_mca.m4 * Clean up the ompi_mca macro's support for different configuration 2007-07-04 22:00:15 +00:00
ompi_microsoft.m4 A new definition for pid_t or Windows (it's a pointer so it should be 2007-06-17 04:58:33 +00:00
ompi_save_version.m4 Let's try this again, this time with less suck. 2006-03-12 17:56:58 +00:00
ompi_setup_cc.m4 - Check for attributes, after C and C++ have been set up. 2007-02-08 13:34:44 +00:00
ompi_setup_cxx.m4 Configure changes... woopie... 2006-11-30 01:59:44 +00:00
ompi_setup_f77.m4 Configure changes... woopie... 2006-11-30 01:59:44 +00:00
ompi_setup_f90.m4 For modern MACOSX_DEPLOYMENT_TARGETs, allow the Fortran 90 bindings to be 2007-06-05 04:04:44 +00:00
ompi_setup_libevent.m4 Fix a number of places where we can cause errors in configure if CFLAGS / 2006-09-22 23:58:23 +00:00
ompi_setup_wrappers.m4 Include the C++ bindings from mpi.h in a way that doesn't require an extra 2007-06-05 01:42:47 +00:00
ompi_try_assemble.m4 Fix a bunch of issues exposed by Ken Cain in getting Open MPI to work with 2007-07-10 03:46:57 +00:00