# US 2021/0286725 A1 · Information processing apparatus, computer-readable recording medium having stored therein memory control program, and computer-readable recording medium having stored therein information processing program

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

- Number: US 2021/0286725 A1
- Document ID: US20210286725A1
- Status: Published application
- Kind: A1
- Application number: 17/189,436
- Filed: 2021-03-02
- Published: 2021-09-16
- Earliest claimed: 2020-03-11
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: Satoshi KAZAMA; Shinya KUWAMURA
- Web page: https://patentgrep.com/patent/US20210286725A1

## CPC

- G06F 12/0806: Multiuser, multiprocessor or multiprocessing cache systems
- G06F 12/123: with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 12/0842: for multiprocessing or multitasking
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 12/0882: Page mode
- G06F 12/0891: using clearing, invalidating or resetting means
- G06F 2212/1016: Performance improvement
- G06F 2212/1024: Latency reduction
- G06F 2212/214: Solid state disk
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An information processing apparatus including: a first management data storing region that stores a plurality of first links being provided one for each of multiple calculating cores and representing an order of migration of pages of a page group allocated to the calculating core among a plurality of the pages; a second management data storing region that stores a second link being provided for an operating system and managing a plurality of pages selected in accordance with the order of migration among the page group of the plurality of first links as a group of candidate pages to be migrated to the second memory; and a migration processor that migrates data of a page selected from the group of the second link from the first memory to the second memory. With this configuration, occurrence of a spinlock is reduced, so that the load on processor is reduced.

## Claims

### Claim 1

An information processing apparatus comprising:
a first memory that stores data in a unit of page;
a second memory that stores data of a page of a migration target from the first memory;
a processor comprising a plurality of calculating cores;
a first management data storing region that stores a plurality of first links being provided one for each of the plurality of calculating cores and representing an order of migration of pages of a page group allocated to the calculating core among a plurality of the pages;
a second management data storing region that stores a second link provided for an operating system and managing a plurality of pages selected in accordance with the order of migration among the page group of the plurality of first links as a group of candidate pages to be migrated to the second memory; and
a migration processor that migrates data of a page selected from the group of the second link from the first memory to the second memory.

### Claim 2 (depends on 1)

The information processing apparatus according to claim 1, further comprising:
a storing unit that stores migration management data managing the page that the migration processor migrates to the second memory; and
a plurality of deleting processors that are provided one for each of the plurality of calculating cores and that deletes, from the first link, the page migrated to the second memory with reference to the migration management data.

### Claim 3 (depends on 1)

The information processing apparatus according to claim 1, further comprising:
a storing unit that stores page association data that associates the page migrated to the second memory and one of the plurality of calculating cores; and
a deleting processor that deletes, from the first link, the page migrated to the second memory with reference to the page association data.

### Claim 4 (depends on 1)

The information processing apparatus according to claim 1, wherein each of the plurality of calculating core comprises:
the second link; and
a deleting processor that deletes, from the first link, the page migrated to the second memory.

### Claim 5

A non-transitory computer-readable recording medium having stored therein a memory control program applied to an information processing apparatus comprising a first memory that stores data in a unit of page, a second memory that stores data of a page of a migration target from the first memory, and a processor comprising a plurality of calculating cores, wherein:
the memory control program causes a first calculating core, being one of the plurality of calculating cores and using the first memory, to execute a process comprising registering a page to which the first calculating core makes a data access into a plurality of first links representing an order of migration of pages of a page group allocated to the first calculating core; and
the memory control program causes a second calculating core being one of the plurality of calculating cores to execute a process comprising:
referring to a second link being provided for an operating system and managing a plurality of pages selected in accordance with the order of migration among the page group of the plurality of first links as a group of candidate pages to be migrated to the second memory; and
migrating data of a page selected from the group of the second link from the first memory to the second memory.

### Claim 6 (depends on 5)

The non-transitory computer-readable recording medium according to claim 5, wherein:
the memory control program causes one of the plurality of calculating cores to execute a process comprising storing migration management data managing the page migrated to the second memory; and
the memory control program causes each of the plurality of calculating cores to execute a process comprising deleting, from the first link, the page migrated to the second memory with reference to the migration management data.

### Claim 7 (depends on 5)

The non-transitory computer-readable recording medium according to claim 5, wherein the memory control program causes one of the plurality of calculating cores to execute a process comprising:
storing page association data that associates the page migrated to the second memory and one of the plurality of calculating cores; and
deleting, from the first link, the page migrated to the second memory with reference to the page association data.

### Claim 8 (depends on 5)

The non-transitory computer-readable recording medium according to claim 5, wherein the memory control program causes each of the plurality of calculating cores to execute a process comprising deleting, from the first link, the page migrated to the second memory.

### Claim 9

An information processing apparatus comprising:
a processor comprising a plurality of calculating cores;
a requested memory capacity calculator that integrates a plurality of requested memory capacities of the plurality of calculating cores;
a cache-miss frequency calculator that counts a number of cache misses of each of the plurality of calculating cores; and
a cache redistributing determiner that determines, based on the requested memory capacities of the plurality of calculating cores, a cache capacity to be redistributed.

### Claim 10 (depends on 9)

The information processing apparatus according to claim 9, wherein the cache redistributing determiner determines, based on a ratio between the requested memory capacity of a calculating core of a migration source of the redistributing and the requested memory capacity of the migration destination of the redistributing, the cache capacity to be redistributed.

### Claim 11 (depends on 9)

The information processing apparatus according to claim 9, wherein the cache redistributing determiner redistributes the cache capacity when a ratio of a maximum value of a cache-miss frequency in the plurality of calculating cores to a minimum value of the cache-miss frequency in the plurality of calculating cores is a threshold or more.

### Claim 12 (depends on 9)

The information processing apparatus according to claim 9, wherein the cache distributing determiner determines one of the plurality of calculating cores having a lowest cache-miss frequency to be a migration source of the cache capacity and determines one of the plurality of calculating cores having a highest cache-miss frequency to be a migration destination of the cache capacity.

### Claim 13

A non-transitory computer-readable recording medium having stored therein an information processing program applied in an information processing apparatus comprising a processor comprising a plurality of calculating cores, the information processing program causing one of the plurality of calculating cores to execute a process comprising:
integrating a plurality of requested memory capacities of the plurality of calculating cores;
counting a number of cache misses of each of the plurality of calculating cores; and
determining, based on the requested memory capacities of the plurality of calculating cores, a cache capacity to be redistributed.

### Claim 14 (depends on 13)

The non-transitory computer-readable recording medium according to claim 13, the information processing program causing one of the plurality of calculating cores to execute a process comprising determining, based on a ratio between the requested memory capacity of a calculating core of a migration source of the redistributing and the requested memory capacity of the migration destination of the redistributing, the cache capacity to be redistributed.

### Claim 15 (depends on 13)

The non-transitory computer-readable recording medium according to claim 13, the information processing program causing one of the plurality of calculating cores to execute a process comprising redistributing the cache capacity when a ratio of a maximum value of a cache-miss frequency in the plurality of calculating cores to a minimum value of the cache-miss frequency in the plurality of calculating cores is a threshold or more.

### Claim 16 (depends on 15)

The non-transitory computer-readable recording medium according to claim 15, the information processing program causing one of the plurality of calculating cores to execute a process comprising:
determining one of the plurality of calculating cores having a lowest cache-miss frequency to be a migration source of the cache capacity; and
determining one of the plurality of calculating cores having a highest cache-miss frequency to be a migration destination of the cache capacity.
