Remote direct memory access with copy-on-write support
AssigneeRed Hat Israel, Ltd.
InventorsMichael Tsirkin, Gleb Natapov
Life of this patent
Estimating the term…
Abstract
Systems and methods for implementing remote direct memory access (RDMA) with copy-on-write support. An example method may comprise: registering, with an RDMA adapter, by a first computer system, a mapping of a first virtual address to a first physical address, for transmitting a memory page identified by the first virtual address to a second computer system; registering, with the RDMA adapter, a mapping of a second virtual address to the first physical address; detecting an attempt to modify the memory page; copying the memory page to a second physical address; and registering, with the RDMA adapter, a mapping of a first virtual address to the second physical address.
Claims20
A method, comprising:
- registering, with a remote direct memory access (RDMA) adapter, by a first computer system, a mapping of a first virtual address to a first physical address, for transmitting a memory page identified by the first virtual address to a second computer system;
- registering, with the RDMA adapter, a mapping of a second virtual address to the first physical address;
- detecting an attempt to modify the memory page;
- copying the memory page to a second physical address;
- and
- registering, with the RDMA adapter, a mapping of the first virtual address to the second physical address.
A system comprising:
- a memory;
- a remote direct memory access (RDMA) adapter coupled to the memory;
- and
- one or more physical processors, coupled to the memory, to:
- register, with the RDMA adapter, a mapping of a first virtual address to a first physical address, for transmitting a memory page identified by the first virtual address to a remote computer system;
- registering, with the RDMA adapter, a mapping of a second virtual address to the first physical address;
- detecting an attempt to modify the memory page;
- copying the memory page to a second physical address;
- and
- registering, with the RDMA adapter, a mapping of the first virtual address to the second physical address.
A computer-readable non-transitory storage medium comprising executable instructions that, when executed by a computer system, cause the computer system to:
- register, with a remote direct memory access (RDMA) adapter, a mapping of a first virtual address to a first physical address, for transmitting a memory page identified by the first virtual address to a remote computer system;
- register, with the RDMA adapter, a mapping of a second virtual address to the first physical address;
- detect an attempt to modify the memory page;
- copy the memory page to a second physical address;
- and
- register, with the RDMA adapter, a mapping of the first virtual address to the second physical address.
Dependencies are inferred from the claim text.