Computer and memory management method
AssigneeHitach, Ltd.
InventorsNobukazu Kondo, Yusuke Fukumura
Life of this patent
Estimating the term…
Abstract
A computer comprising: a processor; a memory; and an I/O device, the memory including at least one first memory element and at least one second memory element, wherein a memory area provided by the at least one second memory element includes a data storage area and a data compression area, wherein the computer comprises a virtualization management unit, and wherein the virtualization management unit is configured to: set a working set for storing data required for processing performed by a virtual machine in generating the virtual machine, and control data stored in the working set in such a manner that part of the data stored in the working set is stored in the data compression area based on a state of accesses to the data stored in the working set.
Claims6
A computer comprising:
- a processor;
- a memory coupled to the processor;
- and
- an I/O device coupled to the processor,
- the memory including at least one first memory element and at least one second memory element different from the at least one first memory element in characteristics thereof,
- wherein a memory area provided by the at least one second memory element includes a data storage area and a data compression area,
- wherein the computer further comprises a virtualization management unit for managing at least one virtual machine that is allocated computer resources of the computer, and
- wherein the virtualization management unit is configured to:
- set a working set for storing data required for processing performed by a virtual machine in generating the virtual machine, and
- control data stored in the working set in such a manner that at least a part of the data stored in the working set is stored in the data compression area based on a state of accesses to the data stored in the working set,
- wherein the at least one first memory element is a volatile memory element and the at least one second memory element is a non-volatile memory element,
- wherein the memory includes a controller for controlling memory accesses received from the processor which executes the virtualization management unit,
- wherein the virtualization management unit is further configured to:
- monitor usage of the data storage area;
- select data having an oldest access time or data having a lowest access frequency from the data stored in the working set, in a case where the usage of the data storage area is larger than a predetermined threshold;
- and
- output a memory access requesting to write the selected data to the data compression area, and
- wherein the controller is configured to:
- read the selected data from the data storage area based on the memory access;
- compress the selected data;
- and
- write the compressed data to the data compression area as compressed data.
A memory management method in a computer,
- the computer including a processor, a memory coupled to the processor, an I/O device coupled to the processor, and a virtualization management unit for managing at least one virtual machine that is allocated computer resources of the computer,
- the memory including at least one first memory element and at least one second memory element different from the first memory element in characteristics thereof,
- a memory area provided by the at least one second memory element including a data storage area and a data compression area,
- the memory management method comprising:
- a first step of setting, by the virtualization management unit, a working set for storing data required for processing performed by the virtual machine in generating the virtual machine;
- and
- a second step of controlling, by the virtualization management unit, data stored in the working set in such a manner that at least a part of the data stored in the working set is stored in the data compression area based on a state of accesses to the data stored in the working set,
- wherein the at least one first memory element is a volatile memory element and the at least one second memory element is a non-volatile memory element,
- wherein the memory includes a controller for controlling memory accesses received from the processor which executes the virtualization management unit, and
- wherein the second step further comprises:
- a step of monitoring, by the virtualization management unit, usage of the data storage area;
- a step of selecting, by the virtualization management unit, data having an oldest access time or data having a lowest access frequency from the data stored in the working set in a case where the usage of the data storage area is larger than a predetermined threshold;
- a step of outputting, by the virtualization management unit, a memory access requesting to write the selected data to the data compression area;
- a step of reading, by the controller, the selected data from the data storage area based on the memory access;
- a step of compressing, by the controller, the selected data;
- and
- a step of writing, by the controller, the compressed data to the data compression area as compressed data.
Dependencies are inferred from the claim text.