Host-Side Storage Queues for Device-Specific I/O Ordering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Mechanical storage devices like hard disk drives (HDDs) face limitations in performance due to mechanical properties, leading to variable access times and inefficient management of simultaneous IO operations, which are exacerbated by unpredictable customer workloads and system operations.

Innovation Solution

Implementing a host-side device-specific queue managed by a queue manager that optimizes IO operations based on device-specific parameters, including physical geometry and runtime telemetry, to enhance performance and throughput beyond the capabilities of the storage device's internal queue.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the storage device uses its internal queue to manage IO operations, then the device can process multiple operations simultaneously, but the performance is limited by the mechanical properties and the queue depth is restricted

Engineering Contradiction:
ImproveIOPSVSAvoidqueue depth limitation
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent divides the queue management function into two separate components: a host-side queue manager that handles high-level queue management and ordering, and a device-side queue that handles actual IO operation processing. This segmentation allows the host to maintain a large queue depth for improved productivity while the device processes operations through its mechanical limitations, resolving the contradiction between higher IOPS capability and physical queue depth restrictions.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The host-side queue manager acts as an intermediary between the host system and the storage device. It receives IO operations, optimizes their ordering based on device-specific parameters, and manages the queue depth independently of the device's internal queue capacity. This intermediary layer enables the system to achieve higher productivity by buffering operations at the host side while the device processes them through its mechanical constraints.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If the storage device processes IO operations with variable access times, then mechanical operations can be performed, but command latency becomes unpredictable

Engineering Contradiction:
ImprovethroughputVSAvoidcommand latency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The host-side queue manager performs preliminary actions by pre-ordering IO operations based on device-specific parameters such as current head position, rotational speed, and access patterns. It calculates optimal operation sequences in advance and sends them to the device, allowing the device to execute operations in a predetermined order that minimizes seek times and rotational latency, thereby reducing command latency variability while maintaining high throughput.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms where the queue manager receives runtime telemetry from the storage device about actual operation completion times and adjusts the ordering of subsequent operations accordingly. This feedback loop enables continuous optimization of operation sequencing to compensate for mechanical variability, reducing latency while maintaining productivity.

Inventive Principle:
Principle #23Feedback

3Productivity

If the host manages a large queue depth to handle hundreds or thousands of requests, then more operations can be processed simultaneously, but the complexity of managing and optimizing the queue increases

Engineering Contradiction:
Improvenumber of simultaneous requestsVSAvoidqueue management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The host-side queue manager applies local quality by customizing queue management strategies according to specific device characteristics and workload patterns. It maintains device-specific parameters and runtime telemetry to optimize ordering for each particular storage device, rather than using a generic queue management approach. This localized optimization enables effective management of large queue depths by tailoring the management strategy to the specific mechanical properties and performance characteristics of each device.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS12373108B1Optimized host-side storage queues
Publication Date: 2025.07.29 AMAZON TECH INC
  • US12373108B1 patent drawing
  • US12373108B1 patent drawing
  • US12373108B1 patent drawing

AI summary

Systems and methods for implementing optimized host-side device-specific queues for a storage device are described. A host system may implement a host-side queue for a storage device that is optimized using device-specific parameters. When an access request to the storage device is received, the request may be enqueued in an order optimized according to parameters of the storage device. Requests are then sent to the device in an optimized order. Optimization parameters may be provided by the manufacturer and read by the host system from the device, the parameters including physical device geometry and runtime telemetry data. In some embodiments, queue ordering for the host-side queue may be supplied by the storage device.