Memory Controller Row Hammer Defense via Dynamic Refresh

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

As memory integration increases, the coupling effect between word lines leads to data damage in adjacent memory cells due to frequent activation, known as row hammering, which occurs before memory cell refresh, posing a concern for data integrity.

Innovation Solution

A memory controller with a security level setting circuit and refresh management command control circuit that monitors risk factors like active commands, cache misses, and uncorrectable errors to determine the frequency of refresh commands, enhancing defense against row hammering by adjusting the refresh rate based on security levels.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If memory integration increases to improve storage capacity, then storage density is improved, but coupling effect between word lines increases causing row hammering

Engineering Contradiction:
Improvestorage capacityVSAvoidrow hammering
Core Design Contradiction:
Quantity of substanceVSObject-affected harmful factors

Solution Approach 1:

The patent implements dynamic refresh rate adjustment based on security levels. The refresh management command control circuit dynamically changes the refresh frequency of adjacent word lines according to the security level, which is determined by monitoring active commands, cache misses, and uncorrectable errors. This dynamic approach allows the system to adapt to varying row hammering risks while maintaining high storage density.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the refresh rate parameter of memory operations based on security levels. By adjusting the refresh rate parameter dynamically, the system can increase defense capability against row hammering attacks when security risks are detected, while maintaining normal operation under low-risk conditions. This parameter change approach resolves the contradiction by allowing flexible adaptation to different operational states.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If refresh rate is increased to defend against row hammering, then data integrity is improved, but energy consumption increases

Engineering Contradiction:
Improvedata integrityVSAvoidenergy consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system dynamically adjusts the refresh rate based on real-time monitoring of security indicators (active commands, cache misses, uncorrectable errors). When security levels indicate low risk of row hammering, the refresh rate returns to normal, reducing energy consumption. When security levels indicate high risk, the refresh rate increases to protect data integrity. This dynamic adjustment resolves the energy-integrity tradeoff.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the refresh rate parameter conditionally based on security level determination. By modifying this operational parameter only when necessary (i.e., when security risks are detected), the system maintains data integrity when needed while minimizing energy consumption during normal operation. This conditional parameter change approach efficiently balances reliability and energy usage.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If security monitoring is implemented to detect row hammering risk, then defense capability is improved, but device complexity increases

Engineering Contradiction:
Improvedefense capabilityVSAvoidcircuit complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The security level setting circuit and refresh management command control circuit serve multiple functions: they monitor active commands, cache misses, and uncorrectable errors to determine security levels, and simultaneously control the refresh rates of memory operations. This multi-functionality approach improves defense capability without proportionally increasing device complexity, as the same circuits perform both monitoring and control tasks.

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

Solution Approach 2:

The system uses its own operational data (active commands, cache misses, uncorrectable errors) to self-determine security levels and self-adjust refresh rates. The memory controller autonomously monitors its own operation and makes decisions about refresh management without requiring external intervention. This self-service approach enhances defense capability while minimizing additional complexity.

Inventive Principle:
Principle #25Self-service

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

The solution effectively increases the defense capability against row hammer attacks by dynamically adjusting the refresh rate, thereby reducing data loss and improving memory system reliability.

Implementation Method 1

the coupling effect between the neighboring word lines increases, the data in the memory cell coupled to a word line which is disposed adjacent to a frequently activated word line may be damaged

Methodology Applied
Scientific EffectCapacitive coupling: Capacitance

Data Source

PatentUS11790975B2Memory controller and memory system
Publication Date: 2023.10.17 SK HYNIX INC
  • US11790975B2 patent drawing
  • US11790975B2 patent drawing
  • US11790975B2 patent drawing

AI summary

A memory controller includes: a security level setting circuit suitable for setting a security level by monitoring a risk of a row hammer attack; and a refresh management command control circuit suitable for controlling the number of times that a refresh management command is to be applied to a memory per unit time according to the security level.