In-Memory Garbage Collection Using Internal ECC to Cut Write Amplification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Garbage collection operations in data storage devices cause write amplification and performance issues due to frequent data transfers between the memory controller and the memory device, leading to increased hardware resource consumption and reduced throughput.

Innovation Solution

Performing internal garbage collection within the memory device using an internal ECC engine or checksum logic to move valid data between memory blocks without transferring it to the memory controller, reducing the need for external error correction.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If garbage collection operations are performed by transferring data between memory controller and memory device, then error correction can be performed on valid data, but write amplification increases and performance decreases

Engineering Contradiction:
Improveerror correction capabilityVSAvoidthroughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The memory device performs garbage collection operations autonomously using its own internal resources (read/write circuits, ECC engine) without requiring data transfer to the memory controller. The memory device identifies valid pages, performs error correction internally, and consolidates data to new blocks independently, making the system self-sufficient for garbage collection tasks.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The garbage collection process is divided into distinct phases: identification of valid pages, internal reading of valid data, error correction processing, and writing to new blocks. Each phase is handled by dedicated circuits within the memory device, allowing parallel and efficient processing without external controller intervention.

Inventive Principle:
Principle #1Segmentation

2Reliability

If garbage collection operations transfer data to memory controller for error correction, then data integrity is maintained, but hardware resource consumption increases

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

Solution Approach 1:

The memory device utilizes its own embedded ECC engine and error correction circuits to maintain data integrity during garbage collection, eliminating the need to transfer data to the memory controller for error correction. This self-service approach preserves data integrity while minimizing hardware resource consumption.

Inventive Principle:
Principle #25Self-service

3Reliability

If frequent data transfers are performed between memory controller and memory device during garbage collection, then error correction can be performed, but interference with write operations increases

Engineering Contradiction:
Improveerror correctionVSAvoidwrite operation throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The memory device independently performs garbage collection operations including error correction using its own ECC engine, eliminating data transfers to the memory controller. This allows garbage collection to proceed without interfering with write operations, as both can occur independently within the memory device.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The memory device identifies valid pages and prepares them for consolidation before initiating the actual data transfer and error correction process. This preliminary identification and preparation phase allows the system to organize garbage collection tasks in advance, minimizing disruption to ongoing write operations.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12475043B2In-memory garbage collection
Publication Date: 2025.11.18 SK HYNIX INC
  • US12475043B2 patent drawing
  • US12475043B2 patent drawing
  • US12475043B2 patent drawing

AI summary

A memory device of a storage device may receive a garbage collection command from a memory controller coupled to the memory device to perform an internal garbage collection operation within the memory device. The memory device may attempt to perform the garbage collection operation to internally move valid memory pages from a first memory block to a second memory block to free up the first memory block in response to the garbage collection command. The memory device may send an acknowledgement to the memory controller for the garbage collection command.