Storage Device Multi-Stream Garbage Collection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional storage devices performing garbage collection operations do not effectively manage data streams, leading to inefficient data management and reduced performance and durability due to mixing of data from different streams in the same memory blocks.

Innovation Solution

Implementing a multi-stream scheme where the storage device selects victim memory blocks based on data streams, performing garbage collection operations only on blocks storing data from the same stream, thereby ensuring each memory block stores data from a single stream, enhancing performance and durability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional garbage collection operations are performed without stream-based selection, then the storage device can perform basic garbage collection, but data from different streams are mixed in the same memory blocks leading to reduced performance and durability

Engineering Contradiction:
ImprovedurabilityVSAvoidperformance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The invention segments memory blocks into different groups based on data streams. By selecting victim memory blocks that store data from the same stream, the system maintains stream-specific data organization, preventing mixing of different streams and improving both reliability and performance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The invention applies local quality by treating different memory blocks differently based on their stream affiliation. Memory blocks are selected for garbage collection based on their specific stream characteristics, allowing optimized management of each stream's data independently.

Inventive Principle:
Principle #3Local quality

2Quantity of substance

If data from multiple streams are stored in the same memory block, then storage space is utilized efficiently, but garbage collection becomes less effective and performance deteriorates

Engineering Contradiction:
Improvestorage space utilizationVSAvoidgarbage collection efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The system segments the storage device into stream-specific memory block groups. By organizing memory blocks according to their associated streams, the system maintains efficient space utilization while enabling targeted garbage collection that processes only relevant blocks, improving overall efficiency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary classification of memory blocks by stream before garbage collection. This pre-organization allows the garbage collection process to proceed more efficiently by working with pre-grouped data rather than searching through mixed streams.

Inventive Principle:
Principle #10Preliminary action

3Stability of the object's composition

If stream-based victim memory block selection is implemented, then data consistency within memory blocks is maintained, but the complexity of managing multiple streams increases

Engineering Contradiction:
Improvedata consistencyVSAvoidstream management complexity
Core Design Contradiction:
Stability of the object's compositionVSDevice complexity

Solution Approach 1:

The system implements self-service by automatically tracking and managing stream-to-memory-block mappings. The storage device autonomously performs stream-based selection without requiring external intervention, reducing the operational complexity burden on the host system while maintaining data consistency.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system employs feedback mechanisms to monitor and update stream associations with memory blocks. By continuously tracking which streams are stored in which blocks, the system maintains accurate mapping information that simplifies the garbage collection process and reduces management complexity.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10671287B2Method of performing garbage collection, storage device performing the same and computing system including the same
Publication Date: 2020.06.02 SAMSUNG ELECTRONICS CO LTD
  • US10671287B2 patent drawing
  • US10671287B2 patent drawing
  • US10671287B2 patent drawing

AI summary

A method of operating a storage device to perform a garbage collection operation on a nonvolatile memory device having a plurality of memory blocks, the storage device configured to operate based on a multi-stream scheme such that a plurality of data is written into the plurality of memory blocks based on which of a plurality of streams is associated with the plurality of data. The method may include selecting at least two memory blocks among the plurality of memory blocks as victim memory blocks such that the victim memory blocks are configured to store data associated with a same stream of the plurality of streams; and performing the garbage collection operation on the victim memory blocks.