SSD Controller Garbage Collection Cycle Stabilization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In solid-state drives (SSDs) with NAND flash memory, the performance cycle of garbage collection fluctuates significantly during random write operations, leading to variations in Input/Output Operations Per Second (IOPS), which affects the memory system's performance stability.

Innovation Solution

A memory system with a controller that calculates and adjusts the gear ratio between host writes and garbage collection writes based on remaining data writable capacity, using an average performance ratio from multiple generations to stabilize the garbage collection cycle and reduce fluctuations in IOPS.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the gear ratio is adjusted dynamically based on remaining data writable capacity, then garbage collection responsiveness is improved, but write performance stability deteriorates due to repeated fluctuations

Engineering Contradiction:
Improvegarbage collection responsivenessVSAvoidwrite performance stability
Core Design Contradiction:
ProductivityVSStability of the object's composition

Solution Approach 1:

The patent changes the parameter used for gear ratio calculation from dynamic remaining capacity to a fixed threshold value, stabilizing the gear ratio and preventing performance fluctuations while maintaining adequate garbage collection through the threshold-based trigger mechanism

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements feedback by monitoring remaining data writable capacity and triggering garbage collection when the capacity falls below a predetermined threshold, creating a responsive yet stable control mechanism that prevents performance degradation

Inventive Principle:
Principle #23Feedback

2Quantity of substance

If garbage collection is executed frequently to maintain free blocks, then data writable capacity is maintained, but write performance deteriorates due to increased IOPS variations

Engineering Contradiction:
Improvefree block availabilityVSAvoidwrite performance
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent applies partial action by executing garbage collection only when the remaining data writable capacity falls below a predetermined threshold, rather than continuously or excessively, thereby maintaining sufficient free blocks while minimizing performance impact

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent uses a fixed threshold parameter for triggering garbage collection instead of dynamic adjustment, preventing excessive garbage collection operations and stabilizing write performance while ensuring adequate free block availability

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11853204B2Memory system and garbage collection control method
Publication Date: 2023.12.26 KIOXIA CORP
  • US11853204B2 patent drawing
  • US11853204B2 patent drawing
  • US11853204B2 patent drawing

AI summary

According to one embodiment, a memory system includes a controller which controls garbage collection for preparing one or more free blocks by writing valid data read from N blocks to one or more blocks of less than the N. The controller calculates a performance ratio between writing of data in response to a request from a host device and writing of data for the garbage collection in accordance with a data writable capacity remaining in a nonvolatile memory, calculates an average performance ratio from calculated performance ratios of M generations including a calculated latest performance ratio, and adjusts a performance cycle of the garbage collection by applying one of the calculated latest performance ratio and the calculated average performance ratio.