Pinned Memory Migration via Dualcast Writes During DMA

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems face inefficiencies and delays due to the inability to migrate pinned memory pages during ongoing I/O operations, leading to issues such as I/O fabric back-pressure, system-wide timeouts, and memory fragmentation, which impact cloud, edge, and client systems.

Innovation Solution

A system architecture and techniques enable the migration of pinned memory pages by using Pinned Memory Migration (PMM) logic to perform a 'Dualcast' operation, ensuring write operations are observed in both source and destination pages, and employing a Transactional Memory Copy to maintain data consistency during migration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If memory pages are pinned to ensure data correctness during I/O operations, then data correctness is improved, but memory migration capability deteriorates

Engineering Contradiction:
Improvedata correctnessVSAvoidmemory migration capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent segments the memory access path by introducing a memory copy engine that creates parallel copy paths. The pinned memory page is divided into source and destination regions, with the copy engine creating independent copy channels that bypass the pinning restriction, allowing migration while maintaining data integrity through coordinated access control.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The memory copy engine acts as an intermediary component between the pinned memory page and the migration process. It mediates the copy operation by intercepting access requests, managing the dual cast mechanism, and coordinating with the I/O device to ensure data correctness is maintained during migration without requiring traditional pinning restrictions.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If DMA operations are paused to migrate pinned memory pages, then memory migration is enabled, but system performance deteriorates

Engineering Contradiction:
Improvememory migration capabilityVSAvoidsystem performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent enables continuous DMA operations during memory migration by implementing a dual cast mechanism. The memory copy engine maintains active DMA transfers to the source memory page while simultaneously copying data to the destination page, eliminating the need to pause DMA operations and ensuring continuous useful action throughout the migration process.

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The system performs preliminary setup by configuring the memory copy engine with source and destination address mappings before migration begins. The dual cast paths are pre-established and coordinated with the I/O device, allowing migration to proceed without interrupting ongoing DMA operations, thus maintaining system performance.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If pinned memory pages cannot be migrated, then data correctness is maintained, but memory fragmentation increases

Engineering Contradiction:
Improvedata correctnessVSAvoidmemory fragmentation
Core Design Contradiction:
ReliabilityVSStability of the object's composition

Solution Approach 1:

The memory copy engine segments the migration process into controlled copy operations that maintain data correctness. By dividing the pinned memory page into manageable copy regions and using coordinated dual cast mechanisms, the system enables migration while preserving data integrity, thereby reducing memory fragmentation without compromising reliability.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250307151A1System architecture and techniques for pinned memory migration
Publication Date: 2025.10.02 INTEL CORP
  • US20250307151A1 patent drawing
  • US20250307151A1 patent drawing
  • US20250307151A1 patent drawing

AI summary

Methods and apparatus relating to a system architecture and techniques for pinned memory migration are described. In an embodiment, one or more memory devices store a source page and a destination page. Logic circuitry causes a write operation from an Input/Output (I/O) device to be observed for both the source page and the destination page. A transactional memory copy operation is to be performed from the source page to the destination page. Other embodiments are also disclosed and claimed.