Host-Guided UFS Unmap Control for Garbage Collection Stability

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The difference between valid data recognized by a host and real valid data in a storage device leads to degraded performance in storage systems, particularly in semiconductor memory devices, due to increased garbage collection costs and emergency garbage collections when the device-filled-ratio is not accurately managed.

Innovation Solution

The host proactively issues a discard command by querying and checking the device-filled-ratio of the storage device's data storage space, using UFS protocol information units, to prevent unnecessary garbage collection and maintain efficient storage operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the host does not query the device-filled-ratio, then the storage device operates autonomously, but the difference between valid data recognized by host and real valid data increases, leading to degraded performance

Engineering Contradiction:
Improvedata validity consistencyVSAvoidstorage system performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The host queries the device-filled-ratio from the storage device and uses this feedback information to issue unmap commands for logical block addresses that are no longer valid. This closed-loop feedback mechanism ensures the host's view of valid data matches the device's actual state, preventing performance degradation from data validity inconsistencies.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The host proactively queries the device-filled-ratio before performing write operations. By obtaining advance knowledge of which logical block addresses are no longer valid, the host can issue unmap commands in advance, allowing the storage device to prepare for garbage collection and avoid emergency collections during active operations.

Inventive Principle:
Principle #10Preliminary action

2Loss of energy

If the host issues unmap commands based on device-filled-ratio, then garbage collection costs are reduced, but additional communication overhead is introduced between host and device

Engineering Contradiction:
Improvegarbage collection costVSAvoidcommunication protocol complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The query mechanism uses existing UFS protocol information units (UPIUs) that already serve multiple functions in the storage system. By repurposing these standardized communication structures for device-filled-ratio queries, the solution avoids introducing entirely new communication protocols, thereby reducing overall system complexity while enabling efficient garbage collection management.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Ease of operation

If the device-filled-ratio is not accurately managed, then the storage device can operate with simpler internal logic, but emergency garbage collections occur, degrading storage operations

Engineering Contradiction:
Improvedevice operation simplicityVSAvoidstorage operation efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The storage device autonomously calculates and reports its own device-filled-ratio to the host without requiring complex external management. This self-service approach allows the device to maintain accurate internal state information while keeping the host informed, enabling simple yet effective coordination for garbage collection without introducing complex dual-management logic.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP4560453B1A method of operating a storage system
Publication Date: 2026.04.22 SAMSUNG ELECTRONICS CO LTD
  • EP4560453B1 patent drawingFigure 1A
  • EP4560453B1 patent drawingFigure 1B
  • EP4560453B1 patent drawingFigure 2

AI summary

There is provided a method of operating a storage system that includes a host and a storage device. According to the method, device-filled-ratio of a storage space of a plurality of nonvolatile memory devices in the storage device is queried by the host to the storage device, calculated device-filled-ratio is transmitted, by a storage controller that controls the plurality of nonvolatile memory devices, to the host in response to the querying, an unmap command and target logical block addresses are transmitted, by the host, to the storage device based on the calculated device-filled-ratio, and physical block addresses corresponding to the target logical block addresses are deallocated, by the storage device, in response to the unmap command.