[libfabric-users] Tagged message question

Biddiscombe, John A. biddisco at cscs.ch
Mon Mar 16 13:33:30 PDT 2020


Thank you both. I am accustomed to having to have buffers pre-posted for all unexpected (untagged) messages so I was pleasantly surprised that someone buffered the tagged message for me. I will explore this functionality more.


JB

________________________________
From: Hefty, Sean <sean.hefty at intel.com>
Sent: 16 March 2020 17:53:12
To: Chris Dolan; Biddiscombe, John A.
Cc: libfabric-users at lists.openfabrics.org
Subject: RE: [libfabric-users] Tagged message question

>        Who provided the memory that the received message went into between being
> received and my posting the recv buffer? Did libfabric supply some memory buffer 'on
> the fly' that the tagged message went into?

Adding to Chris' comments, these are known as 'unexpected messages'.  They are a common MPI problem and nearly impossible to avoid, even for well-designed apps.

Most commonly available hardware lack the ability to perform tag matching.  As a result, rxm buffers all receives before deciding how to process it.  If you're using RDM endpoints, there's really no additional cost for using tagged transfers, versus untagged.

If the transfer is large, it won't complete immediately and the buffering will occur on the send side.  Only the tagged information will be transferred.  Once the receiver posts a receive with the correct tag, the data will be retrieved.

- Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20200316/b5b95ca0/attachment.htm>


More information about the Libfabric-users mailing list