# US 2021/0173780 A1 · Multi-access to a data file stored in a data-storage system related to a buffer memory

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

- Number: US 2021/0173780 A1
- Document ID: US20210173780A1
- Status: Published application
- Kind: A1
- Application number: 16/954,752
- Filed: 2018-12-27
- Published: 2021-06-10
- Earliest claimed: 2017-12-27
- Assignees: Bull SAS
- Applicants: Bull SAS
- Inventors: Jean-Olivier GERPHAGNON; Frédéric SAUNIER; Grégoire PICHON
- Web page: https://patentgrep.com/patent/US20210173780A1

## CPC

- G06F 12/08: in hierarchically structured memory systems, e.g. virtual memory systems
- G06F 12/0846: Cache with multiple tag or data arrays being simultaneously accessible
- G06F 16/176: Support for shared access to files; File sharing support
- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 9/526: {Mutual exclusion algorithms}
- G06F 12/1441: {for a range}
- G06F 12/145: {the protection being virtual, e.g. for virtual blocks or segments before a translation mechanism}
- G06F 16/1858: {Parallel file systems, i.e. file systems supporting multiple processors}
- G06F 2212/1021: Hit rate improvement
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The invention relates to a method for managing a buffer memory space associated with a persistent data storage system of a computing machine. The buffer memory space is suitable for temporarily storing in the RAM of the machine one or more portions of a single data file of the persistent data storage system that was previously accessed by one or more processes executed on the machine. The operating system of the machine tracks each of the portions of the file that are projected in the buffer memory space by a descriptor belonging to a plurality of buffer memory projection descriptors which are all associated with the tracking of one or more portions of the file projected in the buffer memory space.

## Claims

### Claim 1

A method for managing a buffer memory space (125) associated with a persistent data storage system (2) of a computing machine, said buffer memory space being suitable for temporarily storing, in the RAM (1) of the machine, a set of portions (126) of a single data file (210) of the persistent data storage system, said portions having respectively been previously accessed by one or more processes (111, 112, 113) executed on the computing machine, the method comprising the following steps, implemented by an operating system of the machine:
tracking each of the portions of the file that are projected in the buffer memory space by a determined associated descriptor (131, 132, 133), said associated descriptor belonging to a plurality (130) of buffer memory projection descriptors which are all associated with the tracking of a subset of the set of portions of the file projected in the buffer memory space;
processing a request for access to a portion of the file by a process executed on the machine, using the buffer memory projection descriptor associated with said file portion to identify whether said file portion is projected in the buffer memory space.

### Claim 2 (depends on 1)

The method according to claim 1, wherein:
the plurality (130) of buffer memory projection descriptors comprises, at each instant, as many descriptors (131, 132, 133) as there are processes (111, 112, 113) executed on the machine that has accessed portions of the file which are projected in the buffer memory space;
each of the descriptors of said plurality of buffer memory projection descriptors tracks the portions of the file projected in the buffer memory space which were accessed by a respective one of said processes; and
the association of one determined among the plurality of buffer memory projection descriptors with a portion of the file when said portion of the file is projected in the buffer memory space is dependent on the process executed on the machine which required access to said portion of the file.

### Claim 3 (depends on 2)

The method according to claim 2, wherein, when a portion of the file is projected in the buffer memory space due to said portion of the file being accessed by a process executed on the machine for which the plurality of memory projection descriptors does not comprise any associated buffer memory projection descriptor, a new buffer memory projection descriptor is created and associated with the monitoring of the projection in the buffer memory space of portions of the file accessed by said process.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the association of one determined among the plurality of buffer memory projection descriptors with a portion of the file when said portion of the file is projected in the buffer memory space is dependent on the byte index of the file in the storage system.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the segmentation of the file (210) and the distribution of the file portions (126) corresponding to the plurality (130) of buffer memory projection descriptors (131, 132, 133) is carried out by consecutive zones (211, 212, 213) of the file (210) of fixed size in one of the representation spaces of the file of the persistent storage system (2).

### Claim 6 (depends on 4)

The method according to claim 4, wherein the segmentation of the file (210) and the distribution of the file portions (126) corresponding to the plurality (130) of buffer memory projection descriptors is carried out by associating M interleaved zones (211, 212, 213) of the file (210) respectively with M buffer memory projection descriptors (131, 132, 133), where M is a determined integer.

### Claim 7 (depends on 1)

The method according to claim 1, characterized in that the computing machine is a compute node of a high-performance computer.

### Claim 8 (depends on 1)

A data-processing device comprising means for implementing the steps of the method according to claim 1.

### Claim 9 (depends on 8)

A high-performance computing system comprising a plurality of compute nodes, characterized in that it comprises a data-processing device according to claim 8 at least at one of the compute nodes thereof.

### Claim 10 (depends on 1)

A computer program product comprising instructions which, when the program is executed by a computer, lead said computer to implement the steps of the method according to claim 1.

### Claim 11 (depends on 1)

A computer-readable storage medium comprising instructions which, when they are executed by a computer, lead said computer to implement the steps of the method according to claim 1.
