Post-copy VM migration speedup using free page hinting
US9934157B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Nov 25, 2015 |
| Grant date | Apr 3, 2018 |
| Priority date | — |
| Expiry date | Jan 6, 2036 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F2212/261
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A system and methods for migrating a virtual machine (VM). In one embodiment, a hypervisor receives a request to migrate the contents of a memory of a source VM in a first physical memory area to a destination VM in a second physical memory area, where the first and second physical memory areas are disjoint. The hypervisor executes the destination VM in response to the request, and detects an access of a page of memory of the destination VM. The hypervisor determines, in view of a data structure maintained by a guest operating system executing in the destination VM, that a first page of a memory of the source VM in the first physical memory area is currently in use by the destination VM. In response to the detecting, the hypervisor: copies, in view of the first page of VM memory being used by the destination VM, the contents of the first page to a corresponding page of the destination VM; and maps, in view of a second page of VM memory not being used by the destination VM, (i) a physical memory page that is external to the first physical memory area and to the second physical memory area to (ii) a page of the destination VM corresponding to the second page.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.