Stream Data Manager Garbage Collection Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current memory subsystems face inefficiencies in garbage collection due to prioritizing blocks with low valid data, leading to wasted resources and increased overhead in managing data with disparate invalidity rates from different sources.

Innovation Solution

A stream data manager identifies characteristics of data streams, determines stream efficiency values, and sets garbage collection thresholds based on these values to optimize resource usage and blend garbage collection processes for streams with similar efficiency values.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If garbage collection prioritizes blocks with low valid data, then garbage collection efficiency is improved, but resources are wasted on streams with low invalidity rates and overhead increases

Engineering Contradiction:
Improvegarbage collection efficiencyVSAvoidresource waste
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent changes the parameter used for garbage collection prioritization from单纯的 valid data amount to a composite parameter that includes stream efficiency values. This allows the system to adapt the prioritization criteria based on the actual invalidity rates of different data streams, thereby improving garbage collection efficiency while avoiding resource waste on streams with low invalidity rates.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent segments the storage space into different garbage collection groups based on stream efficiency values. By dividing the data into groups with similar invalidity characteristics, the system can apply tailored garbage collection strategies to each group, improving overall efficiency while reducing unnecessary resource consumption on low-invalidity streams.

Inventive Principle:
Principle #1Segmentation

2Ease of operation

If garbage collection processes all data streams uniformly, then management simplicity is maintained, but performance deteriorates due to disparate invalidity rates from different sources

Engineering Contradiction:
Improvemanagement simplicityVSAvoidperformance
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent segments data streams into different garbage collection groups based on their efficiency values and invalidity rates. This segmentation allows the system to manage different types of data streams with appropriate strategies, improving performance while maintaining manageable complexity through automated classification.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic garbage collection thresholds that adapt to the characteristics of different data streams. By adjusting thresholds based on stream efficiency values and invalidity rates, the system optimizes performance for each stream type while maintaining automated management simplicity.

Inventive Principle:
Principle #15Dynamics

3Loss of substance

If blocks with high valid data are garbage collected infrequently, then write amplification increases, but resource usage efficiency deteriorates

Engineering Contradiction:
Improvewrite amplificationVSAvoidresource usage efficiency
Core Design Contradiction:
Loss of substanceVSProductivity

Solution Approach 1:

The patent changes the prioritization parameter for garbage collection from valid data amount to stream efficiency-based metrics. This allows the system to identify and prioritize garbage collection of blocks from streams with high invalidity rates, reducing write amplification while improving resource usage efficiency by focusing on blocks that will benefit most from collection.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20210019074A1Managing garbage collection in a memory subsystem based on characteristics of data streams
Publication Date: 2021.01.21 MICRON TECHNOLOGY INC
  • US20210019074A1 patent drawing
  • US20210019074A1 patent drawing
  • US20210019074A1 patent drawing

AI summary

A method for managing garbage collection in a memory subsystem, where a stream data manager writes data units from a stream of data into an allocated portion of memory composed of a plurality of blocks. The stream data manager evaluates a behavior of the stream of data to calculate the stream's efficiency, the behavior including amounts of valid data units from the stream of data in the allocated portion of memory. The stream data manager estimates a number of block stripe fills until an amount of valid data units is predicted to be within a predetermined range of a threshold value of valid data units in the block using the evaluated behavior. The stream data manager performs the estimated number of block stripe fills. The stream data manager performs the garbage collection of a first block of the plurality of blocks in response to performance of the estimated number of block stripe fills.