GPU Cache Replacement Mechanism Using Hierarchical Address Tracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current GPU cache replacement mechanisms, such as LRU and LRA, perform poorly due to their flat address space management, which does not effectively account for the temporal characteristics of access patterns, leading to inefficient data eviction in graphics processing.

Innovation Solution

A cache replacement mechanism that includes address tracking logic to record cache hits and misses, and replacement control logic to monitor these trackers, identifying frequently used (hot) and infrequently used (cold) regions, allowing for informed data eviction policies based on access patterns.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If LRU or LRA replacement mechanisms are used in GPU caches, then the cache management is simple, but the data eviction efficiency deteriorates due to flat address space management that does not account for temporal characteristics of access patterns

Engineering Contradiction:
Improvecache management simplicityVSAvoiddata eviction efficiency
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent segments the flat address space into multiple hierarchical levels (e.g., L1 cache, L2 cache, L3 cache) with different replacement policies at each level. Each cache level manages a specific portion of the address space, allowing for more granular and efficient data eviction decisions that account for temporal access patterns while maintaining manageable complexity through modular design.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic replacement policies that adapt to temporal characteristics of access patterns. The system monitors access patterns over time and dynamically adjusts which data to evict, moving from static LRU/LRA policies to dynamic policies that consider recency and frequency of access at multiple hierarchical levels, thereby improving eviction efficiency without sacrificing too much complexity.

Inventive Principle:
Principle #15Dynamics

2Device complexity

If flat address space management is used, then the cache structure is simple, but the ability to account for temporal characteristics of access patterns deteriorates

Engineering Contradiction:
Improvecache structure complexityVSAvoidtemporal access pattern recognition
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent adds hierarchical dimensions to the flat address space by introducing multiple cache levels (L1, L2, L3) with different scopes. This dimensional transformation allows the system to track temporal characteristics at multiple granularities simultaneously, improving the ability to recognize access patterns while managing complexity through the structured hierarchical approach rather than a single complex flat structure.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Solution Approach 2:

The patent introduces intermediate cache levels that act as mediators between the simple flat address space and the complex temporal pattern recognition requirements. These intermediate hierarchical levels provide the necessary structure to track temporal characteristics without requiring the entire system to be complex, serving as a bridge that enables pattern recognition while maintaining manageable structure.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11373269B2Cache replacement mechanism
Publication Date: 2022.06.28 INTEL CORP
  • US11373269B2 patent drawing
  • US11373269B2 patent drawing
  • US11373269B2 patent drawing

AI summary

An apparatus to facilitate cache replacement is disclosed. The apparatus includes a cache memory and cache replacement logic to manage data in the cache memory. The cache replacement logic includes tracking logic to track addresses accessed at the cache memory and replacement control logic to monitor the tracking logic and apply a replacement policy based on information received from the tracking logic.