Memory mapping to reduce cache conflicts in multiprocessor systems
AssigneeInternational Business Machines Corporation
InventorSujatha Kashyap
Life of this patent
Estimating the term…
Abstract
Methods, systems, and computer program products are disclosed for mapping a virtual memory page to a real memory page frame in a multiprocessing environment that supports a multiplicity of operating system images. Typical embodiments include retrieving into an operating system image, from memory accessible to a multiplicity of operating system images, a most recently used cache color for a cache, where the cache is shared by the operating system image with at least one other operating system image; selecting a new cache color in dependence upon the most recently used cache color; selecting in the operating system image a page frame in dependence upon the new cache color; and storing in the memory the new cache color as the most recently used cache color for the cache.
Claims20
A method for mapping a virtual memory page to a real memory page frame in a multiprocessing environment that supports a multiplicity of operating system images, the method comprising:
- retrieving into an operating system image, from memory accessible to a multiplicity of operating system images, a most recently used cache color for a cache, wherein the cache is shared by the operating system image with at least one other operating system image;
- selecting a new cache color in dependence upon the most recently used cache color;
- selecting in the operating system image a page frame in dependence upon the new cache color;
- and
- storing in the memory the new cache color as the most recently used cache color for the cache.
A system for mapping a virtual memory page to a real memory page frame in a multiprocessing environment that supports a multiplicity of operating system images, the system comprising:
- means for retrieving into an operating system image, from memory accessible to a multiplicity of operating system images, a most recently used cache color for a cache, wherein the cache is shared by the operating system image with at least one other operating system image;
- means for selecting a new cache color in dependence upon the most recently used cache color;
- means for selecting in the operating system image a page frame in dependence upon the new cache color;
- and
- means for storing in the memory the new cache color as the most recently used cache color for the cache.
A computer program product for mapping a virtual memory page to a real memory page frame in a multiprocessing environment that supports a multiplicity of operating system images, the computer program product comprising:
- a recording medium;
- means, recorded on the recording medium, for retrieving into an operating system image, from memory accessible to a multiplicity of operating system images, a most recently used cache color for a cache, wherein the cache is shared by the operating system image with at least one other operating system image;
- means, recorded on the recording medium, for selecting a new cache color in dependence upon the most recently used cache color;
- means, recorded on the recording medium, for selecting in the operating system image a page frame in dependence upon the new cache color;
- and
- means, recorded on the recording medium, for storing in the memory the new cache color as the most recently used cache color for the cache.
Dependencies are inferred from the claim text.