1
1
openmpi/orte/mca
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
..
dfs Turns out that there was exactly ONE place in all of the OMPI code base that still referred to OPAL_TRACE, though a few places retained the include file for no reason. So no point in letting this sit as it is clearly an unused "feature". 2013-07-14 18:57:20 +00:00
errmgr Cleanup warning 2013-08-16 21:14:35 +00:00
ess 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
filem Properly remove the object from the list prior to releasing it when an error is encountered 2013-04-23 22:44:52 +00:00
grpcomm 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
iof Add the ability to use an external version of libevent. Clearly not recommended at this time. I've verified that it works in limited scenarios, but more thorough testing and performance impacts need to be assessed. 2013-04-29 17:02:37 +00:00
odls Remove a bunch of dead code: gcc 4.7 warns of set-but-unused 2013-05-17 21:45:49 +00:00
oob Remove a bunch of dead code: gcc 4.7 warns of set-but-unused 2013-05-17 21:45:49 +00:00
plm fix MCA variable and component system leaks 2013-08-09 19:50:28 +00:00
ras Remove a bunch of dead code: gcc 4.7 warns of set-but-unused 2013-05-17 21:45:49 +00:00
rmaps Silence uninitialized var warning 2013-08-16 21:35:51 +00:00
rml 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
routed Per RFC 2013-07-11 17:34:28 +00:00
sensor Cleanup some bitrot from moving the db framework to opal and from the new mca param system 2013-07-09 14:37:08 +00:00
snapc Remove a bunch of dead code: gcc 4.7 warns of set-but-unused 2013-05-17 21:45:49 +00:00
sstore Correctly register the component MCA parameters. 2013-06-15 16:05:09 +00:00
state Fix two debugger attach bugs. 2013-06-20 16:18:05 +00:00