Adaptive Cache Management via CXL Telemetry

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional working memories, such as those used in artificial intelligence and deep learning systems, face performance impairments due to limited capacities and inefficient data fetching schemes, particularly because low latency working memory has not scaled commensurately with increasing storage capacity.

Innovation Solution

The implementation of an adaptive cache management system that utilizes a Compute Express Link (CXL) interface to receive transaction packets from a host system, captures telemetry information related to cache memory transactions and storage media access, and dynamically determines and applies a cache policy to modify caching and prefetching schemes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If storage capacity is increased to accommodate vast amounts of data, then data housing capability is improved, but working memory latency and access performance deteriorate

Engineering Contradiction:
Improvestorage capacityVSAvoidworking memory latency
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system segments memory into multiple cache banks (first cache bank, second cache bank, etc.) that can operate independently and in parallel. Each cache bank can be managed with different cache policies, allowing the system to optimize for different access patterns while maintaining large storage capacity through the aggregation of multiple segmented units.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension of memory hierarchy by implementing cache memory within the storage device itself, creating a layered structure that bridges the gap between fast working memory and slow storage. This dimensional addition allows data to be cached closer to the processing unit, reducing latency without sacrificing storage capacity.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Device complexity

If conventional caching schemes are used in limited capacity working memory, then implementation simplicity is maintained, but data fetching efficiency deteriorates

Engineering Contradiction:
Improvecaching scheme simplicityVSAvoiddata fetching efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The system implements dynamic cache policy management where cache policies can be modified in real-time based on workload characteristics. The host system can issue commands to change cache policies for different cache banks, allowing the system to adapt to varying access patterns and optimize data fetching efficiency without requiring complex hardware changes.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameters of cache management by allowing flexible configuration of cache policies including cache line sizes, associativity, and replacement policies. These parameter changes enable the system to optimize for different application requirements while maintaining a relatively simple underlying cache architecture.

Inventive Principle:
Principle #35Parameter changes

3Quantity of substance

If large amounts of working memory are allocated for applications requiring extensive data access, then application capability is improved, but access latency increases due to limited cache capacity

Engineering Contradiction:
Improveworking memory capacityVSAvoiddata access latency
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

By dividing the cache into multiple independent banks, the system can serve multiple data access requests in parallel, effectively increasing the throughput and reducing the average access latency for large working memory requirements without proportionally increasing the time for individual access operations.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250165372A1Adaptive Cache Management for a Storage Media System
Publication Date: 2025.05.22 MARVELL ASIA PTE LTD
  • US20250165372A1 patent drawing
  • US20250165372A1 patent drawing
  • US20250165372A1 patent drawing

AI summary

The present disclosure describes apparatuses and methods for adaptive cache management for a storage media system. In aspects, an adaptive cache manager obtains telemetry information relating to access of a cache memory and access of storage media of a storage media system. Based on the telemetry information, the adaptive cache manager determines a cache policy for the cache memory and applies the cache policy to the cache memory to modify a caching scheme or a prefetching scheme for the data of the cache memory. In some cases, the adaptive cache manager receives caching parameters from an application or user of a host system and uses these parameters when determining the cache policy. By so doing, the adaptive cache manager may dynamically alter the caching and prefetch activities of the cache memory to improve efficiency of the cache memory.