# US 2025/0165151 A1 · Apparatus and method for managing disaggregated memory based on memory access pattern recognition

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

- Number: US 2025/0165151 A1
- Document ID: US20250165151A1
- Status: Published application
- Kind: A1
- Application number: 18/950,435
- Filed: 2024-11-18
- Published: 2025-05-22
- Earliest claimed: 2023-11-20
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Chang-Dae KIM; Kwang-Won KOH; Tae-Hoon KIM; Eun-Ji PAK; Yeon-Jeong JEONG
- Web page: https://patentgrep.com/patent/US20250165151A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein are an apparatus and method for managing a disaggregated memory based on memory access pattern recognition. The apparatus and method for managing a disaggregated memory based on memory access pattern recognition includes memory configured to store at least one program, and a processor configured to execute the program, wherein the program is configured to recognize a pattern of memory access to a disaggregated memory including a local memory and a remote memory of an application or a container and manage the disaggregated memory based on the recognized memory access pattern, and recognize memory access patterns for respective memory areas managed by at least one virtual memory area descriptor when the memory access pattern is recognized.

## Claims

### Claim 1

An apparatus for managing a disaggregated memory based on memory access pattern recognition, comprising:
a memory configured to store at least one program; and
a processor configured to execute the program,
wherein the program is configured to:
recognize a pattern of memory access to a disaggregated memory including a local memory and a remote memory of an application or a container and manage the disaggregated memory based on the recognized memory access pattern, and
recognize memory access patterns for respective memory areas managed by at least one virtual memory area descriptor when the memory access pattern is recognized.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the program is configured to assign a memory access pattern ID and a memory access pattern type of a virtual memory area descriptor newly created as a certain function is called from the application or the container.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the program is configured to assign an identical memory access pattern ID and an identical memory access pattern type to a virtual memory area descriptor for a memory area corresponding to one of a code area or a stack area.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the program is configured such that, as a process is duplicated to create a child process from a parent process through a fork function, a memory access pattern ID and a memory access pattern type identical to those of a duplication target virtual memory area descriptor are assigned to a virtual memory area descriptor that is duplicated together with the process.

### Claim 5 (depends on 2)

The apparatus of claim 2, wherein the program is configured to assign an identical memory access pattern ID and an identical memory access pattern type to memory areas allocated at an identical code location.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the program is configured to optimize disaggregated memory performance based on a result of analyzing a memory access pattern type as a change in a page table is sensed by occurrence of a page fault or by a Memory Management Unit (MMU) notifier.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the program is configured to change a transfer unit of data to be transmitted between the remote memory and the local memory in optimizing the disaggregated memory performance.

### Claim 8 (depends on 6)

The apparatus of claim 6, wherein the program is configured to prefetch data stored in the remote memory, predicted to be subsequently accessed depending on the memory access pattern, to the local memory in optimizing the disaggregated memory performance.

### Claim 9 (depends on 6)

The apparatus of claim 6, wherein the program is configured to pin data to one of the local memory or the remote memory in optimizing the disaggregated memory performance.

### Claim 10 (depends on 6)

The apparatus of claim 6, wherein the program is configured to, when the disaggregated memory is managed, fetch data in the remote memory, requested to be accessed, to the local memory and evict data in the local memory, expected to be less frequently used, to the remote memory when a space of the local memory is insufficient.

### Claim 11

A method for assigning a memory access pattern ID and type, comprising:
analyzing a memory area that is newly allocated as a certain function is called from an application or a container; and
assigning a memory access pattern ID and a memory access pattern type of a virtual memory area descriptor for managing memory areas based on a result of analysis.

### Claim 12 (depends on 11)

The method of claim 11, wherein assigning the memory access pattern ID and the memory access pattern type comprises:
assigning an identical memory access pattern ID and an identical memory access pattern type to a virtual memory area descriptor for a memory area corresponding to one of a code area or a stack area.

### Claim 13 (depends on 11)

The method of claim 11, wherein assigning the memory access pattern ID and the memory access pattern type comprises:
as a process is duplicated to create a child process from a parent process through a fork function, assigning a memory access pattern ID and a memory access pattern type identical to those of a duplication target virtual memory area descriptor to a virtual memory area descriptor that is duplicated together with the process.

### Claim 14 (depends on 11)

The method of claim 11, wherein assigning the memory access pattern ID and the memory access pattern type comprises:
assigning an identical memory access pattern ID and an identical memory access pattern type to memory areas allocated at an identical code location.

### Claim 15

A method for managing a disaggregated memory based on memory access pattern recognition, comprising:
recognizing a pattern of memory access to a disaggregated memory including a local memory and a remote memory of an application or a container; and
managing the disaggregated memory based on the recognized memory access pattern,
wherein, when the memory access pattern is recognized, memory access patterns are recognized for respective memory areas managed by at least one virtual memory area descriptor.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
optimizing disaggregated memory performance based on a result of analyzing a memory access pattern type as a change in a page table is sensed by occurrence of a page fault or by a Memory Management Unit (MMU) notifier.

### Claim 17 (depends on 16)

The method of claim 16, wherein optimizing the disaggregated memory performance comprises:
changing a transfer unit of data to be transmitted between the remote memory and the local memory.

### Claim 18 (depends on 16)

The method of claim 16, wherein optimizing the disaggregated memory performance comprises:
prefetching data stored in the remote memory, predicted to be subsequently accessed depending on the memory access pattern, to the local memory.

### Claim 19 (depends on 16)

The method of claim 16, wherein optimizing the disaggregated memory performance comprises:
pinning data to one of the local memory or the remote memory.

### Claim 20 (depends on 16)

The method of claim 16, wherein managing the disaggregated memory comprises:
fetching data in the remote memory, requested to be accessed, to the local memory, and evicting data in the local memory, expected to be less frequently used, to the remote memory when a space of the local memory is insufficient.
