Optimization of operating system and virtual machine monitor memory management
AssigneeRed Hat Israel, Ltd.
InventorAvi Kivity
Life of this patent
Estimating the term…
Abstract
A method and system for collecting statistics associated with multiple memory nodes to determine if a read-only page is read accessed in aggregate by multiple processing devices of the multiple memory nodes at or above a first threshold value. If so, the read-only page may be replicated to an additional memory node. If a determination is made that the read-only page is read accessed in aggregate by the multiple processing devices below the first threshold value, the read-only page may be de-replicated upon receipt of a write request associated with the read-only page.
Claims19
A method comprising:
- determining, by a processing device, in view of memory statistics associated with a plurality of memory nodes, a read-only page is read accessed in aggregate by a plurality of processing devices of the plurality of memory nodes at or above a first threshold value;
- replicating, by the processing device, the read-only page to an additional memory node;
- determining the read-only page is read accessed in aggregate by the plurality of processing devices of the plurality of memory nodes below the first threshold value;
- and
- de-replicating, by the processing device, the read-only page upon receipt of a write request associated with the read-only page.
A non-transitory computer readable storage medium having instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
- collecting memory statistics associated with a local memory of a first memory node;
- detecting, in view of the memory statistics, a first region of the local memory of the first memory node comprises a first page accessed at or above a first threshold value and a second page accessed at or above the first threshold value;
- and
- nominating, by a processing device, the first region to be promoted to an updated region of the local memory.
The non-transitory computer readable storage medium of claim 9, the operations further comprising promoting the first region to the updated region.
The non-transitory computer readable storage medium of claim 9, wherein the updated region comprises a plurality of large pages.
A computing device comprising:
- a memory;
- and
- a processing device coupled to the memory, the processing device to:
- determine, in view of memory statistics associated with a plurality of memory nodes, a read-only page is read accessed in aggregate by a plurality of processing devices of the plurality of memory nodes at or above a first threshold value;
- replicate the read-only page to an additional memory node;
- determine the read-only page is read accessed in aggregate by the plurality of processing devices of the plurality of memory nodes below the first threshold value;
- and
- de-replicate the read-only page upon receipt of a write request associated with the read-only page.
Dependencies are inferred from the claim text.