Shared Cache User Grouping for Fairer Replacement Policies

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In shared caches, concurrent users with varying demands can interfere with each other's performance due to suboptimal replacement policies, leading to unfair capacity evictions and decreased performance for some users.

Innovation Solution

A computing system dynamically groups cache users with similar demands and applies tailored policies to each group, using monitoring logic to identify similarities and adjust replacement policies based on performance metrics.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If a single replacement policy is applied to all cache users, then the cache operation is simple, but performance fairness deteriorates and some users suffer from suboptimal performance

Engineering Contradiction:
Improvecache operation simplicityVSAvoidperformance fairness
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent segments the cache users into multiple groups based on their access patterns and demands. Each group is then assigned a tailored replacement policy that is optimized for its specific characteristics. This segmentation resolves the contradiction by maintaining simple operations within each group while achieving overall performance fairness across diverse user types.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic grouping where cache users are continuously monitored and reassign ed to different groups based on changing access patterns. The replacement policies are dynamically adjusted to match current user behavior. This dynamic approach maintains operational simplicity through automated adaptation while ensuring performance fairness as user demands evolve.

Inventive Principle:
Principle #15Dynamics

2Quantity of substance

If cache capacity is increased to serve more users, then more data can be stored, but interference between concurrent users increases leading to suboptimal performance

Engineering Contradiction:
Improvecache capacityVSAvoiduser performance
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent segments the shared cache into multiple way-groups, where each way-group serves a specific group of cache users. This segmentation reduces interference between users by isolating their access patterns into separate physical ways. The total cache capacity is maintained while performance is improved through this spatial segmentation that prevents cross-user interference.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different replacement policies to different way-groups based on the specific characteristics of the user groups they serve. Each way-group is optimized with local quality tailored to its users' access patterns, rather than applying a uniform policy across the entire cache. This resolves the contradiction by maintaining full cache capacity while improving performance through localized optimization.

Inventive Principle:
Principle #3Local quality

3Productivity

If monitoring and dynamic grouping is implemented, then performance optimization is achieved, but device complexity increases

Engineering Contradiction:
Improvecache performanceVSAvoidcontrol logic complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements self-service mechanisms where the cache system automatically monitors user access patterns, dynamically groups users, and assigns appropriate replacement policies without external intervention. The system serves itself by detecting performance issues and adapting its configuration. This reduces the perceived complexity burden on users while maintaining high performance through automated control.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent incorporates feedback mechanisms that continuously monitor cache performance metrics and use this information to dynamically adjust user grouping and policy assignment. The system learns from past performance and adapts its configuration to optimize future performance. This feedback-driven approach manages complexity by using performance data to automatically guide configuration decisions rather than requiring manual tuning.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12487933B2Cache grouping for increasing performance and fairness in shared caches
Publication Date: 2025.12.02 ADVANCED MICRO DEVICES INC
  • US12487933B2 patent drawing
  • US12487933B2 patent drawing
  • US12487933B2 patent drawing

AI summary

A method includes monitoring one or more metrics for each of a plurality of cache users sharing a cache, and assigning each of the plurality of cache users to one of a plurality of groups based on the monitored one or more metrics.