IP Library Granted Patent US 10,331,474
Granted Patent B2
US 10,331,474 · App. 15/769,347 · Granted Jun 25, 2019

Machine system, physical machine, and memory control method

Inventors: Takayuki Imada (Tokyo, JP); Toshiomi Moriki (Tokyo, JP)
Assignee: Hitachi, Ltd.
G06F9/45558G06F3/061G06F3/0608G06F3/0631G06F3/0652G06F3/0683G06F9/46G06F9/50G06F12/10G06F21/78G06F2009/45562G06F2009/45579G06F2009/45583
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,331,474
App. No.
15/769,347
Granted
Jun 25, 2019
Kind
B2
Abstract

A machine system includes a physical machine, a memory pool, and a memory pool management machine. The memory pool management machine manages, with respect to a memory region of the memory pool, an allocated region, a cleared region, and an uncleared region. When generating a virtual machine, a hypervisor in the physical machine sends a memory allocation request to the memory pool management machine. When a response, to the request, received from the memory pool management machine includes an address range belonging to the uncleared region, the hypervisor clears the memory region of the address range belonging to the uncleared region and then generates the virtual machine.

Claims (33)

1. A machine system comprising a physical machine, a memory pool, and a memory pool management machine, wherein

the physical machine includes a hypervisor that controls a virtual machine,

the memory pool management machine manages, with respect to a memory region of the memory pool, an allocated region that is a memory region being already allocated to the virtual machine, a cleared region that is a memory region being not allocated to the virtual machine but already cleared, and an uncleared region that is a memory region being not allocated to the virtual machine and not cleared,

the hypervisor is configured to:

when generating the virtual machine, send the memory allocation request to the memory pool management machine, the memory allocation request including information on a memory capacity which is to be allocated to the virtual machine; and

when a memory allocation response that has been received from the memory pool management machine and that corresponds to a response to the memory allocation request includes an address range belonging to the uncleared region, clear the memory region of the address range belonging to the uncleared region, thereafter generating the virtual machine.

2. The machine system according to claim 1 , wherein

the memory pool management machine is configured to

upon receiving the memory allocation request from the hypervisor, if a memory capacity required for the allocation is larger than a memory capacity of the cleared region, allow the memory allocation response to the hypervisor to include an address range belonging to the uncleared region.

3. The machine system according to claim 2 , wherein

the memory capacity of the address range belonging to the uncleared region included in the memory allocation response is equivalent to a difference between the memory capacity included in the memory allocation request and the capacity of the cleared region.

4. The machine system according to claim 1 , wherein

the memory pool management machine is configured to:

upon receiving from the hypervisor a memory release request for a memory region that has been allocated to a virtual machine which is to be erased, manage as the uncleared region the memory region required to be released and belonging to the allocated memory region;

allow the memory pool to execute clearance processing of the uncleared regions; and

manage, within the uncleared regions, regions cleared by the memory pool sequentially as the cleared regions.

5. A physical machine including a hypervisor for controlling a virtual machine, wherein

the hypervisor can communicate with a memory pool management machine that manages, with respect to a memory region of the memory pool, an allocated region that is a memory region being already allocated to the virtual machine, a cleared region that is a memory region being not allocated to the virtual machine but already cleared, and an uncleared region that is a memory region being not allocated to the virtual machine and not cleared, and

the hypervisor is configured to:

when generating the virtual machine, send the memory allocation request to the memory pool management machine, the memory allocation request including information on a memory capacity which is to be allocated to the virtual machine; and

when a memory allocation response that has been received from the memory pool management machine and that corresponds to a response to the memory allocation request includes an address range belonging to the uncleared region, clear the memory region of the address range belonging to the uncleared region, thereafter generating the virtual machine.

6. A memory control method in a machine system including a physical machine, a memory pool, a memory pool management machine, wherein

the physical machine includes a hypervisor for controlling a virtual machine,

the memory pool management machine manages, with respect to a memory region of the memory pool, an allocated region that is a memory region being already allocated to the virtual machine, a cleared region that is a memory region being not allocated to the virtual machine but already cleared, and an uncleared region that is a memory region being not allocated to the virtual machine and not cleared,

when generating the virtual machine, the hypervisor sends the memory allocation request to the memory pool management machine, the memory allocation request including information on a memory capacity which is to be allocated to the virtual machine,

upon receiving the memory allocation request from the hypervisor, if a memory capacity required for the allocation is larger than a memory capacity of the cleared region, the memory pool management machine sends to the hypervisor a memory allocation response including an address range belonging to the uncleared region, and

when a memory allocation response that has been received from the memory pool management machine includes an address range belonging to the uncleared region, the hypervisor clears the memory region of the address range belonging to the uncleared region and thereafter generates the virtual machine.

7. The memory control method according to claim 6 , wherein

when erasing a virtual machine, the hypervisor sends to the memory pool management machine a memory release request of a memory region allocated to the virtual machine which is to be erased, and

the memory pool management machine is configured to:

upon receiving the memory release request from the hypervisor, manage as the uncleared region the memory region required to be released and belonging to the allocated memory region;

allow the memory pool to execute clearance processing of the uncleared regions; and

manage, within the uncleared regions, regions cleared by the memory pool sequentially as the cleared regions.

Assignments (2)
COMPANY SPLIT Recorded Aug 20, 2024
From: HITACHI, LTD.
To: HITACHI VANTARA, LTD.
Reel/Frame 069518/0761 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 19, 2018
From: IMADA, TAKAYUKI; MORIKI, TOSHIOMI
To: HITACHI, LTD.
Reel/Frame 045581/0746 →
Continuity (1)
Related Publication 20180307518A1 · Oct 25, 2018