qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] enable fsdax rdma migration
@ 2021-07-31 14:03 Li Zhijian
  2021-07-31 14:03 ` [PATCH 1/2] migration/rdma: Try to register On-Demand Paging memory region Li Zhijian
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Li Zhijian @ 2021-07-31 14:03 UTC (permalink / raw)
  To: quintela, dgilbert, qemu-devel; +Cc: Li Zhijian

Previous qemu face 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.

Li Zhijian (2):
  migration/rdma: Try to register On-Demand Paging memory region
  migration/rdma: advise prefetch write for ODP region

 migration/rdma.c       | 67 ++++++++++++++++++++++++++++++++++++------
 migration/trace-events |  2 ++
 2 files changed, 60 insertions(+), 9 deletions(-)

-- 
2.31.1





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-08-23  7:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-31 14:03 [PATCH 0/2] enable fsdax rdma migration Li Zhijian
2021-07-31 14:03 ` [PATCH 1/2] migration/rdma: Try to register On-Demand Paging memory region Li Zhijian
2021-08-22  8:53   ` Marcel Apfelbaum
2021-08-23  1:41     ` lizhijian
2021-08-23  7:03       ` Marcel Apfelbaum
2021-07-31 14:03 ` [PATCH 2/2] migration/rdma: advise prefetch write for ODP region Li Zhijian
2021-08-22  8:39   ` Marcel Apfelbaum
2021-08-23  1:21     ` lizhijian
2021-08-16  2:10 ` [PATCH 0/2] enable fsdax rdma migration lizhijian

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