DRAM Refresh Management via Randomized Activate Counter Adjustment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern DRAM chips face the 'row hammer' issue where frequent activation and precharge of memory rows can corrupt adjacent rows, especially as feature sizes shrink, and existing mitigation techniques like targeted row refresh are vulnerable to malicious attacks.

Innovation Solution

A memory controller with an activate counter and adjustment circuit that selectively adjusts the refresh command timing by a fixed and varying number, chosen randomly or pseudo-randomly, to mitigate row hammer effects and obscure access patterns from potential attackers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If targeted row refresh (TRR) is used to mitigate row hammer effects, then data corruption from row activation is reduced, but the system becomes vulnerable to malicious attacks that exploit predictable refresh patterns

Engineering Contradiction:
Improvedata integrityVSAvoidmalicious attack vulnerability
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent implements dynamic refresh interval adjustment where the refresh timing is no longer fixed but varies based on system conditions. The memory controller monitors access patterns and dynamically modifies refresh intervals to prevent attackers from predicting and exploiting refresh timing, thereby maintaining security while ensuring data integrity

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the refresh parameter from a static, predictable value to a dynamic, variable value. By introducing variability in refresh timing and making it dependent on monitored system states, the system maintains the protective function against row hammer while eliminating the predictable pattern that malicious attacks exploit

Inventive Principle:
Principle #35Parameter changes

2Reliability

If refresh operations are performed frequently to prevent data corruption, then memory reliability is improved, but system performance deteriorates due to increased interference with normal memory access

Engineering Contradiction:
Improvememory data integrityVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements dynamic refresh scheduling where refresh operations are performed adaptively based on monitored memory access patterns and system conditions. Instead of fixed frequent refreshes, the system adjusts refresh timing dynamically to perform refreshes only when necessary, thereby maintaining data integrity while minimizing performance impact

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent employs feedback mechanisms where the memory controller monitors memory access patterns, row activation frequencies, and system conditions. Based on this feedback, the controller intelligently determines when refresh operations are necessary, optimizing the balance between maintaining data integrity and preserving system performance by avoiding unnecessary refresh operations

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11474746B2Refresh management for DRAM
Publication Date: 2022.10.18 ADVANCED MICRO DEVICES INC
  • US11474746B2 patent drawing
  • US11474746B2 patent drawing
  • US11474746B2 patent drawing

AI summary

A memory controller interfaces with a dynamic random access memory (DRAM). The memory controller selectively places memory commands in a memory interface queue and transmits the memory commands from the memory interface queue to a memory channel coupled to at least one dynamic random access memory (DRAM). An activate counter is maintained related to a number of activate commands sent over the memory channel to a memory region of the DRAM. In response to the activate counter being at or above a designated threshold, an arbiter is signaled that a refresh command should be sent to the memory region. In response to a designated condition, a value of the activate counter is adjusted by a total number based on a first fixed number and second varying number selected with one of random selection and pseudo-random selection.