# US 2025/0086119 A1 · Computer-readable recording medium having stored therein memory access control program, memory access control method, and information processing apparatus

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

- Number: US 2025/0086119 A1
- Document ID: US20250086119A1
- Status: Published application
- Kind: A1
- Application number: 18/801,911
- Filed: 2024-08-13
- Published: 2025-03-13
- Earliest claimed: 2023-09-08
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: Hiroki OHTSUJI
- Web page: https://patentgrep.com/patent/US20250086119A1

## CPC

- G06F 12/084: with a shared cache
- G06F 12/1072: Decentralised address translation, e.g. in distributed shared memory systems
- G06F 2212/1024: Latency reduction
- G06F 2212/622: State-only directory, i.e. not recording identity of sharing or owning nodes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-readable recording medium having stored therein a program causes one of processors to execute a process including: upon controlling an access from each of the processors to a shared memory including a storage area shared among the processors, determining the number of one or more first processors that can be controlled by hardware when the access is to be controlled by the hardware; and performing, based on a frequency of the access to the shared memory from the processors, a control of the access to the shared memory from a second processor, the number of one or more second processors being excluded the determined number of the first processors from the processors, by a first control being performed by software executed by the second processor, or by a second control being performed by the first processor according to a command issued by the second processor.

## Claims

### Claim 1

A non-transitory computer-readable recording medium having stored therein a memory access control program causing one of a plurality of processors to execute a process comprising:
upon controlling an access from each of the plurality of processors to a shared memory comprising a storage area shared among the plurality of processors,
determining the number of one or more first processors that can be controlled by hardware when the access is to be controlled by the hardware; and
performing, based on a frequency of the access to the shared memory from the plurality of processors, a control of the access to the shared memory from one or more second processors, the number of the one or more second processors being excluded the determined number of the one or more first processors from the plurality of processors, by a first control or a second control, the first control being performed by software executed by the second processor, and the second control being performed by the first processor according to a command issued by the second processor.

### Claim 2 (depends on 1)

The non-transitory computer-readable recording medium according to claim 1, wherein
the performing of the control of the access from the one or more second processors comprises selecting the first control or the second control based on a result of a comparison between an access latency from the plurality of processors to the shared memory when the first control is performed and an access latency from the plurality of processors to the shared memory when the second control is performed.

### Claim 3 (depends on 1)

The non-transitory computer-readable recording medium according to claim 1, wherein
the control of the access comprises a consistency control of data in response to the access, and
the first control comprises:
setting, by the second processor, information about a cache status in management information stored in a given storage area of the shared memory; and
performing, by the first processor, the consistency control by referring to the management information when accessing the shared memory.

### Claim 4 (depends on 1)

The non-transitory computer-readable recording medium according to claim 1, wherein
the second control comprises:
issuing, by the second processor, a command to the first processor to instruct to an access to the shared memory; and
executing the command by the first processor to cause the hardware to control the access instructed in the executed command.

### Claim 5 (depends on 1)

The non-transitory computer-readable recording medium according to claim 1, wherein
each of the plurality of processors executes a program allocated to one or more processors, and
the determining of the number of the one or more first processors comprises determining the number of processors to operate as the first processor from one or more processors executing a process for each of a plurality of the programs such that access latencies to the shared memory from each of the plurality of programs executed by the plurality of processors meet a given condition among the plurality of programs.

### Claim 6

A computer-implemented memory access control method comprising a process executed by one of a plurality of processors, the process comprising:
upon controlling an access from each of the plurality of processors to a shared memory comprising a storage area shared among the plurality of processors,
determining the number of one or more first processors that can be controlled by hardware when the access is to be controlled by the hardware; and
performing, based on a frequency of the access to the shared memory from the plurality of processors, a control of the access to the shared memory from one or more second processors, the number of the one or more second processors being excluded the determined number of the one or more first processors from the plurality of processors, by a first control or a second control, the first control being performed by software executed by the second processor, and the second control being performed by the first processor according to a command issued by the second processor.

### Claim 7 (depends on 6)

The computer-implemented memory access control method according to claim 6, wherein
the performing of the control of the access from the one or more second processors comprises selecting the first control or the second control based on a result of a comparison between an access latency from the plurality of processors to the shared memory when the first control is performed and an access latency from the plurality of processors to the shared memory when the second control is performed.

### Claim 8 (depends on 6)

The computer-implemented memory access control method according to claim 6, wherein
the control of the access comprises a consistency control of data in response to the access, and
the first control comprises:
setting, by the second processor, information about a cache status in management information stored in a given storage area of the shared memory; and
performing, by processor, the the first consistency control by referring to the management information when accessing the shared memory.

### Claim 9 (depends on 6)

The computer-implemented memory access control method according to claim 6, wherein
the second control comprises:
issuing, by the second processor, a command to the first processor to instruct to an access to the shared memory; and
executing the command by the first processor to cause the hardware to control the access instructed in the executed command.

### Claim 10 (depends on 6)

The computer-implemented memory access control method according to claim 6, wherein
each of the plurality of processors executes a program allocated to one or more processors, and
the determining of the number of the one or more first processors comprises determining the number of processors to operate as the first processor from one or more processors executing a process for each of a plurality of the programs such that access latencies to the shared memory from each of the plurality of programs executed by the plurality of processors meet a given condition among the plurality of programs.

### Claim 11

An information processing apparatus comprising:
a memory; and
a processor coupled to the memory, the processor being configured to perform a process comprising:
upon controlling an access from each of a plurality of processors comprising the processor to a shared memory comprising a storage area shared among the plurality of processors,
determining the number of one or more first processors that can be controlled by hardware when the access is to be controlled by the hardware; and
performing, based on a frequency of the access to the shared memory from the plurality of processors, a control of the access to the shared memory from one or more second processors, the number of the one or more second processors being excluded the determined number of the one or more first processors from the plurality of processors, by a first control or a second control, the first control being performed by software executed by the second processor, and the second control being performed by the first processor according to a command issued by the second processor.

### Claim 12 (depends on 11)

The information processing apparatus according to claim 11, wherein
in the performing of the control of the access from the one or more second processors, the processor is configured to select the first control or the second control based on a result of a comparison between an access latency from the plurality of processors to the shared memory when the first control is performed and an access latency from the plurality of processors to the shared memory when the second control is performed.

### Claim 13 (depends on 11)

The information processing apparatus according to claim 11, wherein
the control of the access comprises a consistency control of data in response to the access, and
the first control comprises:
setting, by the second processor, information about a cache status in management information stored in a given storage area of the shared memory; and
performing, by the first processor, the consistency control by referring to the management information when accessing the shared memory.

### Claim 14 (depends on 11)

The information processing apparatus according to claim 11, wherein
the second control comprises:
issuing, by the second processor, a command to the first processor to instruct to an access to the shared memory; and
executing the command by the first processor to cause the hardware to control the access instructed in the executed command.

### Claim 15 (depends on 11)

The information processing apparatus according to claim 11, wherein
each of the plurality of processors executes a program allocated to one or more processors, and
in the determining of the number of the one or more first processors, the processor is configured to determine the number of processors to operate as the first processor from one or more processors executing a process for each of a plurality of the programs such that access latencies to the shared memory from each of the plurality of programs executed by the plurality of processors meet a given condition among the plurality of programs.
