# US 2021/0173782 A1 · Cache Memory Management

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

- Number: US 2021/0173782 A1
- Document ID: US20210173782A1
- Status: Published application
- Kind: A1
- Application number: 16/709,013
- Filed: 2019-12-10
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: John Krasner; Ramesh Doddaiah
- Web page: https://patentgrep.com/patent/US20210173782A1

## CPC

- G06F 12/0223: {User address space allocation, e.g. contiguous or non contiguous base addressing}
- G06F 12/0862: with prefetch
- G06F 12/0893: Caches characterised by their organisation or structure
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06F 2212/602: Details relating to cache prefetching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments of the present disclosure relate to cache memory management. Based on anticipated input/output (I/O) workloads, at least one or more of: sizes of one or more mirrored and un-mirrored caches of global memory and their respective cache slot pools are dynamically balanced. Each of the mirrored/unmirrored caches can be segmented into one or more cache pools, each having slots of a distinct size. Cache pool can be assigned an amount of the one or more cache slots of the distinct size based on the anticipated I/O workloads. Cache pools can be further assigned the amount of distinctly sized cache slots based on expected service levels (SLs) of a customer. Cache pools can also be assigned the amount of the distinctly sized cache slots based on one or more of predicted I/O request sizes and predicted frequencies of different I/O request sizes of the anticipated I/O workloads.

## Claims

### Claim 1

An apparatus comprising a memory and at least one processor configured to:
based on anticipated input/output (I/O) workloads, dynamically balance at least one or more of: sizes of one or more mirrored and un-mirrored caches of global memory and their respective cache slot pools.

### Claim 2 (depends on 1)

The apparatus of claim 1 further configured to segment each of the one or more mirrored and un-mirrored caches into the one or more cache pools, wherein each cache pool includes one or more cache slots of a distinct size.

### Claim 3 (depends on 2)

The apparatus of claim 2 further configured to assign each cache pool an amount of the one or more cache slots of the distinct size based on the anticipated I/O workloads.

### Claim 4 (depends on 3)

The apparatus of claim 3 further configured to assign each cache pool the amount of the one or more distinctly sized cache slots based on expected service levels (SLs) of a customer.

### Claim 5 (depends on 1)

The apparatus of claim 1 further configured to anticipate the I/O workloads using one or more neural network machine learning techniques.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein one of the one or more neural network machine learning techniques is a recurring neural network (RNN) such as a long/short-term memory (LSTM) network.

### Claim 7 (depends on 2)

The apparatus of claim 2 further configured to predict distinct I/O request sizes of the anticipated I/O workloads.

### Claim 8 (depends on 7)

The apparatus of claim 7 further configured to predict frequencies of different I/O request sizes of the anticipated I/O workloads.

### Claim 9 (depends on 8)

The apparatus of claim 8 further configured to assign each cache pool an amount of the one or more cache slots of the distinct size based on one or more of the predicted I/O request sizes and the predicted frequencies of the different I/O request sizes of the anticipated I/O workloads.

### Claim 10 (depends on 9)

The apparatus of claim 9 further configured to assign each cache pool the amount of the one or more distinctly sized cache slots of the distinct based on expected service levels (SLs) of a customer.

### Claim 11

A method comprising:
based on anticipated input/output (I/O) workloads, dynamically balancing at least one or more of: sizes of one or more mirrored and un-mirrored caches of global memory and their respective cache slot pools.

### Claim 12 (depends on 11)

The method of claim 11 further comprising segmenting each of the one or more mirrored and un-mirrored caches into one or more cache pools, each cache pool having one or more cache slots of a distinct size.

### Claim 13 (depends on 12)

The method of claim 12 further comprising assigning each cache pool an amount of the one or more cache slots of the distinct size based on the anticipated I/O workloads.

### Claim 14 (depends on 13)

The method of claim 13 further comprising assigning each cache pool the amount of the one or more distinctly sized cache slots based on expected service levels (SLs) of a customer.

### Claim 15 (depends on 11)

The method of claim 11 further comprising anticipating the I/O workloads using one or more neural network machine learning techniques.

### Claim 16 (depends on 15)

The method of claim 15, wherein one of the one or more neural network machine learning techniques is a recurring neural network (RNN) such as a long/short-term memory (LSTM) network.

### Claim 17 (depends on 12)

The method of claim 12 further comprising predicting distinct I/O request sizes of the anticipated I/O workloads.

### Claim 18 (depends on 17)

The method of claim 17 further comprising predicting frequencies of different I/O request sizes of the anticipated I/O workloads.

### Claim 19 (depends on 18)

The method of claim 18 further comprising assigning each cache pool an amount of the one or more cache slots of the distinct size based on one or more of the predicted I/O request sizes and the predicted frequencies of the different I/O request sizes of the anticipated I/O workloads.

### Claim 20 (depends on 19)

The method of claim 19 further comprising assigning each cache pool the amount of the one or more distinctly sized cache slots of the distinct based on expected service levels (SLs) of a customer.
