Adaptive Core-DMA Pipeline Selection for Variable Memory Copy Workloads

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing processor and DMA engine pipeline designs result in suboptimal performance due to resource underutilization and high variance in workload characteristics, particularly in virtual machine environments, leading to inefficient memory copy operations.

Innovation Solution

An adaptive pipeline selection mechanism that dynamically determines thresholds for buffer length and number of copy operations, selectively choosing between processor core and DMA engine pipelines based on workload characteristics during runtime to optimize memory copy operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If DMA engine is used for memory copy operations, then processor resources are saved and performance is accelerated, but system performance becomes suboptimal when workload characteristics have high variance and object lengths are small

Engineering Contradiction:
Improvememory copy operation performanceVSAvoidadaptability to diverse workload characteristics
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic pipeline selection that adapts between processor core pipeline and DMA engine pipeline based on real-time workload characteristics. The system monitors object lengths and copy operation counts, switching between pipelines to optimize performance for varying workload conditions, making the system flexible rather than static.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the operational parameters of the memory copy system by introducing thresholds for object lengths and copy operation counts. When parameters exceed these thresholds, the system switches between processor core and DMA engine pipelines, optimizing performance based on quantitative workload characteristics.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If static processor pipeline is used, then implementation is simple, but resource underutilization occurs and performance is suboptimal for diverse workloads

Engineering Contradiction:
Improveprocessor resource utilizationVSAvoidpipeline selection mechanism complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent transforms the static processor pipeline into a dynamic system that can switch between processor core pipeline and DMA engine pipeline. This dynamic capability allows the system to utilize processor resources more effectively by selecting the appropriate pipeline based on workload characteristics, thereby improving resource utilization.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent introduces an adaptive pipeline selection mechanism that acts as an intermediary between the processor core and DMA engine. This intermediary evaluates workload characteristics and directs copy operations to the most appropriate pipeline, enabling efficient resource utilization without requiring complex manual configuration.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If DMA engine pipeline is used for small object lengths, then overhead reduces performance, but not using DMA engine for larger objects reduces acceleration benefit

Engineering Contradiction:
Improvememory copy accelerationVSAvoidDMA setup overhead time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent introduces parameter-based decision-making by establishing thresholds for object lengths and copy operation counts. The adaptive pipeline selection mechanism uses these parameters to determine whether to invoke the DMA engine, ensuring that DMA setup overhead is only incurred when it will result in net performance benefit.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements a feedback mechanism where the system evaluates workload characteristics (object lengths, copy operation counts) before selecting the pipeline. This feedback loop ensures that DMA engine is invoked only when workload characteristics indicate it will provide acceleration benefit, avoiding unnecessary overhead.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12373363B2Adaptive pipeline selection for accelerating memory copy operations
Publication Date: 2025.07.29 INTEL CORP
  • US12373363B2 patent drawing
  • US12373363B2 patent drawing
  • US12373363B2 patent drawing

AI summary

Examples include a computing system having a direct memory access (DMA) engine pipeline, a plurality of processing cores, each processing core including a core pipeline, and a memory coupled to the DMA engine pipeline and the plurality of processing cores. The computing system includes a pipeline selector coupled to the plurality of processing cores and the DMA engine pipeline, the pipeline selector to, during initialization, determine at least one threshold for pipeline selection for the computing system, and during runtime, select one of the core pipelines or the DMA engine pipeline to execute a memory copy operation in the memory based at least in part on the at least one threshold.