# US 2025/0156250 A1 · Method and system for prefetching data in a high-performance computing system

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

- Number: US 2025/0156250 A1
- Document ID: US20250156250A1
- Status: Published application
- Kind: A1
- Application number: 18/940,411
- Filed: 2024-11-07
- Published: 2025-05-15
- Earliest claimed: 2023-11-09
- Assignees: Bull SAS; ENSTA Bretagne
- Applicants: Bull SAS; ENSTA Bretagne
- Inventors: Louis Marie NICOLAS; Philippe COUVEE; Salim MIMOUNI; Jalil BOUKHOBZA
- Web page: https://patentgrep.com/patent/US20250156250A1

## CPC

- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 12/0862: with prefetch
- G06F 2212/6024: History based prefetching
- G06F 2212/6026: Prefetching based on access pattern detection, e.g. stride based prefetch
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer implemented method for prefetching data related to an application executed by a node of a High-Performance Computing system while said node is running an application. The prefetching is carried out based on a call-stack and corresponding Input/Output request predicted by using a graph.

## Claims

### Claim 1

A computer implemented method for prefetching data related to an application executed by a node of a High-Performance Computing system, the computer implemented method comprising:
predicting a call-stack based on a graph,
said graph comprising one or more vertices, each vertex of the one or more vertices being associated with one call-stack corresponding to one Input/Output request previously required by the application,
the one or more vertices comprising at least a first vertex associated with a first call-stack corresponding to a lastly required Input/Output request, wherein said predicting the call-stack is carried out based on the first call-stack associated with the first vertex;
predicting an Input/Output request to be required by the application, corresponding to the call-stack that is predicted, the Input/Output request at least defining the data to be prefetched;
prefetching the data defined by the Input/Output request that is predicted.

### Claim 2 (depends on 1)

The computer implemented method according to claim 1, wherein the graph is initiated with a vertex associated with the call-stack corresponding to an initial Input/Output request, said initial Input/Output request being required by the application when initializing said application.

### Claim 3 (depends on 1)

The computer implemented method according to claim 1, wherein the predicting the call-stack is carried out when an Input/Output request is currently required by the application, the first vertex associated with the first call-stack corresponding to the lastly required Input/Output request before the Input/Output request that is currently required by the application.

### Claim 4 (depends on 3)

The computer implemented method according to claim 3, wherein the computer implemented method further comprises before predicting the call-stack,
detecting that the Input/Output request is currently required by the application;
retrieving a current call-stack corresponding to the Input/Output request currently required, and
when the current call-stack is not similar to a previous call-stack corresponding to a previous Input/Output request required by the application,
adding a second vertex in the graph associated with said current call-stack; and
adding a directed edge in the graph from the first vertex to the second vertex;
when the current call-stack is similar to the previous call-stack corresponding to the previous Input/Output request required by the application but no edge in the graph connects the first vertex to the second vertex corresponding to the current call-stack,
adding the directred edge in the graph from the first vertex to the second vertex;
the current call-stack becoming the first call-stack for predicting the call-stack.

### Claim 5 (depends on 1)

The computer implemented method according to claim 1, wherein a correspondence between the call-stack and the Input/Output request is comprised within a hash table.

### Claim 6 (depends on 5)

The computer implemented method according to claim 5, wherein the hash table is updated when a current call-stack is not similar to a previous call-stack associated with one of the one or more vertices.

### Claim 7 (depends on 5)

The computer implemented method according to claim 5, wherein each vertex in the graph comprises an identifier (ID) of the call-stack with which it is associated, the identifier (ID) being comprised within the hash table.

### Claim 8 (depends on 7)

The computer implemented method according to claim 7, wherein the identifier (ID) of the call-stack is determined based on a number M of frames of the call-stack, M being an integer comprised between 1 and 124.

### Claim 9 (depends on 1)

The computer implemented method according to claim 1, wherein the call-stack that is predicted is
the first call-stack when no edge connects the first vertex to another of the one or more vertices in the graph; or
when at least one edge connects the first vertex to another vertex of the one or more vertices in the graph, chosen among the first call-stack or another call-stack associated with a vertex of the one or more vertices to which the first vertex is connected, wherein said call-stack that is predicted is chosen based on a metric value assigned to the at least one edge.

### Claim 10 (depends on 9)

The computer implemented method according to claim 9, wherein the metric value is a most recently used path, a most frequently used path, or any combination thereof.

### Claim 11 (depends on 9)

The computer implemented method according to claim 9, further comprising
detecting an error comprising that said predicting the call-stack is erroneous when a next Input/Output request required by the application is not similar to the Input/Output request that is predicted;
correcting the graph based on said error that is detected, wherein a correction of the error comprises one or more of
adding one or more of
a second vertex in the graph,
an edge in the graph from the first vertex to the second vertex,
modifying the metric value assigned to one or more of
the edge connecting the first vertex to another vertex associated with the call-stack that is predicted,
the edge connecting the first vertex to the second vertex.

### Claim 12 (depends on 1)

The computer implemented method according to claim 1, wherein each vertex of the one or more vertices is associated with a sequence of call-stacks, each call-stack of the sequence of call-stacks corresponding to one Input/Output request of a sequence of Input/Output requests required by the application, the sequence of Input/Output requests comprising a number N of previous Input/Output requests when the each vertex has been added to the graph, N being an integer and being comprised between 1 and 100.

### Claim 13

A system that prefetches data in a High-Performance Computing system, said system being configured for implementing a computer implemented method for prefetching data related to an application executed by a node of a High-Performance Computing system, the system comprising:
a circuit and a processor configured to interpret instructions comprising
predicting a call-stack based on a graph,
said graph comprising one or more vertices, each vertex of the one or more vertices being associated with one call-stack corresponding to one Input/Output request previously required by the application,
the one or more vertices comprising at least a first vertex associated with a first call-stack corresponding to a lastly required Input/Output request, wherein said predicting the call-stack is carried out based on the first call-stack associated with the first vertex;
predicting an Input/Output request to be required by the application, corresponding to the call-stack that is predicted, the Input/Output request at least defining the data to be prefetched;
prefetching the data defined by the Input/Output request that is predicted.

### Claim 14 (depends on 13)

The system according to claim 13, wherein said system is comprised in a High-Performance Computing system.

### Claim 15

A non-transitory computer program product comprising instructions which, when the non-transitory computer program product is executed by a computer, causes the computer to carry out a computer implemented method for prefetching data related to an application executed by a node of a High-Performance Computing system, said computer implemented method comprising:
predicting a call-stack based on a graph,
said graph comprising one or more vertices, each vertex of the one or more vertices being associated with one call-stack corresponding to one Input/Output request previously required by the application,
the one or more vertices comprising at least a first vertex associated with a first call-stack corresponding to a lastly required Input/Output request, wherein said predicting the call-stack is carried out based on the first call-stack associated with the first vertex;
predicting an Input/Output request to be required by the application, corresponding to the call-stack that is predicted, the Input/Output request at least defining the data to be prefetched;
prefetching the data defined by the Input/Output request that is predicted.
