Cache Destaging Using Track Group Density and Frequency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current destaging techniques for cache management systems do not effectively consider the density of groups of tracks, leading to inefficiencies in writing data to storage devices like Solid State Storage Drives (SSDs), which experience write amplification and reduced longevity due to non-sequential data writes.

Innovation Solution

The proposed method involves incrementing the density of groups of tracks based on their readiness to destage and modifying frequency, using both density and frequency as criteria to select groups for destaging, ensuring that consecutive tracks are updated simultaneously, thereby minimizing write amplification and extending SSD lifespan.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If current destaging techniques (IWC or WOW) are used that select tracks based on temporality and spatial location, then cache management is performed, but write amplification occurs in SSDs and device longevity is reduced

Engineering Contradiction:
Improvecache management efficiencyVSAvoidSSD longevity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent changes the selection parameters from individual track-based metrics (temporality and spatial location only) to group-based metrics that include density and modification frequency. This parameter change enables the system to identify groups of tracks with similar access patterns, allowing sequential writes to SSDs and eliminating write amplification, thus resolving the contradiction between cache management efficiency and SSD longevity.

Inventive Principle:
Principle #35Parameter changes

2Ease of operation

If tracks are destaged individually based on LRU and spatial location, then cache eviction is performed, but non-sequential data writes occur in SSDs causing write amplification

Engineering Contradiction:
Improvecache eviction processVSAvoidwrite amplification
Core Design Contradiction:
Ease of operationVSLoss of energy

Solution Approach 1:

The patent merges multiple individual track destaging operations into a single group-based destaging operation. By identifying groups of tracks with similar density and modification frequency characteristics, the system can evict entire groups simultaneously, ensuring sequential writes to SSDs. This merging approach maintains ease of operation while eliminating the write amplification caused by scattered individual writes.

Inventive Principle:
Principle #5Merging (Combining)

3Device complexity

If density of groups of tracks is not considered in destaging selection, then simple destaging algorithms can be used, but storage efficiency is reduced and device longevity is shortened

Engineering Contradiction:
Improvedestaging algorithm complexityVSAvoidstorage efficiency and device longevity
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent applies preliminary action by pre-calculating and maintaining density and modification frequency metrics for groups of tracks before destaging decisions are made. This preliminary preparation allows the destaging algorithm to efficiently identify suitable groups without complex real-time analysis, thereby maintaining algorithm simplicity while improving storage efficiency and device longevity through group-based sequential writes.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11200174B2Considering a frequency of access to groups of tracks and density of the groups to select groups of tracks to destage
Publication Date: 2021.12.14 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11200174B2 patent drawing
  • US11200174B2 patent drawing
  • US11200174B2 patent drawing

AI summary

Provided are a computer program product, system, and method for considering a frequency of access to groups of tracks and density of the groups to select groups of tracks to destage. One of a plurality of densities for one of a plurality of groups of tracks is incremented in response to determining at least one of that the group is not ready to destage and that one of the tracks in the group in the cache transitions to being ready to destage. A determination is made of a group frequency indicating a frequency at which tracks in the group are modified. At least one of the density and the group frequency is used for each of the groups to determine whether to destage the group. The tracks in the group in the cache are destaged to the storage in response to determining to destage the group.