The sendrecv_replace in Open MPI seems to allocate/free memory with
I measured the time to allocate/free a buffer of 1MB.
MPI_Alloc_mem/MPI_Free_mem take 350us while malloc/free only take 8us.
malloc/free in ompi/mpi/c/sendrecv_replace.c was replaced by
MPI_Alloc_mem/MPI_Free_mem with this commit :
date: Thu Sep 22 16:43:17 2005 +0000
summary: use MPI_Alloc_mem/MPI_Free_mem for internally allocated
Is there a real reason to use these functions or can we move back to
Is there a problem on my configuration explaining such slow performance
with MPI_Alloc_mem ?