# US 2018/0024766 A1 · Computer system and process execution method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0024766 A1
- Document ID: US20180024766A1
- Status: Published application
- Kind: A1
- Application number: 15/552,616
- Filed: 2015-03-25
- Published: 2018-01-25
- Earliest claimed: 2015-03-25
- Assignees: Hitachi, Ltd.
- Applicants: Hitachi, Ltd.
- Inventors: Masakuni AGETSUMA; Hiroaki AKUTSU; Yusuke NONAKA
- Web page: https://patentgrep.com/patent/US20180024766A1

## CPC

- G06F 3/0631: {by allocating resources to storage systems}
- G06F 9/5016: {the resource being the memory}
- G06F 11/3024: {where the computing system component is a central processing unit [CPU]}
- G06F 11/34: Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation {; Recording or statistical evaluation of user activity, e.g. usability assessment}
- G06F 11/3442: {for planning or managing the needed capacity}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 12/063: {for I/O modules, e.g. memory mapped I/O (I/O protocol G06F13/42)}
- G06F 13/10: Program control for peripheral devices (G06F13/14 - G06F13/42 take precedence)
- G06F 3/0658: {Controller construction arrangements}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention effectively utilizes computation resources by allocating the computation resources, in accordance with conditions, to a process that shares a computation resource with another process and a process that occupies a computation resource. Execution control causes a processor core allocated to a storage control process to be occupied by the storage control process, the execution control causes a processor core allocated to an application process to be shared with another process, and the execution control changes the number of processor cores allocated to the storage control process on the basis of I/O information indicating a state of an I/O.

## Claims

### Claim 1

A computer system, comprising:
a memory;
a plurality of processor cores coupled to the memory; and
a storage device coupled to the plurality of processor cores, wherein
the memory is configured to store:
a storage control program which causes at least one of the plurality of processor cores to execute a storage control process in which an I/O is executed with respect to the storage device in accordance with an I/O request;
an application program which causes at least one of the plurality of processor cores to execute an application process in which the I/O request is issued; and
an execution control program which causes at least one of the plurality of processor cores to execute execution control in which at least one of the plurality of processor cores is allocated to each of the storage control process and the application process,
the execution control causes a processor core allocated to the storage control process to be occupied by the storage control process,
the execution control causes a processor core allocated to the application process to be shared with another process, and
the execution control changes the number of processor cores allocated to the storage control process, based on I/O information indicating a state of the I/O.

### Claim 2 (depends on 1)

The computer system according to claim 1, wherein
the I/O information includes at least any one of an I/O load that is a load of the I/O, a response time of the I/O, and a write pending data amount that represents a size of data pending write to the storage device in the memory, and
the storage control process measures the I/O information and stores the I/O information in the memory.

### Claim 3 (depends on 2)

The computer system according to claim 2, wherein
when the I/O information satisfies an addition determination condition configured in advance, the execution control executes an addition determination for determining whether or not to increase the number of processor cores allocated to the storage control process and, when the I/O information does not satisfy the addition determination condition but the I/O information satisfies a reduction determination condition configured in advance, the execution control executes a reduction determination for determining whether or not to reduce the number of processor cores allocated to the storage control process.

### Claim 4 (depends on 3)

The computer system according to claim 3, wherein
the execution control configures any one of an occupied mode and a shared mode with respect to the storage control process,
when configured in the occupied mode, the storage control process occupies a processor core allocated to the storage control process, and
when configured in the shared mode, the storage control process shares a processor core allocated to the storage control process with a program other than the storage control process.

### Claim 5 (depends on 4)

The computer system according to claim 4, wherein
the execution control stores state information representing a state of each process and each processor core in the memory, and
in the addition determination, when the state information satisfies an occupied mode addition condition configured in advance, the execution control starts a new storage control process in the occupied mode, and when the state information satisfies a shared mode addition condition configured in advance, the execution control starts a new storage control process in the shared mode.

### Claim 6 (depends on 5)

The computer system according to claim 5, wherein
in the reduction determination, when the state information satisfies a shared mode reduction condition configured in advance, the execution control stops a storage control process in the shared mode, when the state satisfies an occupied mode reduction condition configured in advance, the execution control stops a storage control process in the occupied mode, and when the state information satisfies an occupied mode change condition configured in advance, the execution control configures the shared mode to a storage control process in the occupied mode.

### Claim 7 (depends on 6)

The computer system according to claim 6, wherein
the storage control process determines whether or not the I/O request has been issued, and when determination is made that the I/O request has been issued, executes the I/O, and when the I/O is completed, repeats the determination of the I/O request,
in the occupied mode, when determination is made that the I/O request has not been issued, the storage control process repeats the determination of the I/O request, and
in the shared mode, when determination is made that the I/O request has not been issued, the storage control process transfers an execution authority of a processor core allocated to the storage control process to a process other than the storage control process.

### Claim 8 (depends on 7)

The computer system according to claim 7, wherein
the memory is configured to include a cache memory which stores data to be written to the storage device and data read from the storage device, and
the write pending data amount is a Write Pending rate representing a proportion of the write pending data in the data stored in the cache memory.

### Claim 9 (depends on 8)

The computer system according to claim 8, wherein
the memory is configured to store an I/O load upper limit value, a response time upper limit value, an I/O load lower limit value, and a Write Pending rate upper limit value,
the addition determination condition is a condition under which the I/O load is higher than the I/O load upper limit value or the response time is longer than the response time upper limit value, and
the reduction determination condition is a condition under which the I/O load is lower than the I/O load lower limit value and the Write Pending rate is equal to or lower than the Write Pending rate upper limit.

### Claim 10 (depends on 9)

The computer system according to claim 9, wherein
the memory is configured to store a maximum number of occupied cores and a maximum number of shared cores,
the occupied mode addition condition is a condition under which two or more processor cores are allocated to a standard process that is a process other than the storage control process, a load of the cores allocated to the standard process after reducing the cores allocated to the standard process is equal to or lower than a load upper limit value configured in advance, and the number of processes in the occupied mode is smaller than the maximum number of occupied cores, and
the shared mode addition condition is a condition under which the state information does not satisfy the occupied mode addition condition and the number of processes in the shared mode is smaller than the maximum number of shared cores.

### Claim 11 (depends on 10)

The computer system according to claim 10, wherein
the memory is configured to store a minimum number of occupied cores,
the occupied mode change condition is a condition under which the number of storage control processes in the occupied mode is 1 and the maximum number of shared cores is equal to or larger than 1,
the shared mode reduction condition is a condition under which the number of storage control processes is equal to or larger than 2 and the number of storage control processes in the shared mode is equal to or larger than 1, and
the occupied mode reduction condition is a condition under which the number of storage control processes is equal to or larger than 2, the number of storage control processes in the shared mode is 0, and the number of storage control processes in the occupied mode is larger than the minimum number of occupied cores.

### Claim 12 (depends on 11)

The computer system according to claim 11, further comprising:
a display device coupled to the plurality of processor cores; and
an input device coupled to the plurality of processor cores, wherein
the display device is configured to display at least any one item of the minimum number of occupied cores, the maximum number of occupied cores, and the maximum number of shared cores, and
the input device is configured to accept an input of a value of the item.

### Claim 13 (depends on 9)

The computer system according to claim 9, further comprising:
a display device coupled to the plurality of processor cores; and
an input device coupled to the plurality of processor cores, wherein
the display device is configured to display at least any one item of the I/O load upper limit value, the response time upper limit value, the I/O load lower limit value, and the Write Pending upper limit value, and
the input device is configured to accept an input of a value of the item.

### Claim 14 (depends on 7)

The computer system according to claim 7, wherein
the storage control process measures the number of cycles of a processor core allocated to the storage control process before the I/O and after the I/O, respectively, and measures the I/O load, based on the measured numbers of cycles.

### Claim 15

A process execution method of causing a computer system to execute a process, the computer system including a memory, a plurality of processor cores coupled to the memory, and a storage device coupled to the plurality of processor cores,
the process execution method comprising:
storing, in the memory, a storage control program which causes at least one of the plurality of processor cores to execute a storage control process in which an I/O is executed with respect to the storage device in accordance with an I/O request, an application program which causes at least one of the plurality of processor cores to execute an application process in which the I/O request is issued, and an execution control program which causes at least one of the plurality of processor cores to execute execution control in which at least one of the plurality of processor cores is allocated to each of the storage control process and the application process;
implementing the execution control to cause a processor core allocated to the storage control process to be occupied by the storage control process;
implementing the execution control to cause a processor core allocated to the application process to be shared with another process; and
implementing the execution control to change the number of processor cores allocated to the storage control process, based on I/O information indicating a state of the I/O.
