Super-Temporal Cache Replacement for Reuse-Aware Eviction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional cache replacement policies require significant hardware resources and fail to account for prior information about data reuse, leading to inefficient data eviction and performance degradation.

Innovation Solution

A cache replacement policy that uses a binary indication to differentiate between protected and unprotected cachelines, favoring the preservation of important data by incrementing or decrementing priority values based on cache hits and misses, thereby guiding the eviction process to maintain critical data in the cache.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional cache replacement policies are used, then cache eviction decisions are made automatically, but significant hardware resources are required and data reuse patterns are not accounted for

Engineering Contradiction:
Improvedata reuse awarenessVSAvoidhardware resources
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts the cache replacement decision-making function from hardware and relocates it to software. The processor executes instructions that implement the replacement policy, reading guiding logic from memory and making eviction decisions based on software-determined priority values rather than hardware-based automatic decisions

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent replaces the mechanical/hardware-based cache replacement mechanism with a software-based system. Instead of hardware circuits tracking and automatically replacing cache lines, the processor executes software instructions that read priority information from memory and control the replacement process through programmed logic

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Productivity

If conventional cache replacement policies are used, then cache operations are simple, but computational performance degrades due to inefficient data eviction

Engineering Contradiction:
Improvecomputational performanceVSAvoidcache operation complexity
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent applies preliminary action by determining priority values for cache lines before eviction decisions are needed. The system pre-calculates and stores priority information in memory based on data reuse patterns, so that when cache eviction is required, the processor can quickly consult the stored priority values without complex real-time analysis

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary layer of guiding logic stored in memory that mediates between the processor and cache. This intermediary contains priority information that guides replacement decisions, allowing the system to balance performance optimization with operational simplicity by offloading the complex analysis to a pre-computed lookup structure

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12455823B2Super-temporal cache replacement policy
Publication Date: 2025.10.28 ADVANCED MICRO DEVICES INC
  • US12455823B2 patent drawing
  • US12455823B2 patent drawing
  • US12455823B2 patent drawing

AI summary

Cache replacement policies are described. In accordance with the described techniques, a request for data is received and a cache replacement policy controls how a controller responds to the request. The cache replacement policy assigns each cacheline a priority value, which indicates whether the cacheline should be preserved relative to other cachelines, in response to the request being a cache miss that necessitates eviction of at least one cacheline. The cache replacement policy decrements priority values until at least one cacheline achieves a minimum priority value, at which point a cacheline is evicted. The cache replacement policy designates certain cachelines as protected, either via a separate protected indicator or via the cacheline's priority value, which causes unprotected cachelines to be selected for eviction while favoring preservation of protected cachelines in the cache.