All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: "Hefty, Sean" <sean.hefty@intel.com>
Cc: Terry Toole <toole@photodiagnostic.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 15:31:17 -0400	[thread overview]
Message-ID: <20200102193117.GI9282@ziepe.ca> (raw)
In-Reply-To: <CY4PR11MB14302D923E9CFF0665E67B3F9E200@CY4PR11MB1430.namprd11.prod.outlook.com>

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...

Jason

  reply	other threads:[~2020-01-02 19:31 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 [this message]
2020-01-02 19:45         ` Terry Toole

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=20200102193117.GI9282@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=linux-rdma@vger.kernel.org \
    --cc=sean.hefty@intel.com \
    --cc=toole@photodiagnostic.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.