Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Question about senting short MPI messages using RDMA
From: Dong Li (lid_at_[hidden])
Date: 2010-01-04 11:09:10


Hi, guys.
As I understand, to send short MPI messages, OpenMPI copies the
messages to preallocated buffer and then uses RDMA.

I was wondering if we can avoid the overhead of memory copy. If the
user buffers for short messages are reused a lot, we can just register
the user buffer instead of using preallocated buffer. Then we can do
RDMA directly from the user buffer instead of the preallocated buffer.
But if the user buffers are not reused, we will suffer from the
overhead of memory registration.

Besides the overhead of memory registration, is there any other reason
that prevent you to do RDMA directly from the user buffer for short
messages?

Thank you.