[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 0/2] enable fsdax rdma migration
From: |
address@hidden |
Subject: |
Re: [PATCH v2 0/2] enable fsdax rdma migration |
Date: |
Mon, 23 Aug 2021 08:41:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
CCing Marcel
On 23/08/2021 11:33, Li Zhijian wrote:
> Previous qemu are facing 2 problems when migrating a fsdax memory backend with
> RDMA protocol.
> (1) ibv_reg_mr failed with Operation not supported
> (2) requester(source) side could receive RNR NAK.
>
> For the (1), we can try to register memory region with ODP feature which
> has already been implemented in some modern HCA hardware/drivers.
> For the (2), IB provides advise API to prefetch pages in specific memory
> region. It can help driver reduce the page fault on responder(destination)
> side during RDMA_WRITE.
>
> CC: marcel.apfelbaum@gmail.com
>
> Li Zhijian (2):
> migration/rdma: Try to register On-Demand Paging memory region
> migration/rdma: advise prefetch write for ODP region
>
> migration/rdma.c | 117 +++++++++++++++++++++++++++++++++--------
> migration/trace-events | 2 +
> 2 files changed, 98 insertions(+), 21 deletions(-)
>