Cache Controller Predicting Future Accesses to Prevent Eviction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing cache management techniques in computing devices are inefficient as they rely on past data usage patterns, leading to eviction of useful data, resulting in time-consuming retrieval from lower levels of the memory hierarchy.

Innovation Solution

A cache controller monitors higher-level caches and functional blocks to predict future accesses, configuring the cache management mechanism to prevent eviction of cache blocks likely to be accessed, thereby optimizing cache usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If cache management uses past information for eviction decisions, then eviction can be performed, but useful data may be evicted and retrieval becomes time-consuming

Engineering Contradiction:
Improvecache eviction efficiencyVSAvoiddata retrieval time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by determining future accesses before making eviction decisions. The cache controller monitors future access patterns and uses this information to prevent eviction of data that will be needed soon, thereby avoiding time-consuming retrievals from lower memory levels while still enabling efficient eviction of data that won't be accessed.

Inventive Principle:
Principle #10Preliminary action

2Quantity of substance

If cache size is increased to store more data, then more data can be retained, but cache capacity is limited and space must be made for new data

Engineering Contradiction:
Improvedata storage capacityVSAvoidcache management complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent implements feedback by continuously monitoring future access patterns and using this information to dynamically adjust eviction decisions. The cache controller receives feedback about which data will be accessed in the future and adjusts its management strategy accordingly, preventing eviction of soon-to-be-accessed data while maintaining efficient use of limited cache capacity.

Inventive Principle:
Principle #23Feedback

3Productivity

If data is evicted from cache to make space, then new data can be stored, but power consumption and bandwidth usage increase due to repeated retrievals

Engineering Contradiction:
Improvecache turnover efficiencyVSAvoidpower consumption
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent applies preliminary action by determining future accesses before eviction occurs. By knowing which data will be accessed in the future, the system can prevent eviction of such data, thereby avoiding the energy-consuming operations of retrieving evicted data from lower memory levels and reducing overall power consumption and bandwidth usage.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9672161B2Configuring a cache management mechanism based on future accesses in a cache
Publication Date: 2017.06.06 ADVANCED MICRO DEVICES INC
  • US9672161B2 patent drawing
  • US9672161B2 patent drawing
  • US9672161B2 patent drawing

AI summary

The described embodiments include a cache controller that configures a cache management mechanism. In the described embodiments, the cache controller is configured to monitor at least one structure associated with a cache to determine at least one cache block that may be accessed during a future access in the cache. Based on the determination of the at least one cache block that may be accessed during a future access in the cache, the cache controller configures the cache management mechanism.