# US 11,119,942 B2 · Facilitating access to memory locality domain information

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

- Number: US 11,119,942 B2
- Document ID: US11119942B2
- Status: Granted
- Kind: B2
- Application number: 16/427,595
- Filed: 2019-05-31
- Published: 2019-09-19
- Granted: 2021-09-14
- Earliest claimed: 2017-11-09
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Michael K. Gschwind; Jonathan D. Bradbury
- Web page: https://patentgrep.com/patent/US11119942B2

## CPC

- G06F 12/1027: using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F 3/0611: {in relation to response time}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 12/023: {Free address space management}
- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 12/0862: with prefetch
- G06F 12/1036: for multiple virtual address spaces, e.g. segmentation (G06F12/1045 takes precedence)
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 2212/1016: Performance improvement
- G06F 2212/2542: Non-uniform memory access [NUMA] architecture
- G06F 2212/283: Plural cache memories
- G06F 2212/602: Details relating to cache prefetching
- G06F 2212/65: Details of virtual memory and virtual address translation
- G06F 2212/651: Multi-level translation tables
- G06F 2212/654: Look-ahead translation
- G06F 2212/657: Virtual address space management
- G06F 2212/68: Details of translation look-aside buffer [TLB]
- G06F 2212/681: Multi-level TLB, e.g. microTLB and main TLB
- G06F 2212/702: Conservative garbage collection
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Processing within a computing environment is facilitated by ascertaining locality domain information of a unit of memory to processing capability within the computing environment. Once ascertained, the locality domain information of the unit of memory may be cached in a data structure to facilitate one or more subsequent lookups of the locality domain information associated with one or more affinity evaluations of the unit of memory to processing capability of the computing environment.

## Claims

### Claim 1

A computer program product for facilitating processing within a computing environment, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for performing a method comprising:
ascertaining locality domain information of a unit of memory to processing capability within the computing environment, wherein the unit of memory is a virtual memory unit, and the ascertaining comprises performing address translation using a translation lookaside buffer to translate the virtual memory unit to a real memory unit and using the real memory unit to fetch the locality domain information from a configuration array comprising system location information on physical components of the computing environment;
caching the locality domain information of the unit of memory in a data structure separate from a computing environment data structure containing the configuration array to facilitate one or more subsequent lookups of the locality domain information associated with one or more affinity evaluations of the unit of memory to the processing capability of the computing environment; and
performing a subsequent lookup of the locality domain information of the one or more subsequent lookups of the locality domain information in association with an affinity evaluation of the unit of memory to the processing capability of the computing environment, the performing utilizing the locality domain information of the unit of memory cached in the data structure.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the caching comprises caching the locality domain information of the unit of memory in a configuration array cache associated with an operating system or an application of the computing environment.

### Claim 3 (depends on 1)

The computer program product of claim 1, wherein the computing environment is a non-uniform memory access (NUMA) computing environment, and the locality domain information of the unit of memory to the processing capability comprises information identifying a particular processing domain of the NUMA computing environment to which the unit of memory has locality based affinity.

### Claim 4 (depends on 1)

The computer program product of claim 1, further comprising determining whether the unit of memory has locality affinity to a processing domain of a plurality of processing domains of the computing environment, the determining including retrieving the locality domain information of the unit of memory from the data structure for comparison to locality of the processing domain within the computing environment.

### Claim 5 (depends on 4)

The computer program product of claim 4, wherein the data structure is one of a configuration array cache associated with an operating system or an application of the computing environment, or a translation lookaside buffer of the computing environment.

### Claim 6 (depends on 4)

The computer program product of claim 4, further comprising setting an indicator specifying local affinity when the locality domain information of the unit of memory matches the locality of the processing domain.

### Claim 7 (depends on 4)

The computer program product of claim 4, further comprising, based on the unit of memory having locality affinity to the processing domain, performing by the processing domain a garbage collection process on the unit of memory.

### Claim 8

A computer system for facilitating processing within a computing environment, the computer system comprising:
a memory; and
a processor in communications with a memory, wherein the computer system is configured to perform a method, the method comprising:
ascertaining locality domain information of a unit of memory to processing capability within the computing environment, wherein the unit of memory is a virtual memory unit, and the ascertaining comprises performing address translation using a translation lookaside buffer to translate the virtual memory unit to a real memory unit and using the real memory unit to fetch the locality domain information from a configuration array comprising system location information on physical components of the computing environment;
caching the locality domain information of the unit of memory in a data structure separate from a computing environment data structure containing the configuration array to facilitate one or more subsequent lookups of the locality domain information associated with one or more affinity evaluations of the unit of memory to the processing capability of the computing environment; and
performing a subsequent lookup of the locality domain information of the one or more subsequent lookups of the locality domain information in association with an affinity evaluation of the unit of memory to the processing capability of the computing environment, the performing utilizing the locality domain information of the unit of memory cached in the data structure.

### Claim 9 (depends on 8)

The computer system of claim 8, wherein the caching comprises caching the locality domain information of the unit of memory in a configuration array cache associated with an operating system or an application of the computing environment.

### Claim 10 (depends on 8)

The computer system of claim 8, wherein the computing environment is a non-uniform memory access (NUMA) computing environment, and the locality domain information of the unit of memory to the processing capability comprises information identifying a particular processing domain of the NUMA computing environment to which the unit of memory has locality based affinity.

### Claim 11 (depends on 8)

The computer system of claim 8, further comprising determining whether the unit of memory has locality affinity to a processing domain of a plurality of processing domains of the computing environment, the determining including retrieving the locality domain information of the unit of memory from the data structure for comparison to locality of the processing domain within the computing environment.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein the data structure is one of a configuration array cache associated with an operating system or an application of the computing environment, or a translation lookaside buffer of the computing environment.

### Claim 13 (depends on 11)

The computer system of claim 11, further comprising setting an indicator specifying local affinity when the locality domain information of the unit of memory matches the locality of the processing domain.

### Claim 14 (depends on 11)

The computer system of claim 11, further comprising, based on the unit of memory having locality affinity to the processing domain, performing by the processing domain a garbage collection process on the unit of memory.

### Claim 15

A computer-implemented method of facilitating processing within a computing environment, the computer-implemented method comprising:
ascertaining locality domain information of a unit of memory to processing capability within the computing environment, wherein the unit of memory is a virtual memory unit, and the ascertaining comprises performing address translation using a translation lookaside buffer to translate the virtual memory unit to a real memory unit and using the real memory unit to fetch the locality domain information from a configuration array comprising system location information on physical components of the computing environment;
caching the locality domain information of the unit of memory in a data structure separate from a computing environment data structure containing the configuration array to facilitate one or more subsequent lookups of the locality domain information associated with one or more affinity evaluations of the unit of memory to the processing capability of the computing environment; and
performing a subsequent lookup of the locality domain information of the one or more subsequent lookups of the locality domain information in association with an affinity evaluation of the unit of memory to the processing capability of the computing environment, the performing utilizing the locality domain information of the unit of memory cached in the data structure.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, wherein the computing environment is a non-uniform memory access (NUMA) computing environment, and the locality domain information of the unit of memory to the processing capability comprises information identifying a particular processing domain of the NUMA computing environment to which the unit of memory has locality based affinity.

### Claim 17 (depends on 15)

The computer-implemented method of claim 15, further comprising determining whether the unit of memory has locality affinity to a processing domain of a plurality of processing domains of the computing environment, the determining including retrieving the locality domain information of the unit of memory from the data structure for comparison to locality of the processing domain within the computing environment.

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, further comprising, based on the unit of memory having locality affinity to the processing domain, performing by the processing domain a garbage collection process on the unit of memory.
