Cache Replacement Augmentation via Multi-Level CBLRU Data

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Multilevel cache architectures face inefficiencies in cache replacement decisions due to the lack of integration of replacement scheme data from lower level caches, leading to suboptimal cache hit rates and performance.

Innovation Solution

The method and system augment cache replacement operations by using CBLRU data from lower level caches to inform decision-making in higher level caches, selecting replacement cache lines based on a threshold value and multiple replacement schemes to improve cache performance and hit rates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If cache replacement decisions are made using only local cache level replacement schemes, then the replacement process is simple and fast, but cache hit rates are suboptimal due to lack of global perspective

Engineering Contradiction:
Improvecache hit rateVSAvoidreplacement decision complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges replacement decisions across multiple cache levels by introducing a global replacement manager that collects replacement candidates from both the current cache level and lower cache levels. This combining approach allows the system to evaluate cache lines from multiple perspectives simultaneously, improving hit rates while managing complexity through structured integration of replacement candidates from different levels.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The global replacement manager acts as an intermediary between local replacement schemes and the final replacement decision. It receives replacement candidates from various cache levels, evaluates them using multiple replacement schemes, and selects the optimal replacement cache line. This intermediary structure enables coordinated replacement decisions across the cache hierarchy without requiring direct complex interactions between all cache levels.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If multiple replacement schemes from different cache levels are integrated, then cache performance improves, but the replacement operation becomes more complex

Engineering Contradiction:
Improvecache performanceVSAvoidreplacement operation complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the replacement operation into distinct phases: collecting replacement candidates from different cache levels, evaluating them using multiple replacement schemes, and selecting the optimal replacement. This segmentation allows each phase to be optimized independently and makes the overall complex operation more manageable. The global replacement manager coordinates these segmented operations to achieve improved performance while maintaining operational clarity.

Inventive Principle:
Principle #1Segmentation

3Reliability

If cache lines are removed based solely on local cache level data, then the replacement process is efficient, but valuable cache lines may be discarded without considering their value at lower cache levels

Engineering Contradiction:
Improvecache line retention accuracyVSAvoidreplacement decision time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary collection of replacement candidates from multiple cache levels before making the final replacement decision. By gathering and evaluating candidates from both current and lower cache levels in advance, the system can make more accurate retention decisions while managing the time required through efficient candidate collection and evaluation mechanisms.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11886342B2Augmenting cache replacement operations
Publication Date: 2024.01.30 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11886342B2 patent drawing
  • US11886342B2 patent drawing
  • US11886342B2 patent drawing

AI summary

A method, system, and computer program product for augmenting cache replacement operations are provided. The method identifies a set of cache lines within a first cache level of a multilevel cache. A first candidate cache line is identified based on a first replacement scheme of the first cache level. A second candidate cache line is identified based on the first replacement scheme of the first cache level. A replacement cache line is selected for replacement in the first cache level. The replacement cache line is selected from the first candidate cache line and the second candidate cache line and based on the first replacement scheme of the first cache level and a second replacement scheme of a second cache level. The method removes the replacement cache line from the first cache level.