Write Command Overlap Detection in Memory Queues

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Parallel write commands with overlapping logical addresses in memory systems can lead to errors, compromising data integrity, and existing methods like linear comparisons are computationally intensive.

Innovation Solution

A tree data structure is used to detect write command overlaps, where nodes represent starting and ending logical addresses, allowing for efficient overlap detection by comparing incoming commands with existing commands in the queue, switching to a linear comparison when the queue size falls below a threshold.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If linear comparison method is used to detect write command overlaps, then detection accuracy is achieved, but computational complexity increases to O(n^2)

Engineering Contradiction:
Improveoverlap detection accuracyVSAvoidcomputational complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the command queue into fixed-size blocks and processes them in batches. By dividing the n commands into n/b blocks of size b, the comparison complexity is reduced from O(n^2) to O(n^2/b), achieving a quadratic speedup while maintaining detection accuracy through systematic block-wise comparison.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary sorting of commands based on their logical addresses before comparison. By pre-sorting the command queue, the system enables more efficient overlap detection algorithms that can stop early when non-overlapping ranges are identified, reducing the average case complexity while guaranteeing complete detection.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If parallel write commands are processed, then productivity increases, but data integrity is compromised due to overlapping logical addresses

Engineering Contradiction:
Improveparallel processing throughputVSAvoiddata integrity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements a feedback mechanism where the results of overlap detection are used to control command execution. When overlaps are detected, the system provides feedback to adjust the parallel processing strategy, either by serializing conflicting commands or by adjusting the parallelism level to maintain data integrity while maximizing throughput.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent dynamically adjusts the level of parallelism based on real-time overlap detection results. By making the processing mode adaptive - switching between parallel and serial execution depending on detected overlaps - the system maintains high productivity when possible while ensuring data integrity when conflicts arise.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10761725B2Write command overlap detection
Publication Date: 2020.09.01 MICRON TECHNOLOGY INC
  • US10761725B2 patent drawing
  • US10761725B2 patent drawing
  • US10761725B2 patent drawing

AI summary

The present disclosure includes methods and apparatuses that include write command overlap detection. A number of embodiments include receiving an incoming write command and comparing a logical address of the incoming write command to logical addresses of a number of write commands in a queue using a tree data structure, wherein a starting logical address and/or an ending logical address of the incoming write command and a starting logical address and/or an ending logical address of each of the number of write commands are associated with nodes in the tree data structure.