Memory management methods in a computer system with shared memory mappings
AssigneeVMware, Inc.
InventorsAnil Rao, Carl Waldspurger, Xiaoxin Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeVMware, Inc.
InventorsAnil Rao, Carl Waldspurger, Xiaoxin Chen
Estimating the term…
A host computer system is configured to present each of multiple resident contexts with an address space that may be mapped, at least in part, to corresponding portions of a host memory. The address space of a selected context is sampled, and, for each of a plurality of sampled portions of the address space of the selected context that are backed by a corresponding portion of host memory, a count of the number of portions of address spaces of any contexts that are backed by the same portion of the host memory is obtained. A metric is then computed as a function of the count. A decision about swapping out or reclaiming the allocation of the memory of the contexts is based on the metric. The metric is preferably a function of a mean (such as harmonic, geometric or arithmetic) or median of the counts for each context.
A method for managing host memory in a computer system hosting a plurality of contexts, each context having an address space divided into separately allocable portions that are mappable to corresponding portions of the host memory, wherein the host memory comprises physical random access memory of the computer system and more than one of the separately allocable portions may be mapped to a single host memory portion, the method comprising:
A method for managing host memory in a computer system hosting a plurality of virtual machines (VM), each VM having an address space comprising a plurality of pages that may be mapped to corresponding host memory pages, wherein the host memory pages comprises allocable units of physical random access memory of the computer system and more than one page may be mapped to the same host memory page, the method comprising:
A computer readable storage medium for managing host memory in a computer system hosting a plurality of virtual machines (VM), each VM having an address space comprising a plurality of pages that may be mapped to corresponding host memory pages, wherein the host memory pages comprises allocable units of physical random access memory of the computer system and more than one page may be mapped to the same host memory page, the computer readable storage medium embodying software causing the computer to perform a method, the method comprising:
Dependencies are inferred from the claim text.