Adaptive I/O Balancer for Mixed Read Write Workloads

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Mixed workloads of read and write operations in data storage devices, such as SSDs and HDDs, result in poor read performance due to the longer service times required for write operations, leading to higher latencies and lower IOPS, which can cause significant delays in applications.

Innovation Solution

A dynamic and adaptive I/O balancer system that monitors queue states and collects device characteristics to optimize read and write operations by adjusting wait times and batch sizes, ensuring desired IOPS and latency figures are met, thereby balancing read and write operations across various storage devices.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If write operations are sent to the disk, then write capacity is improved, but read latency increases due to longer disk service times for writes

Engineering Contradiction:
Improvewrite throughputVSAvoidread latency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system dynamically adjusts the interleaving pattern of read and write operations based on real-time queue states and device characteristics. The balancer modifies the timing and batching of write operations adaptively, changing parameters such as write wait time and batch size to optimize both write throughput and read latency under varying workload conditions

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system implements periodic write operations with controlled intervals by interleaving read operations between writes. By introducing regulated periodicity in write timing and using write batching with controlled frequencies, the system prevents write operations from continuously blocking read operations, thereby reducing read latency while maintaining write throughput

Inventive Principle:
Principle #19Periodic action

2Productivity

If mixed read/write workload is sent to the disk, then overall I/O capacity is improved, but read performance deteriorates due to write operations stalling reads

Engineering Contradiction:
Improveoverall I/O capacityVSAvoidread speed
Core Design Contradiction:
ProductivityVSSpeed

Solution Approach 1:

The system segments the mixed workload into separate read and write operation streams that are independently managed and interleaved. By dividing the workload and controlling the interleaving pattern, the system prevents writes from stalling reads while maintaining overall I/O capacity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary analysis of device characteristics and queue states before dispatching operations. By pre-calculating optimal interleaving patterns and write batching strategies based on predicted device behavior, the system prepares the operation schedule in advance to minimize read stalling while maximizing overall I/O capacity

Inventive Principle:
Principle #10Preliminary action

3Productivity

If write operations are performed with high frequency, then write throughput is improved, but device adaptability decreases due to fixed I/O patterns

Engineering Contradiction:
Improvewrite throughputVSAvoiddevice adaptability
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The system continuously monitors device characteristics, queue states, and operation performance, using this feedback to dynamically adjust write frequency, batching size, and interleaving patterns. This closed-loop control enables the system to adapt to different device types and workload conditions while maintaining high write throughput

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system changes operational parameters such as write wait time, batch size, and interleaving depth based on device characteristics and current system state. By dynamically modifying these parameters rather than using fixed patterns, the system achieves both high write throughput and adaptability across different storage devices

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9785360B1Adaptive and dynamic mixed read/write input/output balancer
Publication Date: 2017.10.10 EMC IP HLDG CO LLC
  • US9785360B1 patent drawing
  • US9785360B1 patent drawing
  • US9785360B1 patent drawing

AI summary

Embodiments are directed to a method of optimizing input/output (I/O) operations to a storage device having mixed read and write operations by determining a current queue state for the read and write operations with respect to defined optimum values of I/O operations per second (IOPS) and latency for the I/O operations, determining device characteristics of the storage device by determining read/write response times, queue depths and dispatch time intervals for an initial read/write operation, and modifying at least one of a wait time or batch size for subsequent read/write operations to meet the defined optimum values of IOPS and latency.