IP Library Granted Patent US 10,579,268
Granted Patent B2
US 10,579,268 · App. 15/875,048 · Granted Mar 3, 2020

Disk control device, disk control method, and recording medium

Inventor: Naoshi Orihara (Tokyo, JP)
Assignee: NEC CORPORATION
G06F3/061G06F3/0631G06F3/0659G06F3/0665G06F3/0689G06F9/45558G06F9/5016G06F12/0871G06F2009/45579G06F2009/45583G06F2212/1021G06F2212/152G06F2212/263G06F2212/284G06F2212/314G06F2212/502G06F2212/6042
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,579,268
App. No.
15/875,048
Granted
Mar 3, 2020
Kind
B2
Abstract

A disk control device includes a hypervisor, a cache access measurement unit, and a distribution determination unit. The cache access measurement unit measures a characteristic value of a logical disk by analyzing an access pattern to the logical disk by a cache memory. The distribution determination unit selects one of a plurality of virtual computers including the cache memory associated with the measured characteristic value. The hypervisor activates the virtual computer selected by the distribution determination unit and switches a forwarding destination of an input-output request to the logical disk to the virtual computer selected by the distribution determination unit.

Claims (56)

1. A disk control device comprising:

a plurality of virtual computers; and

a virtual computer controller;

wherein the virtual computer controller is connected to a logical disk realized on a disk device;

wherein the virtual computer includes:

input-output unit including a cache memory that inputs and outputs data to and from the logical disk;

cache access measurement unit for measuring a characteristic value of the logical disk by analyzing an access pattern to the logical disk by the cache memory; and

distribution determination unit for determining an amount of resources to be allocated to one of the plurality of virtual computers based on the characteristic value, the one of the plurality of the virtual computers being an input-output execution virtual computer, and notifying the virtual computer controller thereof; and

wherein the virtual computer controller:

allocates resources to the input-output execution virtual computer and activates the input-output execution virtual computer, an amount of the resources and the virtual computer controller being notified; and

when the virtual computer controller receives an input-output request to the logical disk, transfers the input-output request to the input-output execution virtual computer;

wherein the characteristic value measured by the cache access measurement unit includes at least an amount of the cache memory used by the logical disk and an index value for determining whether or not the disk device which realizes the logical disk is a magnetic disk device; and

wherein the distribution determination unit:

a) allocates a memory whose capacity is larger than a first standard amount and a CPU resource whose amount is smaller than a second standard amount to the input-output execution virtual computer when the amount of the cache memory is larger than a predetermined value;

b) allocates a memory whose capacity is larger than the first standard amount and a CPU resource whose amount is larger than the second standard amount to the input-output execution virtual computer when the amount of the cache memory is smaller than the predetermined value and the index value indicates that the disk device which realizes the logical disk is a magnetic disk device; and

c) allocates a memory whose capacity is smaller than the first standard amount and a CPU resource whose amount is larger than the second standard amount to the input-output execution virtual computer when the amount of the cache memory is smaller than the predetermined value and the index value indicates that the disk device which realizes the logical disk is not a magnetic disk device.

2. The disk control device described in claim 1 , wherein

the cache access measurement unit measures the characteristic value for each of a plurality of logical disks realized on a disk device.

3. The disk control device described in claim 1 , wherein

the characteristic value measured by the cache access measurement unit includes at least a size of the cache memory used by the logical disk;

the plurality of virtual computers each input and output data to and from the logical disk by using a control method different for each virtual computer;

the control method of the virtual computer specifies at least a size of one block of the cache memory; and

the distribution determination unit determines an amount of resources to be allocated to the input-output execution virtual computer, the virtual computer including the cache memory of which the size of one block is minimum among the cache memories each having a capacity that is equal to or larger than a capacity to be used by the logical disk.

4. The disk control device described in claim 1 , wherein

the characteristic value measured by the cache access measurement unit includes at least a determination value indicating whether or not the disk device which realizes the logical disk is a magnetic disk device; and

the distribution determination unit determines an amount of resources to be allocated to the input-output execution virtual computer, the virtual computer capable of accumulating data in the logical disk so as to be able to access the data in address order when the disk device which realizes the logical disk is the magnetic disk device.

5. The disk control device described in claim 1 , wherein

the characteristic value measured by the cache access measurement unit includes at least an interval at which the virtual computer controller receive the input-output request; and

when the interval is longer than a predetermined time, the distribution determination unit allocates a smaller amount of CPU resources in comparison with the amount of CPU resources allocated when the interval is shorter than the predetermined time.

6. The disk control device described in claim 1 , wherein

after the input-output unit of the virtual computer performs writing of data of the cache memory to the logical disk and releasing or disabling of the cache memory, the input-output unit instructs the virtual computer controller to switch a forwarding destination of the input-output request to the input-output execution virtual computer; and

the virtual computer controller switches the forwarding destination of the input-output request to the input-output execution virtual computer according to the instruction from the input-output unit.

7. A method for controlling operation of a disk control device, the disk control device including a plurality of virtual computers and virtual computer controller, the virtual computer controller being connected to a logical disk realized on a disk device,

the method comprising:

measuring a characteristic value of the logical disk by analyzing an access pattern to the logical disk by a cache memory of the virtual computer;

determining an amount of resources to be allocated to one of the plurality of virtual computers based on the characteristic value, the one of the plurality of the virtual computers being an input-output execution virtual computer, and notifying the virtual computer controller thereof;

allocating resources to the input-output execution virtual computer and activates the input-output execution virtual computer, an amount of the resources and the virtual computer controller being notified;

setting a forwarding destination of an input-output request to the logical disk to the input-output execution virtual computer; and

when the virtual computer controller receive an input-output request to the logical disk, transferring the input-output request to the input-output execution virtual computer;

wherein the characteristic value measured by the cache access measurement unit includes at least an amount of the cache memory used by the logical disk and an index value for determining whether or not the disk device which realizes the logical disk is a magnetic disk device; and

wherein the method further includes:

a) allocating a memory whose capacity is larger than a first standard amount and a CPU resource whose amount is smaller than a second standard amount to the input-output execution virtual computer when the amount of the cache memory is larger than a predetermined value;

b) allocating a memory whose capacity is larger than the first standard amount and a CPU resource whose amount is larger than the second standard amount to the input-output execution virtual computer when the amount of the cache memory is smaller than the predetermined value and the index value indicates that the disk device which realizes the logical disk is a magnetic disk device; and

c) allocating a memory whose capacity is smaller than the first standard amount and a CPU resource whose amount is larger than the second standard amount to the input-output execution virtual computer when the amount of the cache memory is smaller than the predetermined value and the index value indicates that the disk device which realizes the logical disk is not a magnetic disk device.

8. A non-transitory recording medium recorded therein a program for controlling operation of a disk control device by a computer, wherein

the disk control device includes a plurality of virtual computers and virtual computer controller, the virtual computer controller is connected to a logical disk realized on the disk device;

the program causes the computer to:

measure a characteristic value of the logical disk by analyzing an access pattern to the logical disk by a cache memory of the virtual computer;

determine an amount of resources to be allocated to one of the plurality of virtual computers based on the characteristic value, the one of the plurality of the virtual computers being an input-output execution virtual computer, and notifying the virtual computer controller thereof;

allocate resources to the input-output execution virtual computer and activates the input-output execution virtual computer, an amount of the resources and the virtual computer controller being notified; and

when the virtual computer controller receives an input-output request to the logical disk, transfer the input-output request to the logical disk to the input-output execution virtual computer;

wherein the characteristic value measured by the cache access measurement unit includes at least an amount of the cache memory used by the logical disk and an index value for determining whether or not the disk device which realizes the logical disk is a magnetic disk device; and

wherein the program further causes the computer to:

a) allocate a memory whose capacity is larger than a first standard amount and a CPU resource whose amount is smaller than a second standard amount to the input-output execution virtual computer when the amount of the cache memory is larger than a predetermined value;

b) allocate a memory whose capacity is larger than the first standard amount and a CPU resource whose amount is larger than the second standard amount to the input-output execution virtual computer when the amount of the cache memory is smaller than the predetermined value and the index value indicates that the disk device which realizes the logical disk is a magnetic disk device; and

c) allocate a memory whose capacity is smaller than the first standard amount and a CPU resource whose amount is larger than the second standard amount to the input-output execution virtual computer when the amount of the cache memory is smaller than the predetermined value and the index value indicates that the disk device which realizes the logical disk is not a magnetic disk device.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 27, 2024
From: IP WAVE PTE LTD.
To: CLOUD BYTE LLC.
Reel/Frame 067944/0332 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 27, 2024
From: NEC ASIA PACIFIC PTE LTD.
To: IP WAVE PTE LTD.
Reel/Frame 066376/0276 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 17, 2023
From: NEC CORPORATION
To: NEC ASIA PACIFIC PTE LTD.
Reel/Frame 063349/0459 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 19, 2018
From: ORIHARA, NAOSHI
To: NEC CORPORATION
Reel/Frame 044663/0484 →
Priority Claims (1)
JP 2017-019989 · Feb 7, 2017 · national
Continuity (1)
Related Publication 20180225043A1 · Aug 9, 2018