# US 2022/0012209 A1 · Apparatus, system and method to sample page table entry metadata between page walks

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

- Number: US 2022/0012209 A1
- Document ID: US20220012209A1
- Status: Published application
- Kind: A1
- Application number: 17/485,203
- Filed: 2021-09-24
- Published: 2022-01-13
- Earliest claimed: 2021-09-20
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Francois Dugast; Neha Pathapati; Durgesh Srivastava
- Web page: https://patentgrep.com/patent/US20220012209A1

## CPC

- G06F 12/1009: using page tables, e.g. page table structures
- G06F 16/164: {File meta data generation}
- G06F 2212/1024: Latency reduction
- G06F 2212/154: Networked environment
- G06F 2212/502: using adaptive policy
- G06F 2212/651: Multi-level translation tables
- G06F 2212/654: Look-ahead translation
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus of a computing system, the computing system, a method to be performed at the apparatus, and a machine-readable storage medium. The apparatus includes control circuitry to: perform a page walk operation on a page table structure of a pooled memory; based on the page walk operation, determine page table entries (PTEs) corresponding to a workload to be executed by the computing system; and during a time interval not including a page walk operation by the control circuitry, perform a plurality of sampling operations, individual ones of the sampling operations including determining PTE metadata corresponding to at least some of the PTEs.

## Claims

### Claim 1

An apparatus of a computing system, the apparatus including control circuitry to:
perform a page walk operation on a page table structure of a pooled memory;
based on the page walk operation, determine page table entries (PTEs) corresponding to a workload to be executed by the computing system; and
during a time interval not including a page walk operation by the control circuitry, perform a plurality of sampling operations, individual ones of the sampling operations including determining PTE metadata corresponding to at least some of the PTEs.

### Claim 2 (depends on 1)

The apparatus of claim 1, the control circuitry to further, after determining the PTEs, cause information regarding the PTEs to be saved at a memory location of the computing system, wherein performing a plurality of sampling operations includes accessing the memory location, determining the information regarding the PTEs from the memory location, and accessing the PTEs in the page table structure based on the information regarding the PTEs.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the page walk is a first page walk, the information regarding the PTEs is first information regarding the PTEs, the plurality of sampling operations are a first plurality of sampling operations, and the PTE metadata is first PTE metadata, the control circuitry to further;
perform a refresh operation by, after the time interval, performing a second page walk;
after performing the second page walk, cause second information regarding the PTEs to be saved at the memory location; and
during a time interval not including any page walk of the page table structure by the control circuitry, perform a second plurality of sampling operations.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the control circuitry is to cause information regarding different sets of PTEs to be saved to the memory location based on different corresponding sets of workloads to be performed by the computing system.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the information regarding the PTEs includes, for each of the PTEs, at least one of: a PTE start address and a PTE end address or a pointer to the PTE within the page table structure.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the information regarding the PTEs includes a pointer to a memory context of the workload to be executed, and a process identifier for the workload to be executed (process ID).

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the PTE metadata includes, for each of the PTEs, one or more page flags including at least one of a young flag, a dirty flag, a read flag, a write flag or a present flag.

### Claim 8 (depends on 1)

The apparatus of claim 1, the control circuitry to further send the PTE metadata to a processor of the computing system, the PTE metadata including information to allow the processor to change memory placement of data in the pooled memory, the data corresponding to the PTEs .

### Claim 9 (depends on 8)

The apparatus of claim 8, the control circuitry to further detect at least one of a request for page hotness estimation or a request for execution of a workflow, and, based on the request, trigger performance of the page walk.

### Claim 10

A computing system including:
a memory; and
control circuitry coupled to the memory, the control circuitry to:
perform a page walk operation on a page table structure of a pooled memory;
based on the page walk operation, determine page table entries (PTEs) corresponding to a workload to be executed by the computing system; and
during a time interval not including a page walk operation by the control circuitry, perform a plurality of sampling operations, individual ones of the sampling operations including determining PTE metadata corresponding to at least some of the PTEs.

### Claim 11 (depends on 10)

The computing system of claim 10, the control circuitry to further, after determining the PTEs, cause information regarding the PTEs to be saved at the memory, wherein performing a plurality of sampling operations includes accessing the memory, determining the information regarding the PTEs from the memory, and accessing the PTEs in the page table structure based on the information regarding the PTEs.

### Claim 12 (depends on 11)

The computing system of claim 11, wherein the memory includes a system memory of the computing system.

### Claim 13 (depends on 10)

The computing system of claim 10, wherein the page walk is a first page walk, the information regarding the PTEs is first information regarding the PTEs, the plurality of sampling operations are a first plurality of sampling operations, and the PTE metadata is first PTE metadata, the control circuitry to further;
perform a refresh operation by, after the time interval, performing a second page walk;
after performing the second page walk, cause second information regarding the PTEs to be saved at the memory; and
during a time interval not including any page walk of the page table structure by the control circuitry, perform a second plurality of sampling operations.

### Claim 14

A method to be performed at a control circuitry of a computing system, the method including:
performing a page walk operation on a page table structure of a pooled memory;
based on the page walk operation, determining page table entries (PTEs) corresponding to a workload to be executed by the computing system; and
during a time interval not including a page walk operation by the control circuitry, performing a plurality of sampling operations, individual ones of the sampling operations including determining PTE metadata corresponding to at least some of the PTEs.

### Claim 15 (depends on 14)

The method of claim 14, further including, after determining the PTEs, causing information regarding the PTEs to be saved at a memory location of the computing system, wherein performing a plurality of sampling operations includes accessing the memory location, determining the information regarding the PTEs from the memory location, and accessing the PTEs in the page table structure based on the information regarding the PTEs.

### Claim 16

At least one non-transitory machine readable storage medium having instructions stored thereon, the instructions, when executed by an apparatus of a computing system to cause the apparatus to perform operations including:
performing a page walk operation on a page table structure of a pooled memory;
based on the page walk operation, determining page table entries (PTEs) corresponding to a workload to be executed by the computing system; and
during a time interval not including any page walk by the of the page table structure, performing a plurality of sampling operations, individual ones of the sampling operations including determining PTE metadata corresponding to at least some of the PTEs.

### Claim 17 (depends on 16)

The storage medium of claim 16, the operations further including, after determining the PTEs, causing information regarding the PTEs to be saved at a memory location, wherein performing a plurality of sampling operations includes accessing the memory location, determining the information regarding the PTEs from the memory location, and accessing the PTEs in the page table structure based on the information regarding the PTEs.

### Claim 18 (depends on 17)

The storage medium of claim 17, wherein the memory location includes a system memory of the computing system.

### Claim 19 (depends on 17)

The storage medium of claim 17, wherein the page walk is a first page walk, the information regarding the PTEs is first information regarding the PTEs, the plurality of sampling operations are a first plurality of sampling operations, and the PTE metadata is a first PTE metadata, the operations further including;
performing a refresh operation by, after the time interval, performing a second page walk;
after performing the second page walk, causing second information regarding the PTEs to be saved at the memory location; and
during a time interval not including any page walk of the page table structure by the control circuitry, performing a second plurality of sampling operations.

### Claim 20 (depends on 17)

The storage medium of claim 17, the operations further including causing information regarding different sets of PTEs to be saved to the memory location based on different corresponding sets of workloads to be performed by the computing system.
