# US 2025/0165372 A1 · Adaptive Cache Management for a Storage Media System

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0165372 A1
- Document ID: US20250165372A1
- Status: Published application
- Kind: A1
- Application number: 18/587,362
- Filed: 2024-02-26
- Published: 2025-05-22
- Earliest claimed: 2023-11-20
- Assignees: Marvell Asia Pte Ltd
- Applicants: Marvell Asia Pte Ltd
- Inventors: Lokesh Nagappa Jaliminche; Erich F. Haratsch
- Web page: https://patentgrep.com/patent/US20250165372A1

## CPC

- G06F 11/3409: {for performance assessment}
- G06F 12/0862: with prefetch
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

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.

## Claims

### Claim 1

A method for adaptive cache management implemented by a storage media system, comprising:
receiving, via a compute express link (CXL) interface, transaction packets for access to data of a cache memory of the storage media system;
determining first telemetry information relating to the transaction packets received for access to the cache memory;
determining second telemetry information relating to access of storage media of the storage media system associated with the transaction packets;
determining a cache policy for the cache memory based on the first telemetry information and the second telemetry information; and
applying the cache policy to the cache memory to modify a caching scheme or a prefetching scheme for the data of the cache memory.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, via the CXL interface, cache parameters provided by an application or a user; and
determining the cache policy based on the first telemetry information, the second telemetry information, and the cache parameters provided by the application or the user.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
configuring a machine learning model using the first telemetry information and the second telemetry information, and wherein:
the cache policy for the cache memory is determined using the machine learning model.

### Claim 4 (depends on 3)

The method of claim 3, wherein configuring the machine learning model comprises training or retraining the machine learning model based on the first telemetry information and the second telemetry information.

### Claim 5 (depends on 4)

The method of claim 4, wherein retraining the machine learning model is performed in response to:
a duration of time lapsing; or
a metric of the cache memory falling below a performance threshold of the cache memory.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining metrics for the cache memory based on the first telemetry information and the second telemetry information, and wherein:
the cache policy for the cache memory is determined based on the metrics of the cache memory.

### Claim 7 (depends on 6)

The method of claim 6, wherein the metrics for the cache memory comprise a cache hit rate, a cache byte hit rate, a cache miss rate, cache latency, or cache access time.

### Claim 8 (depends on 1)

The method of claim 1, wherein:
the first telemetry information comprises a cache hit, a request size to the cache, a cache byte address, a cache line address, an age of data of a cache line, or frequency of access to a cache line; and
the second telemetry information comprises a cache miss, a request size to the storage media, a logical block address (LBA), an age of data at an LBA, or frequency of access to an LBA.

### Claim 9 (depends on 1)

The method of claim 1, wherein the transaction packets received comprise are compliant with a CXL memory protocol or a CXL cache protocol.

### Claim 10 (depends on 1)

The method of claim 1, wherein the transaction packets received comprise a load instruction to load data from the cache memory or a store instruction to store data to the cache memory.

### Claim 11 (depends on 1)

The method of claim 1, wherein:
the cache memory comprises a dynamic random-access memory (DRAM) of the storage media system; and
the storage media comprises a NAND memory of the storage media system.

### Claim 12

An apparatus comprising:
a cache memory;
a compute express link (CXL) interface configured to receive transaction packets for access to the cache memory;
storage media configured to store data;
a storage media controller configured to enable transfers of the data between the cache memory and the storage media;
a telemetry unit operably coupled with the CXL interface and the storage media controller; and
an adaptive cache manager configured to:
obtain, from the telemetry unit, first telemetry information relating to the transaction packets received for access to the cache memory;
obtain, from the telemetry unit, second telemetry information relating to access of the storage media associated with the transaction packets and data present in the cache memory;
determine a cache policy for the cache memory based on the first telemetry information and the second telemetry information; and
apply the cache policy to the cache memory to modify a caching scheme or a prefetching scheme for the data stored by the cache memory.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the adaptive cache manager is further configured to:
receive, via the CXL interface, cache parameters provided by an application or a user; and
determine the cache policy based on the first telemetry information, the second telemetry information, and the cache parameters provided by the application or the user.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the adaptive cache manager is further configured to:
configure a machine learning model using the first telemetry information and the second telemetry information, and wherein:
the cache policy for the cache memory is determined using the machine learning model.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the adaptive cache manager is further configured to:
determine metrics for the cache memory based on the first telemetry information and the second telemetry information, and wherein:
the cache policy for the cache memory is determined based on the metrics of the cache memory.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the metrics for the cache memory comprise a cache hit rate, a cache byte hit rate, a cache miss rate, cache latency, or cache access time.

### Claim 17

A System-on-Chip comprising:
a cache memory;
a compute express link interface (CXL) interface configured to receive transaction packets for access to the cache memory;
a storage media controller with a storage media interface and configured to enable transfers of data between the cache memory and storage media coupled to the storage media interface;
a telemetry unit operably coupled with the cache memory and the storage media controller; and
an adaptive cache manager configured to:
receive, from the telemetry unit, first telemetry information relating to the transaction packets for access to the cache memory;
receive, from the telemetry unit, second telemetry information relating to access of the storage media associated with the transaction packets;
determine a cache policy for the cache memory based on the first telemetry information and the second telemetry information; and
apply the cache policy to the cache memory to modify a caching scheme or a prefetching scheme for the data stored by the cache memory.

### Claim 18 (depends on 17)

The System-on-Chip of claim 17, wherein the adaptive cache manager is further configured to:
receive, via the CXL interface, cache parameters provided by an application or a user; and
determine the cache policy based on the first telemetry information, the second telemetry information, and the cache parameters provided by the application or the user.

### Claim 19 (depends on 17)

The System-on-Chip of claim 17, wherein the adaptive cache manager is further configured to:
configure a machine learning model using the first telemetry information and the second telemetry information, and wherein:
the cache policy for the cache memory is determined using the machine learning model.

### Claim 20

An apparatus comprising:
a cache memory;
a compute express link (CXL) interface configured to receive transaction packets for access to the cache memory;
an interface configured to enable transfers of data to storage media that is coupled to the interface;
means for transferring the data between the cache memory and the storage media;
means for obtaining first telemetry information relating to the transaction packets received for access to the cache memory and second telemetry information relating to access of the storage media associated with the transaction packets and data present in the cache memory;
means for determining a cache policy for the cache memory based on the first telemetry information and the second telemetry information; and
means for applying the cache policy to the cache memory to modify a caching scheme or a prefetching scheme for the data stored by the cache memory.
