Storage Device Command Fetch Policy Adaptation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Storage devices face delays in processing commands, leading to unsatisfied command processing time requirements due to inefficiencies in fetching commands from multiple command queues.

Innovation Solution

A storage device with a command fetch circuit and controller that determines a policy to fetch commands from multiple command queues based on the state of a target queue, either following an order-based policy or a round-robin policy, to optimize command processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If commands are fetched from multiple command queues using a fixed order-based policy, then command processing follows a predictable sequence, but command processing delays occur when specific queues have excessive commands

Engineering Contradiction:
Improvecommand processing time requirementVSAvoidcommand processing delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements dynamic policy switching between first-in-first-out (FIFO) and round-robin fetching strategies based on real-time queue states. When a target queue exceeds a threshold number of commands, the system switches to round-robin policy to distribute fetching across multiple queues, preventing excessive delays while maintaining reliability of command processing time requirements.

Inventive Principle:
Principle #15Dynamics

2Loss of time

If commands are fetched using a round-robin policy from all queues, then command processing delays are reduced, but processing order consistency is lost

Engineering Contradiction:
Improvecommand processing delayVSAvoidcommand processing order
Core Design Contradiction:
Loss of timeVSStability of the object's composition

Solution Approach 1:

The system changes the fetching policy parameter dynamically based on queue state parameters. When the target queue has fewer than the threshold number of commands, FIFO policy maintains processing order consistency. When the target queue exceeds the threshold, round-robin policy is applied to reduce processing delays, thus adapting the parameter to current system conditions.

Inventive Principle:
Principle #35Parameter changes

3Stability of the object's composition

If the storage device always processes commands from the target queue in order, then command processing order is maintained, but latency deviations across queues increase

Engineering Contradiction:
Improvecommand processing orderVSAvoidlatency deviation
Core Design Contradiction:
Stability of the object's compositionVSLoss of time

Solution Approach 1:

The controller continuously monitors the number of commands in the target queue and uses this feedback to determine whether to apply FIFO or round-robin fetching. This feedback mechanism allows the system to detect when the target queue has excessive commands and switch to round-robin policy, reducing latency deviations while maintaining processing order when appropriate.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12147709B2Storage device determining a policy for fetching commands from a plurality of command queues, and method thereof
Publication Date: 2024.11.19 SK HYNIX INC
  • US12147709B2 patent drawing
  • US12147709B2 patent drawing
  • US12147709B2 patent drawing

AI summary

A storage device may fetch commands from a plurality of command queues. The storage device may determine a policy for fetching commands from the plurality of command queues as a first policy or a second policy on the basis of the state of a target command queue among the plurality of command queues. The policy may control an order in which commands are fetched from the plurality of command queues.