Memory duplication by origin host in virtual machine live migration
First Claim
1. A method, comprising:
- providing a data structure comprising a plurality of memory mapping entries, each memory mapping entry mapping a virtual memory range to a physical memory range identified by a memory device, a physical address on the memory device, and a reference count of virtual memory ranges mapped to the physical memory range, wherein the data structure only comprises memory mapping entries having the reference count of two or more;
determining, by a processor of an origin host computer system, using the data structure, a first physical address identifying a first physical memory range, the first physical memory range mapped to a first virtual memory range in a virtual address space of a first virtual machine undergoing live migration from the origin host computer system to a destination host computer system;
determining a second physical address identifying a second physical memory range, the second physical memory range mapped to a second virtual memory range in a virtual address space of a second virtual machine undergoing live migration from the origin host computer system to the destination host computer system;
determining, by the processor, that the first physical address and the second physical address are identical; and
notifying the destination host computer system that the first virtual memory range and the second virtual memory range have identical contents.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems and methods for memory de-duplication in a virtual machine undergoing live migration. An example method may comprise: determining a first identifier identifying a first physical memory range, the first physical memory range mapped to a first virtual memory range in a virtual address space of a first virtual machine undergoing live migration from a origin host computer system to a destination host computer system; determining a second identifier identifying a second physical memory range, the second physical memory range mapped to a second virtual memory range in a virtual address space of a second virtual machine undergoing live migration from the origin host computer system to the destination host computer system; determining that the first identifier and the second identifier identify the same physical memory range; and notifying the destination host computer system that the first virtual memory range and the second virtual memory range have identical contents.
-
Citations
9 Claims
-
1. A method, comprising:
-
providing a data structure comprising a plurality of memory mapping entries, each memory mapping entry mapping a virtual memory range to a physical memory range identified by a memory device, a physical address on the memory device, and a reference count of virtual memory ranges mapped to the physical memory range, wherein the data structure only comprises memory mapping entries having the reference count of two or more; determining, by a processor of an origin host computer system, using the data structure, a first physical address identifying a first physical memory range, the first physical memory range mapped to a first virtual memory range in a virtual address space of a first virtual machine undergoing live migration from the origin host computer system to a destination host computer system; determining a second physical address identifying a second physical memory range, the second physical memory range mapped to a second virtual memory range in a virtual address space of a second virtual machine undergoing live migration from the origin host computer system to the destination host computer system; determining, by the processor, that the first physical address and the second physical address are identical; and notifying the destination host computer system that the first virtual memory range and the second virtual memory range have identical contents. - View Dependent Claims (2, 3, 4)
-
-
5. A system comprising:
-
a memory; and a processor, operatively coupled to the memory, to; provide a data structure comprising a plurality of memory mapping entries, each memory mapping entry mapping a virtual memory range to a physical memory range identified by a memory device, a physical address on the memory device, and a reference count of virtual memory ranges mapped to the physical memory range, wherein the data structure only comprises memory mapping entries having the reference count of two or more; determine, by a hypervisor executing on an origin host computer system, using the data structure, a first physical address identifying a first physical memory range, the first physical memory range mapped to a first virtual memory range in a virtual address space of a first virtual machine undergoing live migration from the origin host computer system to a destination host computer system; determine a second physical address identifying a second physical memory range, the second physical memory range mapped to a second virtual memory range in a virtual address space of a second virtual machine undergoing live migration from the origin host computer system to the destination host computer system; determine that the first physical address and the second physical address are identical; and notify the destination host computer system that the first virtual memory range and the second virtual memory range have identical contents. - View Dependent Claims (6)
-
-
7. A computer-readable non-transitory storage medium comprising executable instructions that, when executed by a processor, cause the processor to:
-
provide a data structure comprising a plurality of memory mapping entries, each memory mapping entry mapping a virtual memory range to a physical memory range identified by a memory device, a physical address on the memory device, and a reference count of virtual memory ranges mapped to the physical memory range, wherein the data structure only comprises memory mapping entries having the reference count of two or more; determine, by the processor, using the data structure, a first physical address identifying a first physical memory range, the first physical memory range mapped to a first virtual memory range in a virtual address space of a first virtual machine undergoing live migration from an origin host computer system to a destination host computer system; determine a second physical address identifying a second physical memory range, the second physical memory range mapped to a second virtual memory range in a virtual address space of a second virtual machine undergoing live migration from the origin host computer system to the destination host computer system; determine, by the processor, that the first physical address and the second physical address are identical; and notify the destination host computer system that the first virtual memory range and the second virtual memory range have identical contents. - View Dependent Claims (8, 9)
-
Specification