Invention Grant
US08015367B1 Memory management methods in a computer system with shared memory mappings
有权
具有共享内存映射的计算机系统中的内存管理方法
- Patent Title: Memory management methods in a computer system with shared memory mappings
- Patent Title (中): 具有共享内存映射的计算机系统中的内存管理方法
-
Application No.: US11676151Application Date: 2007-02-16
-
Publication No.: US08015367B1Publication Date: 2011-09-06
- Inventor: Anil Rao , Carl Waldspurger , Xiaoxin Chen
- Applicant: Anil Rao , Carl Waldspurger , Xiaoxin Chen
- Applicant Address: US CA Palo Alto
- Assignee: VMware, Inc.
- Current Assignee: VMware, Inc.
- Current Assignee Address: US CA Palo Alto
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F13/00 ; G06F13/28

Abstract:
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.
Information query