Memory Controller Adaptive Cross-Mode Activation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

DDR memory controllers face inefficiencies due to significant overhead in turning around the bus from write to read accesses, leading to high latency for read operations while maintaining memory controller efficiency.

Innovation Solution

Implementing an adaptive cross-mode activation technique in the memory controller that dynamically switches modes based on the workload in the command queue, using adaptive thresholds to determine when to change from current to cross-mode operations, thereby optimizing bus utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If the memory controller prioritizes read accesses before write accesses, then read latency is reduced, but memory controller efficiency deteriorates due to significant overhead in turning around the bus from writes to reads

Engineering Contradiction:
Improveread latencyVSAvoidmemory controller efficiency
Core Design Contradiction:
Loss of timeVSProductivity

Solution Approach 1:

The memory controller dynamically switches between read-priority mode and write-priority mode based on the composition of pending requests in the command queue. When cross-mode requests (writes during read streak or reads during write streak) exceed an adaptive threshold, the controller transitions to cross-mode processing, allowing it to adapt to changing workload conditions and optimize both read latency and overall efficiency

Inventive Principle:
Principle #15Dynamics

2Productivity

If the memory controller maintains strict mode separation (read streaks or write streaks), then memory bus utilization is optimized, but read access latency increases due to forced bus turn-around overhead

Engineering Contradiction:
Improvememory bus utilizationVSAvoidread access latency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The memory controller preliminarily processes cross-mode requests by issuing activate commands during the current mode streak, preparing them in advance so that when the mode transition occurs, these requests can be executed immediately without additional turn-around overhead, thus reducing read access latency while maintaining efficient bus utilization

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The controller changes the operational parameter by introducing an adaptive threshold mechanism that determines when to switch from strict mode separation to cross-mode processing. This parameter change allows flexible adjustment between optimizing for bus utilization versus minimizing read latency based on real-time queue conditions

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250110664A1Efficient bus turnaround for memory controller
Publication Date: 2025.04.03 ADVANCED MICRO DEVICES INC
  • US20250110664A1 patent drawing
  • US20250110664A1 patent drawing
  • US20250110664A1 patent drawing

AI summary

A memory controller includes a command queue for receiving memory access requests and an arbiter. The arbiter is operable to allow cross-mode activations during a streak of accesses of a current mode in response to a number of cross-mode accesses present in the command queue exceeding an adaptive threshold.