Cache Window Aware Flush for Dirty Data in Storage Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional data flush processes in data storage systems do not prioritize cache storage devices running out of physical space, leading to potential catastrophic failures and inefficient space reclamation, as they solely rely on destination address-based sorting and do not account for the location of dirty cache windows on critical storage devices.

Innovation Solution

Implement a cache window aware flush process that identifies and prioritizes cache windows based on the critical condition of storage devices, flushing those on devices with low physical capacity first and enabling a cache bypass to prevent new writes on critical devices, ensuring immediate space reclamation and preventing failures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional destination address-based sorting is used for cache flush, then the flush process is simple to implement, but cache storage devices running out of physical space are not prioritized leading to potential catastrophic failures

Engineering Contradiction:
Improveprevention of catastrophic failureVSAvoidflush process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs preliminary identification of critical cache storage devices before the flush operation begins. By detecting devices with low physical capacity thresholds in advance and marking them for priority processing, the system ensures that critical devices are addressed first without adding complex real-time decision-making during the flush process itself.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The flush process dynamically adjusts its behavior based on the critical condition of cache storage devices. When a device is identified as critical (below threshold), the system automatically prioritizes flushing operations for that device. This dynamic adaptation allows the system to respond to changing conditions while maintaining operational simplicity through clear priority rules.

Inventive Principle:
Principle #15Dynamics

2Productivity

If cache windows on critical storage devices are not prioritized, then the flush process maintains uniform treatment of all devices, but space reclamation is inefficient and may lead to device failure

Engineering Contradiction:
Improvespace reclamation efficiencyVSAvoiddevice operational safety
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system applies different flush priorities to different cache storage devices based on their individual conditions. Critical devices (those below the physical capacity threshold) receive priority flushing treatment, while non-critical devices follow the standard flush schedule. This localized differentiation ensures efficient space reclamation from critical devices without unnecessarily disrupting operations on healthy devices.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system continuously monitors the physical capacity of cache storage devices and uses this feedback to adjust flush priorities. When a device's free space falls below the threshold, the system receives feedback about this critical condition and automatically adjusts the flush sequence to prioritize that device, ensuring timely space reclamation before failure occurs.

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If new cache windows are allowed on critical storage devices, then cache utilization is maximized, but the risk of catastrophic failure increases due to insufficient space for flush operations

Engineering Contradiction:
Improvecache utilization flexibilityVSAvoidfailure prevention
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system applies cache bypass to critical storage devices in advance, preventing new cache windows from being created on devices that are already below the physical capacity threshold. This preliminary protective action stops the accumulation of additional dirty data on critical devices before they can become overwhelmed, thereby preventing catastrophic failure while allowing normal operation on non-critical devices.

Inventive Principle:
Principle #9Preliminary anti-action

Solution Approach 2:

The cache bypass mechanism dynamically adapts to the condition of each storage device. When a device's free space falls below the threshold, the system automatically enables cache bypass for that specific device, preventing new writes while allowing reads to continue. When the device is flushed and space is reclaimed, the bypass is disabled and normal cache operations resume, providing flexible adaptation to changing conditions.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS9524201B2Safe and efficient dirty data flush for dynamic logical capacity based cache in storage systems
Publication Date: 2016.12.20 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US9524201B2 patent drawing
  • US9524201B2 patent drawing
  • US9524201B2 patent drawing

AI summary

Systems and methods to safely and efficiently handle dirty data flush are disclosed. More specifically, when a cache controller determines that one (or more) storage device of a cache device is running out of space, that storage device is given priority to be flushed prior to the other storage devices that are not in such a critical condition. In addition, a cache bypass process can be conditionally enabled to save free physical spaces already running low on such critical cache storage devices.