NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Degraded Mode-benefited I/O Scheduling to Ensure I/O Responsiveness in RAID-enabled SSDs

Zhibing Sha, Jun Li, Zhigang Cai, Min Huang, Jianwei Liao, François TrahayACM Trans. Design Autom. Electr. Syst 2022

TL;DR

This paper introduces a novel I/O scheduling strategy for RAID-enabled SSDs that leverages "degraded modes" to improve responsiveness and reduce long-tail latency. By intelligently rerouting I/O requests away from congested channels and using parity information to reconstruct data, the proposed method significantly enhances performance, especially in demanding workloads.

What Problem Does This Paper Address?

Modern Solid-State Drives (SSDs) often employ RAID (Redundant Array of Independent Disks) configurations, particularly at the channel level, to enhance reliability and performance. However, the inherent nature of RAID, combined with uneven access patterns to data and parity chunks across different SSD channels, can lead to significant I/O imbalances. This imbalance causes certain channels to become "hotspots," leading to increased request queues, longer wait times, and a phenomenon known as "long-tail latency." This is particularly problematic for applications requiring consistent and predictable response times. Existing solutions often focus on specific issues like garbage collection (GC) blocking but don't holistically address the I/O workload distribution across all channels for both read and write operations.

Methods

The core of this paper is a "degraded mode-benefited I/O scheduling" approach. This strategy aims to avoid dispatching I/O requests to heavily congested SSD channels. Instead, it intelligently reroutes these requests to less busy channels within the same data stripe.

Here's how it works:

  • Degraded Read Mode: If a read request targets a congested channel, the system can fetch the necessary data by reading other components (data or parity) of the same stripe from less busy channels and reconstructing the target data using XOR operations.
  • Degraded Read-Modify-Write Mode: For update requests, if the target channel is busy, the system first retrieves the old data using the degraded read mode, then modifies it with the new data, and finally writes the updated data and recomputed parity to less busy channels.
  • Queuing Overhead Assessment Model: A key innovation is a mathematical model that assesses the "queuing overhead" for incoming I/O requests. This model considers factors like data redundancy and the current I/O traffic on SSD channels. It helps decide whether to use the degraded mode or let the request wait on the congested channel. This model is crucial for making informed scheduling decisions.

Datasets

The authors evaluated their proposed scheme using real-world block I/O traces from various sources:

  • Microsoft Research Traces: hm_1, src2_0, and wdev_0.
  • Microsoft Production Server Traces: ads_0.
  • Enterprise VDI (Virtual Desktop Infrastructure) Traces: lun0 and lun1 (merged from consecutive traces).

These traces were replayed using the SSDsim simulator.

Key Insights and Ideas

  • Rerouting is Key to Responsiveness: The most significant insight is that actively rerouting I/O requests away from congested channels, even if it involves extra computation (XOR), can dramatically improve overall responsiveness and reduce tail latency.
  • A Unified Model for Reads and Writes: Unlike some prior work that focused solely on GC-related read issues, this approach provides a unified model for both read and update requests, leading to more comprehensive workload balancing.
  • Degraded Modes Aren't Just for Failures: The paper demonstrates that "degraded modes," often associated with handling component failures, can be proactively used as a performance optimization technique in normal operation.
  • Intelligent Decision-Making is Crucial: The queuing overhead assessment model is vital. It prevents unnecessary use of degraded modes when waiting is more efficient, striking a balance between computation overhead and performance gains.
  • Workload Balance Directly Impacts Latency: The experiments clearly show a strong correlation between balanced I/O workloads across channels and reduced long-tail latency.

Key Results

  • Long-Tail Latency Reduction: The proposed "Degraded" scheme achieved up to a 23.1% reduction in long-tail latency (at the 99.99th percentile) on average compared to state-of-the-art methods.
  • Overall I/O Time Improvement: The average overall I/O time was reduced by 38.7% compared to baseline methods.
  • Workload Balance: The method significantly improved I/O workload balance across SSD channels, leading to the smallest standard deviation in blocked requests per channel.
  • Increased Degraded Operations: The proposed scheme triggered 20.1 times more degraded operations on average compared to a related GC-tolerant read approach, highlighting its proactive nature.
  • Scalability: The approach showed good scalability with an increasing number of SSD channels (from 8 to 16).

Limitations and Future Work

  • Read-Intensive Workloads: For workloads with already even I/O distribution (like hm_1), the degraded mode might not offer significant benefits and could even slightly increase overhead.
  • Stripe Size Sensitivity: While the approach scales well, the paper notes that a larger stripe size can increase the number of parity updates and potentially require more associate read requests for degraded reads.
  • Computation Overhead: The degraded modes introduce some computation overhead (XOR operations, modeling), though the paper argues this is acceptable and well within the overall I/O time.
  • Future Work: The paper suggests further exploration into the sensitivity of the approach to different stripe sizes and the impact of workload characteristics on the effectiveness of degraded modes.

Summary updated

BibTeX
@article{sha2022degraded,
  author = {Zhibing Sha and Jun Li and Zhigang Cai and Min Huang and Jianwei Liao and François Trahay},
  title = {{Degraded Mode-benefited I/O Scheduling to Ensure I/O Responsiveness in RAID-enabled SSDs}},
  journal = {ACM Trans. Design Autom. Electr. Syst.},
  year = {2022},
  doi = {10.1145/3522755},
}
Figure