[mpich-discuss] MPI_Allreduce increases the performance of MPI_Alltoallv?

Dave Goodell goodell at mcs.anl.gov
Tue Jul 3 15:28:54 CDT 2012


On Jul 3, 2012, at 1:39 PM CDT, Li, Lihua (UMSL-Student) wrote:

> Dear MPICH users,
> 
> Do any one happen to have such an experience, when MPI_Allreduce "seems to" make MPI_Alltoallv faster?
[…]
> The Jumpshot image for the modified version has greater variation of MPI_Alltoallv time among processes, while there is no MPI_Allreduce operations. It gives me a weird feeling that MPI_Allreduce operations are "regulating" the behavior of MPI_Alltoallv.
> 
> Anyone got hint of what's going on? 

The allreduce operations have barrier semantics because of the data dependencies.  It could be that these "barriers" are reducing the number of unexpected messages inside the alltoallv algorithm, which is causing the performance improvement.

-Dave



More information about the mpich-discuss mailing list