Decoupled Cache Architecture for Variable-Size Data Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Cache memories face inefficiencies due to the variable size of data collections, such as those using delta color compression, leading to wasted space and suboptimal use of cache resources.

Innovation Solution

Implementing a cache architecture that divides cache lines into sectors, allowing for variable-sized data storage by using a set-associative cache with metadata to track sector locations and employing an eviction policy to manage sector placement and retrieval.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If cache lines are divided into sectors to store variable-sized data collections, then cache utilization is improved, but device complexity increases due to metadata tracking and sector management

Engineering Contradiction:
Improvecache utilizationVSAvoidcache architecture complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The cache line is divided into multiple sectors, allowing variable-sized data collections to be stored efficiently. Each sector can independently hold a portion of the data, and metadata tracks which sectors are valid and their locations. This segmentation enables the cache to adapt to different data sizes without wasting space, directly improving cache utilization while managing complexity through structured organization.

Inventive Principle:
Principle #1Segmentation

2Device complexity

If fixed-size cache lines are used, then device complexity is reduced, but waste of cache space occurs when storing variable-sized data collections

Engineering Contradiction:
Improvecache architecture complexityVSAvoidcache space waste
Core Design Contradiction:
Device complexityVSLoss of substance

Solution Approach 1:

Different sectors within the same cache line can have different validity states and storage purposes. The metadata associated with each sector allows the system to treat each sector locally according to its specific needs, rather than treating the entire cache line uniformly. This enables efficient use of cache space by activating only the sectors needed for the current data collection, reducing waste while maintaining a relatively simple fixed-size cache line structure.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20250307164A1Decoupled cache architecture
Publication Date: 2025.10.02 ADVANCED MICRO DEVICES INC
  • US20250307164A1 patent drawing
  • US20250307164A1 patent drawing
  • US20250307164A1 patent drawing

AI summary

A technique for operation a cache is provided. The technique includes receiving an access request for a cache that specifies an access size in sub-cache line sectors; determining which sectors for the access request are present in the cache; and accessing the cache based on the determining.