# US 2022/0283951 A1 · Apparatus and method for intelligent memory page management

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

- Number: US 2022/0283951 A1
- Document ID: US20220283951A1
- Status: Published application
- Kind: A1
- Application number: 17/751,557
- Filed: 2022-05-23
- Published: 2022-09-08
- Earliest claimed: 2022-05-23
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Neha PATHAPATI; Lidia WARNES; Durgesh SRIVASTAVA; Francois DUGAST; Navneet SINGH; Rasika SUBRAMANIAN; Sidharth N. KASHYAP
- Web page: https://patentgrep.com/patent/US20220283951A1

## CPC

- G06F 12/0882: Page mode
- G06F 9/5016: {the resource being the memory}
- G06F 12/08: in hierarchically structured memory systems, e.g. virtual memory systems
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06N 3/045: Combinations of networks
- G06N 3/0499: Feedforward networks
- G06N 3/09: Supervised learning
- G06F 2209/5011: Pool
- G06F 2212/1024: Latency reduction
- G06F 2212/154: Networked environment
- G06F 2212/254: Distributed memory
- G06F 2212/502: using adaptive policy
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method is described. The method includes determining that a memory page is in one of an active state and an idle state from meta data that is maintained for the memory page. The method includes recording a past history of active/idle state determinations that were previously made for the memory page. The method includes training a neural network on the past history of the memory page. The method includes using the neural network to predict one of a future active state and future idle state for the memory page. The method includes determining a location for the memory page based on the past history of the memory page and the predicted future state of the memory page, the location being one of a faster memory and a slower memory. The method includes moving the memory page to the location from the other one of the faster memory and the slower memory.

## Claims

### Claim 1

A method, comprising:
determining that a memory page is in one of an active state and an idle state from meta data that is maintained for the memory page;
recording a past history of active/idle state determinations that were previously made for the memory page;
training a neural network on the past history of the memory page;
using the neural network to predict one of a future active state and future idle state for the memory page;
determining a location for the memory page based on the past history of the memory page and the predicted future state of the memory page, the location being one of a faster memory and a slower memory; and,
moving the memory page to the location from the other one of the faster memory and the slower memory.

### Claim 2 (depends on 1)

The method of claim 1 wherein the faster memory is a local memory and the slower memory is a remote memory.

### Claim 3 (depends on 2)

The method of claim 2 wherein the remote memory is a pooled memory.

### Claim 4 (depends on 1)

The method of claim 1 wherein the method further comprises:
training a second neural network on the past history of the memory page; and,
using the second neural network to predict one of a second future active state and second future idle state for the memory page that is farther out in the future than the one future active state or future idle state.

### Claim 5 (depends on 4)

The method of claim 4 wherein the training of the second neural network samples active/idle determinations from the past history with more time between samples than the training of the neural network.

### Claim 6 (depends on 1)

The method of claim 1 wherein the method further comprises:
observing active/idle state determinations made for the page after the moving of the page;
recognizing that the location was an incorrect determination for the memory page; and, changing a formulation used for the determining.

### Claim 7 (depends on 1)

The method of claim 1 wherein the method further comprises maintaining a list of memory pages and their determined locations.

### Claim 8

A machine readable storage medium containing program code that when processed by a processor, cause the processor to perform a method, comprising:
determining that a memory page is in one of an active state and an idle state from meta data that is maintained for the memory page;
recording a past history of active/idle state determinations that were previously made for the memory page;
training a neural network on the past history of the memory page;
using the neural network to predict one of a future active state and future idle state for the memory page;
determining a location for the memory page based on the past history of the memory page and the predicted future state of the memory page, the location being one of a faster memory and a slower memory; and,
moving the memory page to the location from the other one of the faster memory and the slower memory.

### Claim 9 (depends on 8)

The machine readable storage medium of claim 8 wherein the faster memory is a local memory and the slower memory is a remote memory.

### Claim 10 (depends on 9)

The machine readable storage medium of claim 9 wherein the remote memory is a pooled memory.

### Claim 11 (depends on 8)

The machine readable storage medium of claim 8 wherein the method further comprises:
training a second neural network on the past history of the memory page; and,
using the second neural network to predict one of a second future active state and second future idle state for the memory page that is farther out in the future than the one future active state or future idle state.

### Claim 12 (depends on 11)

The machine readable storage medium of claim 11 wherein the training of the second neural network samples active/idle determinations from the past history with more time between samples than the training of the neural network.

### Claim 13 (depends on 12)

The machine readable storage medium of claim 12 wherein the method further comprises:
observing active/idle state determinations made for the page after the moving of the page;
recognizing that the location was an incorrect determination for the memory page; and,
changing a formulation used for the determining.

### Claim 14 (depends on 8)

The machine readable storage medium of claim 8 wherein the method further comprises maintaining a list of memory pages and their determined locations.

### Claim 15

A data center, comprising:
a plurality of rack mounted computers communicatively coupled by a network;
a memory pool coupled to the network;
a processor of one of the rack mounted computers to execute program code stored in a machine readable medium to perform a method, comprising:
determining that a memory page is in one of an active state and an idle state from meta data that is maintained for the memory page;
recording a past history of active/idle state determinations that were previously made for the memory page;
training a neural network on the past history of the memory page;
using the neural network to predict one of a future active state and future idle state for the memory page;
determining a location for the memory page based on the past history of the memory page and the predicted future state of the memory page, the location being one of a local memory to the processor and the memory pool; and,
moving the memory page to the location from the other one of the local memory and the memory pool.

### Claim 16 (depends on 15)

The data center of claim 15 wherein the method further comprises:
training a second neural network on the past history of the memory page; and,
using the second neural network to predict one of a second future active state and second future idle state for the memory page that is farther out in the future than the one future active or future idle state.

### Claim 17 (depends on 16)

The data center of claim 16 wherein the training of the second neural network samples active/idle determinations from the past history with more time between samples than the training of the neural network.

### Claim 18 (depends on 16)

The data center of claim 16 wherein the method further comprises:
training a third neural network on the past history of the memory page; and,
using the third neural network to predict one of a third future active state and third future idle state for the memory page that is farther out in the future than the one second future active state or second future idle state.

### Claim 19 (depends on 15)

The data center of claim 15 wherein the method further comprises:
observing active/idle state determinations made for the page after the moving of the page;
recognizing that the location was an incorrect determination for the memory page; and,
changing a formulation used for the determining.

### Claim 20 (depends on 15)

The data center of claim 15 wherein the method further comprises maintaining a list of memory pages and their determined locations.
