RAID Parity Stripe Contention Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

RAID systems face performance degradation due to parity strip contention, where multiple operations overlapping on the same parity sector cause the RAID controller to drop out of hardware optimization mode, leading to increased processor utilization and decreased performance.

Innovation Solution

The method delays operations that overlap with a parity sector in a parity stripe, serializing them to maintain the RAID controller in hardware optimization mode, using a parity bitmap to monitor affected sectors and delay subsequent writes until previous operations are complete, allowing all operations to be performed using the hardware optimization path.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If multiple operations are allowed to run in parallel on the RAID controller, then throughput is improved, but parity stripe contention causes the controller to drop out of hardware optimization mode, increasing processor utilization and degrading performance

Engineering Contradiction:
ImprovethroughputVSAvoidprocessor utilization
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by checking for parity stripe contention before allowing operations to proceed. The host system proactively identifies overlapping parity sectors and delays operations that would cause contention, preventing the RAID controller from dropping out of hardware optimization mode. This advance detection and prevention mechanism maintains hardware acceleration while managing parallel operation conflicts.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If the RAID controller remains in hardware optimization mode, then performance is maintained, but operations overlapping parity sectors must be delayed and serialized

Engineering Contradiction:
ImproveperformanceVSAvoidoperation delay
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent applies local quality by selectively delaying only those operations that would cause parity stripe contention, while allowing non-conflicting operations to proceed in parallel. The host system identifies specific operations overlapping with currently executing operations on the same parity sectors and delays only those, rather than serializing all operations. This localized approach maintains hardware optimization mode while minimizing overall delay.

Inventive Principle:
Principle #3Local quality

3Reliability

If operations are serialized to prevent parity contention, then hardware optimization mode is maintained, but overall throughput decreases

Engineering Contradiction:
Improvehardware optimization mode stabilityVSAvoidthroughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies partial action by implementing selective serialization only for operations that would cause parity stripe contention. The host system allows multiple operations to proceed in parallel when they do not overlap on the same parity sectors, and only delays operations when contention is detected. This partial serialization approach maintains hardware optimization mode stability while preserving maximum possible throughput through parallel execution of non-conflicting operations.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10613934B2Managing RAID parity stripe contention
Publication Date: 2020.04.07 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10613934B2 patent drawing
  • US10613934B2 patent drawing
  • US10613934B2 patent drawing

AI summary

For managing RAID parity stripe contention using a processor device in a computing environment, delaying, by a host being separate to the RAID, one of a plurality of operations overlapping a parity sector in a parity stripe with a currently running operation and serializing each one of the multiplicity of operations overlapping the parity sector. The host further serializes each one of the plurality of operations overlapping the parity sector. The delaying is performed when the host determines whether a new write written through a hardware performance path comprising the one of the plurality of operations will overlap the parity stripe of a previous write comprising the currently running operation at the RAID controller.