Reclaiming memory pages in a computing system hosting a set of virtual machines
Abstract
A technique reclaims memory pages in a virtualization platform. The technique involves receiving, by a virtual machine of the virtualization platform, an inflate command which directs a balloon driver of the virtual machine to inflate. The technique further involves issuing, by the virtual machine and in response to the inflate command, a sweep request to a hypervisor. The sweep request directs the hypervisor to (i) perform a scan of memory pages allocated to the virtual machine for a predetermined pattern of characters, (ii) de-allocate memory pages having the predetermined pattern of characters from the virtual machine (e.g., zeroed pages), the de-allocated memory pages including super pages and regular pages, and (iii) update a list of memory page mappings to reflect the de-allocated memory pages. The technique further involves completing balloon driver inflation after the list of memory page mappings is updated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a virtualization platform, a method for reclaiming memory pages, the method comprising: receiving, by a virtual machine of the virtualization platform, an inflate command which directs a balloon driver of the virtual machine to inflate; issuing, by the virtual machine and in response to the inflate command, a sweep request to a hypervisor, wherein the sweep request directs the hypervisor to (i) perform a scan of memory pages allocated to the virtual machine for a predetermined pattern of characters, (ii) de-allocate memory pages having the predetermined pattern of characters from the virtua
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 15 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (2)
- Alan Zeichick, Supersizing Java: Large Pages on the Opteron Processor, Part 1 Feb. 14, 2006, Supersizing Java: Large Pages on the Opteron Processor, Part 1 Feb. 14, 2006.
- Jacob Faber Kloster, Jesper Kristensen, Arne Mejlholm, On the Feasibility of Memory Sharing, Jun. 2006.