Affinity Domain Lookup via Page Table Mapping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

As memory sizes increase, determining the location of a particular page in computing systems becomes time-consuming and hardware-intensive due to non-uniform memory access in systems with virtualization, leading to potential security and data privacy issues.

Innovation Solution

A method and system for determining affinity domain information based on virtual memory addresses using a page table to map virtual addresses to physical addresses, identifying the affinity domain associated with the physical memory page, and providing affinity domain information to optimize memory access and management.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If memory sizes continue to grow, then memory capacity increases, but determining page location becomes time-consuming and hardware intensive

Engineering Contradiction:
Improvememory capacityVSAvoidtime to determine page location
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system pre-determines and stores affinity domain information in the page table entries during memory allocation, so that when a virtual address needs to be accessed, the affinity domain is already known without requiring additional lookup operations at access time

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention introduces an affinity domain identifier as an intermediary field in the page table structure, which acts as a mediator between the virtual address and the physical memory location, enabling quick determination of memory affinity without direct complex calculations

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If virtualization is employed to abstract physical resources, then resource partitioning and security improve, but memory access complexity increases

Engineering Contradiction:
Improvesecurity and data privacyVSAvoidmemory access complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The memory system is segmented into multiple affinity domains, each associated with specific processors and local memory. The page table is segmented to include affinity domain information for each virtual address, allowing the system to manage complex virtualized memory through structured segmentation without increasing access complexity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system implements local affinity domains where processors have preferential access to local memory through dedicated affinity domain information. This creates local optimization without affecting global memory management, allowing secure virtualization while maintaining simple local access patterns

Inventive Principle:
Principle #3Local quality

3Adaptability or versatility

If page table mapping is used to translate virtual addresses to physical addresses, then memory management flexibility improves, but the process becomes hardware intensive

Engineering Contradiction:
Improvememory management flexibilityVSAvoidhardware intensity
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The affinity domain information is pre-calculated and stored in the page table during address translation setup, eliminating the need for additional hardware computations during actual memory access operations. The page table entries are prepared in advance with all necessary affinity information

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11003585B2Determining affinity domain information based on virtual memory address
Publication Date: 2021.05.11 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11003585B2 patent drawing
  • US11003585B2 patent drawing
  • US11003585B2 patent drawing

AI summary

A method for determining affinity domain information based on virtual memory address in a computing system where access to memory is non-uniform includes receiving a request to identify an affinity domain associated with a specified virtual memory address. The affinity domain includes a cluster of processors and memory local to the cluster of processors. A physical memory page corresponding to the specified virtual memory address is determined using a page table mapping a plurality of virtual memory addresses to a plurality of physical addresses. An affinity domain associated with the determined physical memory page is identified. Affinity domain information is provided for the identified affinity domain.