Cache Replacement Policy Reduction Using Hyper-Dimensional Arrays

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing cache systems face inefficiencies due to the large number of cache replacement precedence value (CRPV) policies, which affect cache and processing efficiency, and there is a need to reduce the complexity and improve performance by optimizing CRPV policies using machine learning.

Innovation Solution

A system and method to reduce the number of CRPV policies by employing a machine learning agent that utilizes arrays of predefined values for prefetcher engines and event-types, applying greedy algorithms to find optimal policy combinations, and iteratively refining these policies to enhance cache efficiency and processing performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a large number of CRPV policies are maintained to cover different prefetcher engine and event-type combinations, then cache replacement precision is improved, but device complexity increases

Engineering Contradiction:
Improvecache replacement precisionVSAvoidpolicy management complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the CRPV policy into multiple independent CRPV arrays, each corresponding to a specific prefetcher engine. This allows the system to maintain precise cache replacement decisions for different prefetcher engines without managing a single monolithic complex policy structure. Each CRPV array can be independently updated and managed based on events specific to its associated prefetcher engine.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension to the policy representation by organizing CRPV policies as a multi-dimensional structure where one dimension represents prefetcher engines and another represents event types. This dimensional organization allows efficient indexing and retrieval of appropriate CRPV values without requiring the system to manage an exhaustive flat list of all possible policy combinations.

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

2Productivity

If multiple CRPV policies are evaluated and updated based on different events, then cache efficiency is improved, but processing overhead increases

Engineering Contradiction:
Improvecache efficiencyVSAvoidprocessing overhead
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent applies local quality by allowing different CRPV arrays to be updated based on local events specific to each prefetcher engine. When an event occurs on a particular prefetcher engine, only the corresponding CRPV array is updated, not all CRPV policies. This localized update mechanism maintains cache efficiency by ensuring each prefetcher engine has optimized CRPV values while reducing processing overhead by avoiding unnecessary updates to unrelated policies.

Inventive Principle:
Principle #3Local quality

3Adaptability or versatility

If the CRPV policy structure is expanded to include more prefetcher engines and event types, then adaptability is improved, but memory requirements increase

Engineering Contradiction:
Improvepolicy adaptabilityVSAvoidmemory requirements
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent implements universality by designing a CRPV structure where multiple CRPV arrays share a common event-type indexing mechanism. The same event type definitions and update logic are universally applied across all prefetcher engine CRPV arrays, allowing the system to handle different prefetcher engines and event types with a unified framework. This universal approach enables the system to adapt to different configurations without requiring separate memory structures for each scenario.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12450172B2Reducing set of policies with two or more hyper-dimensions
Publication Date: 2025.10.21 MELLANOX TECHNOLOGIES LTD(IL)
  • US12450172B2 patent drawing
  • US12450172B2 patent drawing
  • US12450172B2 patent drawing

AI summary

In one embodiment, a system includes a processor to reduce a number of cache replacement precedence value policies available for selection by a machine learning agent, each cache replacement precedence value policy including an array of predefined cache replacement precedence values for corresponding different combinations of (a) prefetcher engines that loaded cache lines, and (b) event-types of events that have been performed on the cache lines, and a memory to store data used by the processor.