Distributed Erasure Encoding for RAID Write-Hole and Rebuild Bottlenecks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Erasure coding in data storage systems faces issues such as write-hole problems, negation of space efficiency mechanisms, poor partial write performance, and rebuild performance due to read-modify-write operations, especially in RAID systems.

Innovation Solution

Implementing a virtual redundant array of independent disks (vRAID) with distributed erasure encoding and a distributed log-structured file system that uses checksums for data integrity and maps logical files to vRAID stripe locations, avoiding write-hole issues and maintaining efficiency through tight packing of compressed data and metadata.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If erasure encoding is implemented for data storage protection, then data reliability is improved, but write-hole problems occur and rebuild performance deteriorates

Engineering Contradiction:
Improvedata protectionVSAvoidrebuild performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the erasure encoding process by creating independent vRAID groups that can be rebuilt in parallel. Each vRAID group is treated as a separate unit with its own data chunks and parity chunks, allowing simultaneous rebuild operations across multiple groups without interfering with each other, thus improving overall rebuild performance while maintaining data protection.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary actions by pre-calculating and storing parity chunks alongside data chunks in each vRAID group. This preparation ensures that when a failure occurs, the rebuild process can immediately begin using the pre-computed parity information without requiring complex real-time calculations, thereby accelerating rebuild performance while preserving data reliability.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If traditional erasure encoding is used, then data protection is achieved, but read-modify-write operations cause poor partial write performance

Engineering Contradiction:
Improvedata protectionVSAvoidpartial write performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces an intermediary log-structured file system layer between the application and the erasure-coded storage. This intermediary handles write operations by appending data to logs and managing the conversion to erasure-coded format asynchronously, eliminating the need for immediate read-modify-write operations and improving partial write performance while maintaining data protection through the underlying erasure encoding.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Quantity of substance

If erasure encoding is implemented, then space efficiency is improved compared to RAID1, but space efficiency mechanisms like compression are negated

Engineering Contradiction:
Improvestorage efficiencyVSAvoidcompression compatibility
Core Design Contradiction:
Quantity of substanceVSAdaptability or versatility

Solution Approach 1:

The patent segments compressed data into fixed-size chunks that can be independently erasure-coded. This segmentation allows compression to operate on the original data while the erasure encoding operates on the compressed chunks, preserving both the space efficiency benefits of compression and the data protection benefits of erasure encoding without negating either mechanism.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent merges compression and erasure encoding operations in a pipeline fashion, where compressed data is fed into the erasure encoding process. This combination allows both space efficiency mechanisms to work together synergistically, maintaining the space savings from compression while adding the data protection of erasure encoding, rather than one negating the other.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS20230083752A1Method and apparatus for distributed erasure encoding
Publication Date: 2023.03.16 CISCO TECHNOLOGY INC
  • US20230083752A1 patent drawing
  • US20230083752A1 patent drawing
  • US20230083752A1 patent drawing

AI summary

Systems, methods, and computer-readable media are provided for utilizing distributed erasure encoding in a redundant array of independent disks (RAID) system. An example method can include generating a plurality of virtual redundant array of independent disk (vRAID) stripes, each of the plurality of vRAID stripes including a segment having a plurality of data, each of the plurality of data including metadata, the metadata including a checksum of a corresponding data of the plurality of data, distributing the segment of each of the plurality of vRAID stripes over a plurality of virtual nodes, mapping at least one of logical files, volumes, or objects to the plurality of data chunks and the at least one parity chunk of the plurality of vRAID stripes to avoid write-hole issues, and verifying data integrity of the corresponding data of the plurality of data using the checksum of the corresponding data.