Variable Cacheline Set Mapping for Strided Memory Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Fixed cacheline set mapping in multi-core processors leads to increased complexity and performance issues, particularly in complex applications with strided memory access patterns, due to limitations in cache management resources.

Innovation Solution

Implement variable cacheline set mapping technology that allows dynamic adjustment of cacheline set mapping based on software agent indications, altering map functions at runtime to optimize access patterns and bitfield influences.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If fixed cacheline set mapping is used in multi-core processors, then cache management is simpler, but performance deteriorates in complex applications with strided memory access patterns

Engineering Contradiction:
Improvecache management complexityVSAvoidapplication performance
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent implements variable cacheline set mapping that dynamically adjusts the mapping function at runtime based on software agent indications. Instead of a fixed mapping, the system can switch between different mapping functions (e.g., different bitfield influences and set selections) to optimize for varying memory access patterns, thereby resolving the contradiction between simplicity and performance.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the mapping parameters (which bits influence set selection) dynamically based on workload characteristics. Software agents can indicate when to alter the mapping function, allowing the cache to adapt its behavior to different application requirements without permanently increasing hardware complexity.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If variable cacheline set mapping is implemented, then cache management efficiency improves, but device complexity increases

Engineering Contradiction:
Improvecache management efficiencyVSAvoidmapping function complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The variable mapping implementation uses dynamic switching between predefined mapping functions rather than implementing a completely complex adaptive algorithm. The hardware maintains multiple mapping function configurations and switches between them based on software agent indications, achieving efficiency improvement without proportionally increasing complexity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system varies mapping parameters (bitfield selections, set indexing schemes) based on runtime conditions indicated by software agents. This parameter-based approach allows flexible cache management efficiency improvement while keeping the underlying hardware structure relatively simple through configurable rather than fundamentally complex design.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If fixed mapping functions are used, then hardware resources are simpler, but cache bottlenecks increase in workloads with varying access patterns

Engineering Contradiction:
Improvehardware resourcesVSAvoidworkload performance
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent enables dynamic adjustment of mapping functions at runtime based on workload characteristics detected by software agents. This allows the cache to adapt to varying access patterns in different workloads, preventing cache bottlenecks without requiring a completely complex hardware resource structure, as the adaptation is achieved through configurable mapping parameters rather than additional physical resources.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20250342121A1Variable cacheline set mapping
Publication Date: 2025.11.06 INTEL CORP
  • US20250342121A1 patent drawing
  • US20250342121A1 patent drawing
  • US20250342121A1 patent drawing

AI summary

Techniques for variable mapping are described. An example apparatus comprises a memory and circuitry coupled to the memory to map an index to a particular set of one or more sets based on an indicated map function of two or more map functions, and lookup an entry in the memory based at least in part on the particular set indicated by the mapped index. Other examples are disclosed and claimed.