1
1
openmpi/ompi/mca/btl/ugni
Ralph Castain 611d7f9f6b When we direct launch an application, we rely on PMI for wireup support. In doing so, we lose the de facto data compression we get from the ORTE modex since we no longer get all the wireup info from every proc in a single blob. Instead, we have to iterate over all the procs, calling PMI_KVS_get for every value we require.
This creates a really bad scaling behavior. Users have found a nearly 20% launch time differential between mpirun and PMI, with PMI being the slower method. Some of the problem is attributable to poor exchange algorithms in RM's like Slurm and Alps, but we make things worse by calling "get" so many times.

Nathan (with a tad advice from me) has attempted to alleviate this problem by reducing the number of "get" calls. This required the following changes:

* upon first request for data, have the OPAL db pmi component fetch and decode *all* the info from a given remote proc. It turned out we weren't caching the info, so we would continually request it and only decode the piece we needed for the immediate request. We now decode all the info and push it into the db hash component for local storage - and then all subsequent retrievals are fulfilled locally

* reduced the amount of data by eliminating the exchange of the OMPI_ARCH value if heterogeneity is not enabled. This was used solely as a check so we would error out if the system wasn't actually homogeneous, which was fine when we thought there was no cost in doing the check. Unfortunately, at large scale and with direct launch, there is a non-zero cost of making this test. We are open to finding a compromise (perhaps turning the test off if requested?), if people feel strongly about performing the test

* reduced the amount of RTE data being automatically fetched, and fetched the rest only upon request. In particular, we no longer immediately fetch the hostname (which is only used for error reporting), but instead get it when needed. Likewise for the RML uri as that info is only required for some (not all) environments. In addition, we no longer fetch the locality unless required, relying instead on the PMI clique info to tell us who is on our local node (if additional info is required, the fetch is performed when a modex_recv is issued).

Again, all this only impacts direct launch - all the info is provided when launched via mpirun as there is no added cost to getting it

Barring objections, we may move this (plus any required other pieces) to the 1.7 branch once it soaks for an appropriate time.

This commit was SVN r29040.
2013-08-17 00:49:18 +00:00
..
btl_ugni_add_procs.c btl/ugni: use grdma mpool to take advantage of shared lru 2012-06-20 23:03:59 +00:00
btl_ugni_component.c MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
btl_ugni_endpoint.c When we direct launch an application, we rely on PMI for wireup support. In doing so, we lose the de facto data compression we get from the ORTE modex since we no longer get all the wireup info from every proc in a single blob. Instead, we have to iterate over all the procs, calling PMI_KVS_get for every value we require. 2013-08-17 00:49:18 +00:00
btl_ugni_endpoint.h When we direct launch an application, we rely on PMI for wireup support. In doing so, we lose the de facto data compression we get from the ORTE modex since we no longer get all the wireup info from every proc in a single blob. Instead, we have to iterate over all the procs, calling PMI_KVS_get for every value we require. 2013-08-17 00:49:18 +00:00
btl_ugni_frag.c Timeout! Per RFC update the BTL interface to hide segment keys. All BTLs (with the exception of wv), all relevant PMLs, and osc/rdma have been updated for the new interface. 2012-06-21 17:09:12 +00:00
btl_ugni_frag.h fix typos in the ugni and vader btls 2013-07-12 17:55:33 +00:00
btl_ugni_get.c ugni: fix eager get 2012-06-29 15:43:29 +00:00
btl_ugni_module.c Move the RTE framework change into the trunk. With this change, all non-CR 2013-01-27 23:25:10 +00:00
btl_ugni_prepare.h Fix a bug on 32-bit systems introduced by r26626. This fix ensures that all supported btls (with exception of wv-- shiqing will need to help bring that one up to date with r26626) set the lval in prepare_src/dst when preparing a put or get segment. This fix also ensures a consistent use of lval in put and get for both local and remote segments. 2012-07-13 21:19:16 +00:00
btl_ugni_put.c Timeout! Per RFC update the BTL interface to hide segment keys. All BTLs (with the exception of wv), all relevant PMLs, and osc/rdma have been updated for the new interface. 2012-06-21 17:09:12 +00:00
btl_ugni_rdma.h ugni: fix eager get 2012-06-29 15:43:29 +00:00
btl_ugni_send.c Move the RTE framework change into the trunk. With this change, all non-CR 2013-01-27 23:25:10 +00:00
btl_ugni_smsg.c Fix a bug in the uGNI btl that could cause certain descriptor callbacks to be called twice. 2013-01-03 23:11:13 +00:00
btl_ugni_smsg.h Fix a bug in the uGNI btl that could cause certain descriptor callbacks to be called twice. 2013-01-03 23:11:13 +00:00
btl_ugni.h btl/ugni: use grdma mpool to take advantage of shared lru 2012-06-20 23:03:59 +00:00
configure.m4 Revamp the handling of wrapper compiler flags. The user flags, main configure 2013-01-29 00:00:43 +00:00
Makefile.am ugni: fix eager get 2012-06-29 15:43:29 +00:00