Buffered Unmap Command Processing for Lower-Latency Memory Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Frequent updating of mapping tables in memory systems due to unmap commands causes latency and wear on storage space, reducing the service span of memory devices.

Innovation Solution

Implementing a buffer in the memory controller to temporarily store logical addresses from small chunk unmap commands, updating the mapping table only when the buffer reaches a certain volume, thereby reducing the frequency of mapping table updates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If mapping tables are updated frequently in response to unmap commands, then data management accuracy is improved, but latency increases and storage wear accelerates

Engineering Contradiction:
Improvedata management accuracyVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements a buffer that preliminarily stores logical addresses before triggering mapping table updates. Instead of updating immediately upon receiving each unmap command, the system accumulates addresses in a buffer and performs batch updates, thereby reducing the frequency of updates and associated latency while maintaining data management accuracy.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent merges multiple unmap commands into a single batch operation. By combining multiple logical addresses from different unmap commands into one update operation, the system reduces the total number of mapping table updates, thereby reducing cumulative latency and storage wear while still accurately tracking unmapped addresses.

Inventive Principle:
Principle #5Merging (Combining)

2Reliability

If mapping tables are updated frequently in response to unmap commands, then data management accuracy is improved, but storage wear accelerates

Engineering Contradiction:
Improvedata management accuracyVSAvoidservice span
Core Design Contradiction:
ReliabilityVSDuration of action of stationary object

Solution Approach 1:

The buffer performs preliminary accumulation of logical addresses before triggering updates. This preliminary action reduces the frequency of mapping table updates, thereby reducing wear on the storage medium and extending the service span of the memory device while maintaining accurate data management through the buffer's tracking mechanism.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Multiple unmap operations are merged into a single batch update. This merging reduces the total number of update cycles, thereby reducing cumulative wear on the storage medium and extending the service life of the memory device while still maintaining accurate tracking of mapped and unmapped addresses.

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If unmap commands are processed individually, then command processing precision is improved, but productivity decreases

Engineering Contradiction:
Improvecommand processing precisionVSAvoidprocessing throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent merges multiple individual unmap commands into a single batch processing operation. The buffer accumulates logical addresses from multiple commands and processes them together in one mapping table update, thereby improving processing throughput while maintaining precision through the buffer's accurate tracking of which addresses have been unmapped.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The buffer performs preliminary accumulation and validation of logical addresses before batch processing. This preliminary action ensures that all addresses are properly tracked and validated before the actual update, maintaining command processing precision while enabling more efficient batch processing that improves overall productivity.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250278357A1Processing unmap commands in memory systems
Publication Date: 2025.09.04 YANGTZE MEMORY TECH CO LTD
  • US20250278357A1 patent drawing
  • US20250278357A1 patent drawing
  • US20250278357A1 patent drawing

AI summary

The present disclosure involves methods, apparatuses, systems, and computer-readable storage media for processing memory controller commands in a memory system, and in particular, for processing unmap commands. In one example, a method for operating a memory system includes receiving, from a host, an unmap command corresponding to one or more logical addresses. The method further includes, in response to determining that a quantity of the one or more logical addresses is less than or equal to a first threshold, storing the one or more logical addresses in a buffer of a memory controller of the memory system. The method further includes updating a mapping table based on logical addresses stored in the buffer to unmap a mapping relationship between the logical addresses and corresponding physical addresses in the mapping table. The logical addresses stored in the buffer correspond to more than one unmap command.