[mvapich-discuss] [PATCH] Minor startup improvement

Maksym Planeta mplaneta at os.inf.tu-dresden.de
Thu Oct 8 11:28:56 EDT 2015


Hi,

I found out that function umad_get_ca() is called several times inside 
MPI_Init. When the arguments to this function are the same, the result 
is also the same. So I cached the result of the last call. This allowed 
to speedup MPI_Init for 0.9 to 0.5 seconds on a cluster with 24 cores 
nodes each. I tested this with 32 to 256 ranks.

The patch is in the attachment.

-- 
Regards,
Maksym Planeta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Improve-startup.patch
Type: text/x-patch
Size: 1493 bytes
Desc: not available
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20151008/947308c6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5154 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20151008/947308c6/attachment.p7s>


More information about the mvapich-discuss mailing list