1
1
openmpi/ompi
Nathan Hjelm d7264aa613 osc/pt2pt: various threading fixes
This commit fixes several bugs identified by a new multi-threaded RMA
benchmarking suite. The following bugs have been identified and fixed:

 - The code that signaled the actual start of an access epoch changed
   the eager_send_active flag on a synchronization object without
   holding the object's lock. This could cause another thread waiting
   on eager sends to block indefinitely because the entirety of
   ompi_osc_pt2pt_sync_expected could exectute between the check of
   eager_send_active and the conditon wait of
   ompi_osc_pt2pt_sync_wait.

 - The bookkeeping of fragments could get screwed up when performing
   long put/accumulate operations from different threads. This was
   caused by the fragment flush code at the end of both put and
   accumulate. This code was put in place to avoid sending a large
   number of unexpected messages to a peer. To fix the bookkeeping
   issue we now 1) wait for eager sends to be active before stating
   any large isend's, and 2) keep track of the number of large isends
   associated with a fragment. If the number of large isends reaches
   32 the active fragment is flushed.

 - Use atomics to update the large receive/send tag counters. This
   prevents duplicate tags from being used. The tag space has also
   been updated to use the entire 16-bits of the tag space.

These changes should also fix open-mpi/ompi#1299.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-02-02 12:33:33 -07:00
..
attribute more c99 updates 2015-06-25 10:14:13 -06:00
class Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
communicator Fix Mellanox copyrights with respect to the following PRs: 2015-12-30 00:12:19 +06:00
contrib Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
datatype ddt: fix support of MPI_COMBINER_RESIZED in __ompi_datatype_create_from_args 2016-01-28 11:32:29 +09:00
debuggers core: yow; this should absolutely not be in the repo! 2015-09-15 16:15:04 -04:00
dpm ompi/dpm: correctly handle sentinels in construct peers 2016-01-18 09:57:38 +09:00
errhandler Add pmix120 component, update the error handling functions in the PMIx API. 2015-12-28 23:15:44 +09:00
etc Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
file io: do not cast way the const modifier when this is not necessary 2015-09-09 09:18:58 +09:00
group ompi/group: do no decrement parent group proc pointers in destruct 2016-01-11 12:56:11 -07:00
include fortran: Update comment. 2015-11-04 10:38:25 +09:00
info ompi/info: silence a warning in ompi_info_set_value_enum 2015-09-28 16:42:54 +09:00
mca osc/pt2pt: various threading fixes 2016-02-02 12:33:33 -07:00
message Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
mpi use-mpi-f08: remove duplicates from Makefile.am 2016-02-02 13:33:07 +09:00
mpiext configury: remove the --enable-mpi-profiling option 2015-10-13 08:52:35 +09:00
op op: allow user operations in ompi_3buff_op_reduce 2015-10-02 10:35:21 -06:00
patterns Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
peruse more c99 updates 2015-06-25 10:14:13 -06:00
proc Fix Mellanox copyrights with respect to the following PRs: 2015-12-30 00:12:19 +06:00
request Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
runtime Add pmix120 component, update the error handling functions in the PMIx API. 2015-12-28 23:15:44 +09:00
tools configury: remove the --enable-mpi-profiling option 2015-10-13 08:52:35 +09:00
win ompi/group: release ompi_proc_t's at group destruction 2015-11-30 23:03:47 -07:00
Makefile.am configury: remove the --enable-mpi-profiling option 2015-10-13 08:52:35 +09:00