RAID Controller Cache Barrier Stripe Distribution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In RAID systems, the write order intended by cache barrier commands is often broken across disks due to the inconsistent distribution of cache barrier commands, leading to performance degradation and loss of write order relationships between blocks on certain disks.

Innovation Solution

A RAID controller generates a cache barrier stripe composed of cache barrier commands and distributes these commands across all disks in a manner similar to data blocks, ensuring that each disk receives the necessary cache barrier commands before subsequent write commands, thereby maintaining the intended write order across all disks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If cache barrier commands are distributed inconsistently across disks, then the system operates with simple command distribution, but the write order specified by cache barrier commands is broken and performance degrades

Engineering Contradiction:
Improvewrite order consistencyVSAvoidcommand distribution mechanism
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the cache barrier command distribution by creating a dedicated cache barrier stripe that is separately managed from data stripes. This segmentation ensures that cache barrier commands are systematically distributed to all disks involved in a stripe, preventing the inconsistency that occurs with simple sequential distribution.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary action by generating and distributing cache barrier commands to all disks before allowing subsequent write commands to proceed. The RAID controller identifies cache barrier commands in the command queue, creates corresponding cache barrier stripes, and ensures all disks receive these commands in advance, maintaining write order consistency.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If cache barrier commands are transmitted to all disks, then write order is maintained, but system complexity and processing overhead increase

Engineering Contradiction:
Improvewrite order maintenanceVSAvoidcommand processing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent merges the cache barrier command distribution process with the existing stripe management infrastructure. By reusing the stripe construction and distribution mechanisms already in place for data blocks, the system maintains write order consistency without creating entirely new processing paths, thus minimizing overhead.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The RAID controller automatically identifies cache barrier commands in the incoming command queue and handles their special distribution requirements without external intervention. The controller self-manages the creation of cache barrier stripes and ensures proper distribution to disks, eliminating the need for additional control logic or manual management.

Inventive Principle:
Principle #25Self-service

3Reliability

If cache barrier commands are handled with special distribution logic, then write order consistency is improved, but the complexity of the RAID controller increases

Engineering Contradiction:
Improvewrite order consistencyVSAvoidRAID controller logic
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent makes the stripe construction mechanism universal by using the same logic for both data stripes and cache barrier stripes. The RAID controller's existing stripe management infrastructure handles both types of stripes, reducing the need for separate specialized logic and minimizing controller complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces the cache barrier stripe as an intermediary structure that mediates between the incoming cache barrier commands and the disk operations. This intermediary allows the controller to manage cache barrier requirements systematically without complex direct control logic for each individual command.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11947843B2Method for processing a cache barrier command for a disk array and device for the same
Publication Date: 2024.04.02 KOREA ADVANCED INST OF SCI & TECH
  • US11947843B2 patent drawing
  • US11947843B2 patent drawing
  • US11947843B2 patent drawing

AI summary

Provided is a method of controlling a RAID controller, the method including generating, by the RAID controller, a command sequence, and transmitting, by the RAID controller, when a first cache barrier command included in the command sequence is identified, at least one cache barrier command to an arbitrary disk constituting a RAID before transmitting a first write command arranged after the first cache barrier command in the command sequence to the arbitrary disk.