Identifying memory devices for swapping virtual machine memory pages
AssigneeRed Hat Israel, Ltd.
InventorsMichael Tsirkin, Andrea Arcangeli
Life of this patent
Estimating the term…
Abstract
Systems and methods for identifying memory devices for swapping virtual machine memory pages. An example method may comprise: identifying, by a processing device, a workload type associated with a workload being executed by a computer system; identifying a memory device associated with the workload type; evaluating a memory pressure metric reflecting a period of time during which an application being executed by the computer system has been blocked by a memory allocation operation; and responsive to determining that the memory pressure metric exceeds a threshold value, allocating a memory block on the identified memory device.
Claims20
A method, comprising:
- identifying, by a processing device, a workload type associated with the application, wherein the workload type reflects a classification of the application based on a type of data being consumed by the application;
- identifying a memory device that stores transformed memory pages that are transformed by a transformation function associated with the workload type;
- allocating a memory block on the identified memory device;
- and
- swapping the memory page with the allocated memory block.
A computer system comprising:
- a memory;
- and
- a processor, coupled to the memory, to:
- identify a workload type associated with the application, wherein the workload type reflects a classification of the application based on a type of data being consumed by the application;
- identify a memory device that stores transformed memory pages that are transformed by a transformation function associated with the workload type;
- allocate a memory block on the identified memory device;
- and
- swap the memory page with the allocated memory block.
A computer-readable non-transitory storage medium comprising executable instructions that, when executed by a computer system, cause the computer system to perform operations comprising:
- identify a workload type associated with the application, wherein the workload type reflects a classification of the application based on a type of data being consumed by the application;
- identify a memory device that stores transformed memory pages that are transformed by a transformation function associated with the workload type;
- allocate a memory block on the identified memory device;
- and
- swap the memory page with the allocated memory block.
Dependencies are inferred from the claim text.