DMA Throughput Measurement via Lowest Priority Channel

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems lack an effective method to determine Direct Memory Access (DMA) throughput, which can lead to bottlenecks and inefficient resource allocation in microcontroller systems, especially when prioritization of DMA channels is supported.

Innovation Solution

A method and apparatus that utilize a measuring DMA channel with the lowest data rate priority to determine available DMA throughput by measuring the current data rate during data transfers, allowing for self-calibration and monitoring of DMA engine performance, even during software application operation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If DMA channels are prioritized to improve critical data transfers, then high-priority channels get better service, but low-priority channels may starve and throughput becomes unpredictable

Engineering Contradiction:
ImproveDMA service guaranteeVSAvoidDMA throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements a feedback mechanism by continuously monitoring the actual service rate of the lowest priority DMA channel and using this information to dynamically adjust the throughput allocation. The system measures the current service rate and compares it against desired thresholds, then adjusts the DMA engine operation accordingly to maintain guaranteed throughput while allowing priority channels to operate efficiently.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent enables the DMA system to self-regulate by having the lowest priority channel serve as a probe that automatically measures and reports system throughput conditions. This self-service approach allows the system to autonomously detect bottlenecks and adjust resource allocation without external intervention, maintaining both reliability and productivity.

Inventive Principle:
Principle #25Self-service

2Reliability

If DMA throughput is monitored in real-time, then bottlenecks can be prevented proactively, but additional measurement infrastructure and processing overhead are required

Engineering Contradiction:
ImproveDMA bottleneck preventionVSAvoidmeasurement infrastructure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent makes the lowest priority DMA channel multi-functional by using it both for its intended data transfer purpose and as a throughput measurement probe. This universal approach eliminates the need for separate measurement infrastructure, as the same channel serves dual purposes: carrying actual data while simultaneously providing throughput metrics for system-wide DMA performance monitoring.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system performs self-measurement by using the DMA channel's own operation to generate measurement data. The channel's natural data transfers serve as the measurement stimulus, and the resulting service rate observations provide the measurement output, eliminating the need for external measurement devices or additional processing overhead.

Inventive Principle:
Principle #25Self-service

3Measurement precision

If the lowest priority DMA channel is used for measurements, then available throughput can be determined without affecting high-priority channels, but the measuring channel may starve and measurements become inaccurate

Engineering Contradiction:
Improveavailable throughput determinationVSAvoidmeasuring channel service rate
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies preliminary action by first determining the service rate of the lowest priority channel in isolation (when no other channels are active), establishing a baseline measurement. This preliminary measurement captures the maximum capability of the DMA engine for low-priority traffic, which then serves as a reference for calculating available throughput when high-priority channels are active, ensuring measurement accuracy without requiring the channel to remain starved.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8214557B2Measuring direct memory access throughput
Publication Date: 2012.07.03 CONTINENTAL AUTOMOTIVE SYSTEMS INC
  • US8214557B2 patent drawing
  • US8214557B2 patent drawing
  • US8214557B2 patent drawing

AI summary

Methods and systems for measuring available direct memory access (DMA) throughput are disclosed, including providing a plurality of DMA channels, the DMA channels comprising a measuring DMA channel and other DMA channels, the measuring DMA channel having a lowest data rate priority, and determining an available DMA throughput by measuring a current data rate at which the measuring DMA channel is serviced in response to initiating a data transfer on the measuring DMA channel.