Dynamic Victim Cache Partition Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In partitioned Last Level Cache (LLC) systems, cache line evictions often lead to inefficiencies as there is no dynamic mechanism to select an available victim cache partition, resulting in potential bottlenecks and increased latency due to the lack of a systematic approach to manage cache line replacements across multiple partitions.

Innovation Solution

A method and system for dynamically selecting a designated victim cache partition by sending notifications across LLC partitions, evaluating availability based on criteria such as outstanding accesses and access frequency, and updating a victim cache register to reflect availability, allowing for efficient eviction of cache lines to the most suitable partition.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If cache lines are evicted from a partitioned LLC without a dynamic victim cache selection mechanism, then the cache management is simple, but latency increases and system performance deteriorates due to bottlenecks in cache line replacement

Engineering Contradiction:
Improvecache eviction latencyVSAvoidvictim cache selection mechanism complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The invention divides the victim cache selection process into discrete segments: (1) generating a victim cache index from the evicted cache line address, (2) using the index to select a specific victim cache partition, and (3) transferring the cache line to the selected partition. This segmentation eliminates the need for complex dynamic evaluation of all partitions while maintaining efficient cache management.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The victim cache partitions are pre-configured with their indices and availability status before eviction operations begin. The victim cache index is calculated in advance based on the evicted line's address, allowing the system to immediately identify the target partition without runtime complexity. This preliminary preparation resolves the contradiction by enabling fast eviction decisions.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If a systematic approach to manage cache line replacements across multiple partitions is implemented, then cache management efficiency improves, but the device complexity increases due to additional mechanisms required

Engineering Contradiction:
Improvecache management efficiencyVSAvoidcache replacement mechanism complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The victim cache index register and selection mechanism serve multiple functions: they identify victim partitions, track their availability status, and facilitate efficient cache line transfer. This multi-functionality improves cache management productivity without proportionally increasing complexity, as a single unified mechanism handles multiple aspects of the replacement process.

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

Solution Approach 2:

The system implements feedback through the victim cache index register that continuously reflects the current state of victim cache availability. When partitions become available or unavailable, the index is updated accordingly, providing real-time feedback that guides efficient cache line replacement decisions. This feedback mechanism enhances productivity while maintaining manageable complexity through automated state tracking.

Inventive Principle:
Principle #23Feedback

3Productivity

If dynamic victim cache partition selection is implemented, then system performance improves, but the ease of operation decreases due to more complex control logic

Engineering Contradiction:
Improvesystem performanceVSAvoidcache control simplicity
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The victim cache selection mechanism operates autonomously using the generated victim cache index to automatically identify and select the appropriate victim partition without requiring complex control logic or manual intervention. The system self-manages the selection process by calculating the index from the evicted line address and using it to determine the target partition, thereby improving performance while maintaining ease of operation through automation.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9836406B2Dynamic victim cache policy
Publication Date: 2017.12.05 ORACLE INT CORP
  • US9836406B2 patent drawing
  • US9836406B2 patent drawing
  • US9836406B2 patent drawing

AI summary

A method, system, and computer-readable medium for evicting cache lines that includes determining that a first cache line is to be evicted from a first Last Level Cache (LLC) partition of a partitioned LLC, and sending, based on the determination, a first notification to a second LLC partition of the partitioned LLC. The method may also include receiving, in response to the first notification, an available indication indicating that the second LLC partition is available as a designated victim cache partition; performing a selection of the second LLC partition as the designated victim cache partition; and evicting the first cache line to the second LLC partition based on the selection.