linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Terry Toole <toole@photodiagnostic.com>
To: Jason Gunthorpe <jgg@ziepe.ca>
Cc: "Hefty, Sean" <sean.hefty@intel.com>,
	"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Re: Is it possible to transfer a large file between two computers using RDMA UD?
Date: Thu, 2 Jan 2020 14:45:16 -0500	[thread overview]
Message-ID: <CADw-U9AN5nWuEs-3VJYXa8j+=V1f9gFryK+2taAxQAB_knYcpg@mail.gmail.com> (raw)
In-Reply-To: <20200102193117.GI9282@ziepe.ca>

On Thu, Jan 2, 2020 at 2:31 PM Jason Gunthorpe <jgg@ziepe.ca> wrote:
>
> On Thu, Jan 02, 2020 at 07:25:34PM +0000, Hefty, Sean wrote:
> > > > > Is it possible to transfer a large file, say 25GB, between two computers using
> > > > > RDMA UD, and have an exact copy of the original file on the receiving side? My
> > > > > understanding is that the order of the messages is not guaranteed with UD.
> > > > > But I thought that if I only use one QP I could ensure that the ordering of the
> > > > > data will be predictable.
> > > >
> > > > It is not guaranteed to be in order.
> > > >
> > > > Why would you do this anyhow? The overhead to use RC is pretty small
> > > >
> > > So even if I am using only 1 QP, it is still not guaranteed to be in
> > > order. Ok. Thanks.
> >
> > The spec doesn't guarantee ordering, though I doubt messages would
> > ever be unordered in practice.  You could transfer a sequence number
> > as immediate data to allow the receiver to verify (and correct)
> > packet ordering, and detect lost packets.
>
> They could always become lost though, due to a link BER or
> something. And that is only on IB, not Ethernet.
>
> I don't think you can avoid needing retransmit on the sender...
>

My plan was to try to send large files between two computers.
From many transfers, I was intending to get an estimate of
what types of losses we could reasonably expect. From my reading,
I got the impression that with a point to point connection, the expected
message loss with RDMA UD was quite low.

Terry

      reply	other threads:[~2020-01-02 19:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-02 14:47 Is it possible to transfer a large file between two computers using RDMA UD? Terry Toole
2020-01-02 18:29 ` Jason Gunthorpe
2020-01-02 19:11   ` Terry Toole
2020-01-02 19:25     ` Hefty, Sean
2020-01-02 19:31       ` Jason Gunthorpe
2020-01-02 19:45         ` Terry Toole [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADw-U9AN5nWuEs-3VJYXa8j+=V1f9gFryK+2taAxQAB_knYcpg@mail.gmail.com' \
    --to=toole@photodiagnostic.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-rdma@vger.kernel.org \
    --cc=sean.hefty@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).