qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: Li Zhijian <lizhijian@cn.fujitsu.com>
Cc: peter.maydell@linaro.org, dgilbert@redhat.com, qemu-devel@nongnu.org
Subject: Re: [PATCH v3 2/2] migration/rdma: advise prefetch write for ODP region
Date: Thu, 07 Oct 2021 14:05:35 +0200	[thread overview]
Message-ID: <87o881doq8.fsf@secure.mitica> (raw)
In-Reply-To: <20210910070255.509349-3-lizhijian@cn.fujitsu.com> (Li Zhijian's message of "Fri, 10 Sep 2021 15:02:55 +0800")

Li Zhijian <lizhijian@cn.fujitsu.com> wrote:
> The responder mr registering with ODP will sent RNR NAK back to
> the requester in the face of the page fault.
> ---------
> ibv_poll_cq wc.status=13 RNR retry counter exceeded!
> ibv_poll_cq wrid=WRITE RDMA!
> ---------
> ibv_advise_mr(3) helps to make pages present before the actual IO is
> conducted so that the responder does page fault as little as possible.
>
> Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
>
> ---
> V3: Fix FreeBSD compiling errors
> V2: use IBV_ADVISE_MR_FLAG_FLUSH instead of IB_UVERBS_ADVISE_MR_FLAG_FLUSH
>     and add Reviewed-by tag. # Marcel
> ---
>  meson.build            |  6 ++++++
>  migration/rdma.c       | 42 ++++++++++++++++++++++++++++++++++++++++++
>  migration/trace-events |  1 +
>  3 files changed, 49 insertions(+)

Reviewed-by: Juan Quintela <quintela@redhat.com>



      reply	other threads:[~2021-10-07 12:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-10  7:02 [PATCH v3 0/2] enable fsdax rdma migration Li Zhijian
2021-09-10  7:02 ` [PATCH v3 1/2] migration/rdma: Try to register On-Demand Paging memory region Li Zhijian
2021-10-07 12:05   ` Juan Quintela
2021-09-10  7:02 ` [PATCH v3 2/2] migration/rdma: advise prefetch write for ODP region Li Zhijian
2021-10-07 12:05   ` Juan Quintela [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=87o881doq8.fsf@secure.mitica \
    --to=quintela@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=lizhijian@cn.fujitsu.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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).