# US 10,957,008 B2 · Dynamic allocation of cache based on instantaneous bandwidth consumption at computing devices

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

- Number: US 10,957,008 B2
- Document ID: US10957008B2
- Status: Granted
- Kind: B2
- Application number: 16/531,713
- Filed: 2019-08-05
- Published: 2020-01-23
- Granted: 2021-03-23
- Earliest claimed: 2017-04-21
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Kiran C. Veernapu; Mohammed Tameem; Altug Koker; Abhishek R. Appu
- Web page: https://patentgrep.com/patent/US10957008B2

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 12/023: {Free address space management}
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 2212/1016: Performance improvement
- G06F 2212/1048: Scalability
- G06F 2212/455: Image or video data
- G06F 2212/604: Details relating to cache allocation
- G06T 2210/08: Bandwidth reduction
- G06T 2210/52: Parallel processing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A mechanism is described for facilitating dynamic cache allocation in computing devices in computing devices. A method of embodiments, as described herein, includes facilitating monitoring one or more bandwidth consumptions of one or more clients accessing a cache associated with a processor; computing one or more bandwidth requirements of the one or more clients based on the one or more bandwidth consumptions; and allocating one or more portions of the cache to the one or more clients in accordance with the one or more bandwidth requirements.

## Claims

### Claim 1

An apparatus comprising:
one or more processors including a graphics processor to:
detect a plurality of threads for one or more clients, the threads accessing a graphics cache associated with the graphics processor;
monitor incoming ingress throughput demand for each of the plurality of threads accessing the graphics cache;
measure an average throughput for each of the plurality of threads over a plurality of windows in a sliding window measurement;
determine an instantaneous cache bandwidth being consumed from the graphics cache by each of the plurality of threads based at least in part upon the average throughput measurement for each of the plurality of threads; and
dynamically allocate one or more portions of the graphics cache to one or more of the plurality of threads in accordance with the determined instantaneous cache bandwidth consumption.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the plurality of threads includes threads for one or more components of the apparatus seeking access to the graphics cache for processing of one or more workloads.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein a portion of the one or more portions includes a way of the graphics cache representing a percentage of the graphics cache such that a total of the one or more portions amount to equal to or less than one hundred percent of the graphics cache.

### Claim 4 (depends on 2)

The apparatus of claim 2, further comprising a tag array hosted by the graphics cache to trigger and control the allocation of the one or more portions of the graphics cache to the one or more threads in response to one or more instructions.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the measurement of the average throughput is over an M number of windows, wherein a window is an interval of N clocks, and wherein M and N are values greater than one.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein values of M and N are programmable.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are further to determine a number of the one or more portions to be allocated to each of the one or more threads based at least in part on the determined instantaneous cache bandwidth being consumed from the graphics cache by each of the plurality of threads.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the one or more portions of the graphics cache are allocated to the one or more threads in real-time.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the graphics processor is co-located with an application processor on a common semiconductor package.

### Claim 10

A method comprising:
detecting a plurality of threads for one or more clients, the threads accessing a graphics cache associated with a graphics processor of one or more processors of an apparatus;
monitoring incoming ingress throughput demand for each of the plurality of threads accessing the graphics cache;
measuring an average throughput for each of the plurality of threads over a plurality of windows in a sliding window measurement;
determining an instantaneous cache bandwidth being consumed from the thread by each of the plurality of threads based at least in part upon the average throughput measurement for each of the plurality of threads; and
dynamically allocating one or more portions of the graphics cache to one or more of the plurality of threads in accordance with the determined instantaneous cache bandwidth consumption.

### Claim 11 (depends on 10)

The method of claim 10, wherein the plurality of threads includes threads for one or more components of the apparatus seeking access to the graphics cache for processing of one or more workloads.

### Claim 12 (depends on 11)

The method of claim 11, wherein a portion of the one or more portions includes a way of the graphics cache representing a percentage of the graphics cache such that a total of the one or more portions amount to equal to or less than one hundred percent of the graphics cache.

### Claim 13 (depends on 10)

The method of claim 10, further comprising triggering and controlling, by a tag array hosted by the graphics cache, of the allocation of the one or more portions of the graphics cache to the one or more threads in response to one or more instructions.

### Claim 14 (depends on 10)

The method of claim 10, further comprising determining a number of the one or more portions to be allocated to each of the one or more threads based at least in part on the determined instantaneous cache bandwidth being consumed from the graphics cache by each of the plurality of threads.

### Claim 15 (depends on 10)

The method of claim 10, wherein the one or more portions of the graphics cache are allocated to the one or more threads in real-time.

### Claim 16

At least one non-transitory machine-readable medium comprising instructions that when executed by a computing device, cause the computing device to perform operations comprising:
detecting a plurality of threads for one or more clients, the threads accessing a graphics cache associated with a graphics processor of one or more processors of the computing device;
monitoring incoming ingress throughput demand for each of the plurality of threads accessing the graphics cache;
measuring an average throughput for each of the plurality of threads over a plurality of windows in a sliding window measurement;
determining an instantaneous cache bandwidth being consumed from the graphics cache by each of the plurality of threads based at least in part upon the average throughput measurement for each of the plurality of threads; and
dynamically allocating one or more portions of the graphics cache to one or more of the plurality of threads in accordance with the determined instantaneous cache bandwidth consumption.

### Claim 17 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein the plurality of threads includes threads for one or more components of the computing device seeking access to the graphics cache for processing of one or more workloads.

### Claim 18 (depends on 17)

The non-transitory machine-readable medium of claim 17, wherein a portion of the one or more portions includes a way of the graphics cache representing a percentage of the graphics cache such that a total of the one or more portions amount to equal to or less than one hundred percent of the graphics cache.

### Claim 19 (depends on 17)

The non-transitory machine-readable medium of claim 17, the operations further comprising triggering and controlling, by a tag array hosted by the graphics cache, of the allocation of the one or more portions of the graphics cache to the one or more threads in response to one or more instructions.

### Claim 20 (depends on 16)

The non-transitory machine-readable medium of claim 16, the operations further comprising determining a number of the one or more portions to be allocated to each of the one or more threads based at least in part on the determined instantaneous cache bandwidth being consumed from the graphics cache by each of the plurality of threads.

### Claim 21 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein the one or more portions of the graphics cache are allocated to the one or more threads in real-time.
