Memory Controller Staging for Trim Command Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing memory sub-systems face inefficiencies in data storage and management due to the need for extensive garbage collection operations within reclaim groups (RGs) and the time-consuming nature of trim/discard commands, which can slow down overall system performance.

Innovation Solution

Implementing a memory controller that coordinates with the host to identify and prepare memory addresses associated with invalid data before issuing a trim/discard command, allowing for staging operations to be performed ahead of time and reducing the time required to complete trim operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If trim/discard commands are issued to invalidate data in memory sub-systems, then data management is achieved, but system performance is slowed down due to time-consuming operations

Engineering Contradiction:
Improvedata managementVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies preliminary action by performing staging operations before the trim/discard command is executed. The memory sub-system identifies and prepares memory addresses associated with invalid data in advance, organizing them into staging groups and performing preliminary invalidation operations. This preliminary preparation reduces the time required for the actual trim operation, thereby improving system performance while maintaining reliable data management.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If garbage collection operations are performed within reclaim groups, then data validity is maintained, but the process becomes time-consuming and reduces overall efficiency

Engineering Contradiction:
Improvedata validityVSAvoidoperation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary identification and staging of memory addresses that will become invalid before the actual trim operation. By pre-organizing these addresses into staging groups and performing preliminary invalidation, the system reduces the time required for garbage collection operations while ensuring data validity is properly maintained through controlled invalidation processes.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the memory sub-system into reclaim groups and further divides invalid memory addresses into staging groups. This segmentation allows garbage collection operations to be performed on smaller, manageable portions of data rather than processing entire reclaim groups at once, thereby reducing operation time while maintaining data validity through systematic invalidation of each segment.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250053329A1Address invalidation reporting prior to trim command
Publication Date: 2025.02.13 MICRON TECHNOLOGY INC
  • US20250053329A1 patent drawing
  • US20250053329A1 patent drawing
  • US20250053329A1 patent drawing

AI summary

Aspects of the present disclosure configure a memory sub-system controller to receive information from a host about invalidated memory addresses. The controller receives, from a host, data identifying a set of storage locations associated with invalidated data stored in a set of memory components and, in response to receiving the data, performs staging activity for the invalidated data stored in the set of storage locations. The controller receives, from the host, a trim command for one or more storage locations in the set of storage locations and performs trim operations for the one or more storage locations for which the staging activity has already been performed.