CAS Write Cache Destaging Lock Contention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In content-addressable storage (CAS) systems, storage node failures can lead to delayed clearing of address locks during the write cache destaging process, causing performance degradation due to increased address lock contention.

Innovation Solution

Implementing a recovery flow that includes issuing write cache metadata preload commands to direct other storage nodes to preload metadata, thereby accelerating the release of address locks and improving system performance by decoupling write cache destaging from data module metadata loading.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If address locks are placed on data pages during write cache destaging, then data integrity is maintained, but system performance degrades due to increased address lock contention

Engineering Contradiction:
Improvedata integrityVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system pre-loads metadata into memory before the write cache destaging process begins. This preliminary action ensures that metadata is readily available when destaging operations need to access it, eliminating the need to wait for metadata loading during the critical destaging phase, thus reducing address lock contention while maintaining data integrity

Inventive Principle:
Principle #10Preliminary action

2Reliability

If metadata loading is performed during write cache destaging, then data pages can be properly destaged, but address lock release is delayed causing IO processing latency

Engineering Contradiction:
Improvedestaging completenessVSAvoidaddress lock hold time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Metadata is loaded into memory in advance before the destaging process begins. This preliminary metadata loading decouples the metadata loading time from the destaging execution time, allowing destaging operations to proceed without waiting for metadata to be loaded, thus reducing address lock hold time while ensuring complete destaging

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system separates the metadata loading operation from the write cache destaging operation. By segmenting these two processes, the metadata can be loaded independently in advance, and the destaging can proceed separately without being blocked by metadata loading delays, reducing the time address locks are held

Inventive Principle:
Principle #1Segmentation

3Reliability

If storage node failure detection is implemented, then system reliability improves, but recovery time increases due to delayed address lock clearing

Engineering Contradiction:
Improvefailure detectionVSAvoidrecovery time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Upon detecting a storage node failure, the system pre-loads metadata for affected data pages into memory before initiating the destaging process. This preliminary action accelerates the recovery process by ensuring metadata is immediately available when destaging resumes, reducing the overall recovery time while maintaining reliable failure detection

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11645174B2Recovery flow with reduced address lock contention in a content addressable storage system
Publication Date: 2023.05.09 DELL PROD LP
  • US11645174B2 patent drawing
  • US11645174B2 patent drawing
  • US11645174B2 patent drawing

AI summary

An apparatus in one embodiment comprises at least one processing device comprising a processor coupled to a memory, with the processing device being configured to detect a failure of at least one storage node that impacts a write cache destaging process in a distributed content addressable storage (CAS) system comprising a plurality of storage nodes each associated with one or more storage devices. Responsive to the detected failure, the processing device issues one or more write cache metadata preload commands to direct one or more other ones of the storage nodes to preload from their associated storage devices metadata characterizing one or more data pages that are subject to the write cache destaging process, thereby illustratively reducing address lock contention in the CAS system. The processing device illustratively comprises at least a portion of a distributed storage controller of the CAS system. Other embodiments include methods and computer program products.