# US 2019/0377500 A1 · Adaptive line width cache systems and methods

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

- Number: US 2019/0377500 A1
- Document ID: US20190377500A1
- Status: Published application
- Kind: A1
- Application number: 16/053,569
- Filed: 2018-08-02
- Published: 2019-12-12
- Earliest claimed: 2018-06-07
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Richard C. Murphy; Anton Korzh; Stephen S. Pawlowski
- Web page: https://patentgrep.com/patent/US20190377500A1

## CPC

- G06F 3/0611: {in relation to response time}
- G06F 3/0634: {by changing the state or mode of one or more devices}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0658: {Controller construction arrangements}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0815: Cache consistency protocols
- G06F 2212/1024: Latency reduction
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/601: Reconfiguration of cache memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure techniques for implementing a computing system that includes a processing sub-system, a memory sub-system, and one or more memory controllers. The processing sub-system includes processing circuitry that performs an operation based on a target data block and a processor-side cache coupled between the processing circuitry and a system bus. The memory sub-system includes a memory that stores data blocks in a memory array and a memory-side caches coupled between the memory channel and the system bus. The one or more memory controllers control caching in the processor-side cache based at least in part on temporal relationship between previous data block targeting by the processing circuitry and control caching in memory-side cache based at least in part on spatial relationship between data block storage locations in the memory channel.

## Claims

### Claim 1

A computing system comprising:
a processing sub-system coupled to a system bus, wherein the processing sub-system comprises:
processing circuitry configured to perform an operation based on a target data block; and
one or more processor-side caches coupled between the processing circuitry and the system bus; and
a memory sub-system coupled to the processing sub-system via the system bus, wherein the memory sub-system comprises:
a first memory channel configured to store a first plurality of data blocks in a first memory array; and
one or more memory-side caches coupled between the first memory channel and the system bus; and
one or more memory controllers configured to:
control caching in the one or more processor-side caches based at least in part on temporal relationship between previous data block targeting by the processing circuitry; and
control caching in the one or more memory-side caches based at least in part on spatial relationship between data block storage locations in the first memory channel.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein:
the one or more processor-side caches comprise a first cache coupled to a coherency data bus, wherein first cache is configured to implement cache lines with a first line width; and
the one or more memory-side caches comprise a second cache coupled to the coherency data bus, wherein the second cache is configured to implement cache lines with a second line width that greater than or equal to an integer multiple of the first line width.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein:
the one or more processor-side caches are configured to implement cache lines with a line width; and
the one or more memory controllers are configured to adaptively adjust the line width of the caches lines implemented in the one or more processor-side caches based at least in part on an application that resulted in the processing circuitry targeting the target data block, the operation to be performed by the processing circuitry based on the target data block, or both.

### Claim 4 (depends on 1)

The computing system of claim 1, wherein:
the processing circuitry comprises a first processor core and a second processor core; and
the one or more processor-side caches comprise:
a shared processor cache coupled to a coherency data bus, wherein the shared processor cache is configured to implement cache lines with a first line width;
a first private processor cache coupled between the first processor core and the shared processor cache; and
a second private processor cache coupled between the second processor core and the shared processor cache.

### Claim 5 (depends on 4)

The computing system of claim 4, wherein one or more memory-side caches comprise a shared memory cache coupled to the coherency data bus, wherein the shared memory cache is configured to implement cache lines with a second line width that is an integer multiple of the first line width implemented by the shared processor cache.

### Claim 6 (depends on 1)

The computing system of claim 1, wherein:
the processing circuitry is configured to identify the target data block via a virtual memory address;
the one or more memory controllers are configured to determine whether the target data block results in a processor-side cache miss based at least in part on the virtual memory address; and
the processing sub-system is configured to, when the target data block results in the processor-side cache miss:
receive a first cache line comprising the target data block from the memory sub-system;
store the target data block in a second cache line implemented in the one or more processor-side caches; and
output the second cache line from the one or more processor-side caches to the processing circuitry.

### Claim 7 (depends on 6)

The computing system of claim 6, wherein:
the processing circuitry is configured to target another data block in a same memory cell row of the first memory array as the target data block; and
the processing sub-system is configured to, when the other data block results in the processor-side cache miss:
receive the first cache line comprising the target data block and the other data block from the memory sub-system;
store the other data block in a third cache line implemented in the one or more processor-side caches; and
output the third cache line from the one or more processor-side caches to the processing circuitry.

### Claim 8 (depends on 6)

The computing system of claim 6, wherein, when the target data block results in the processor-side cache miss, the processing sub-system is configured to:
receive the first cache line comprising the target data block, wherein the first cache line is implemented with a first line width; and
store the target data block in the second cache line, wherein the second cache line is implemented with a second line width smaller than the first line width implemented in the first cache line.

### Claim 9 (depends on 1)

The computing system of claim 1, comprising:
a client device configured to request performance of the operation by the computing system; and
a host device communicatively coupled to the client device via a communication network, wherein the host device comprises the processing sub-system and the memory sub-system.

### Claim 10 (depends on 1)

The computing system of claim 1, wherein the computing system comprises a desktop computer, a workstation computer, a laptop computer, a server, a mobile phone, or a virtual-reality headset.

### Claim 11

A method for controlling data storage in hierarchical caches implemented between a memory array and processing circuitry, comprising:
identifying a first data block that is targeted by the processing circuitry; and
when the first data block results in a processor-side cache miss:
receiving a first cache line comprising the first data block from a first cache of the hierarchical caches, wherein the first cache line is implemented with a first cache line width;
storing the first data block in a second cache line implemented in a second cache of the hierarchical caches, wherein the second cache line is implemented with a second cache line width smaller than the first cache line width of the first cache line; and
outputting the second cache line comprising the first data block from the second cache to enable the processing circuitry to begin processing the first data block.

### Claim 12 (depends on 11)

The method of claim 11, wherein receiving the first cache line comprises receiving the first data block and a second data block stored in a same memory cell row of the memory array as the first data block.

### Claim 13 (depends on 12)

The method of claim 12, comprising:
storing the second data block in a third cache line implemented in the hierarchical caches, wherein the third cache line is implemented with the second cache line width; and
outputting the third cache line comprising the third data block from the hierarchical caches when the processing circuitry targets the second data block.

### Claim 14 (depends on 11)

The method of claim 11, comprising:
identifying an application that resulted in the processing circuitry targeting the first data block; and
adaptively adjusting the second cache line width implemented in the second cache based at least in part on the application that resulted in the processing circuitry targeting the first data block.

### Claim 15 (depends on 11)

The method of claim 11, comprising:
determining an operation to be performed by the processing circuitry based on the first data block; and
adaptively adjusting the second cache line width implemented in the second cache based at least in part on the application that resulted in the processing circuitry targeting the first data block.

### Claim 16

An apparatus comprising a processor, wherein the processor comprises:
processing circuitry configured to perform an operation based at least in part on a first data block;
one or more processor-side caches integrated with the processing circuitry; and
a processor-side memory controller integrated with the processing circuitry and the one or more processor-side caches, wherein the processor-side memory controller is configured to:
determine whether the first data block is currently cached in the one or more processor-side caches; and
when the first data block is not currently cached in the one or more processor-side caches:
instruct the one or more processor-side caches to store the first data block received via a memory-side cache line in a first processor-side cache line implemented with a line width less than the memory-side cache line; and
instruct the one or more processor-side caches to output the first processor-side cache line comprising the first data block to enable the processing circuitry to begin performing the operation based at least in part on the first data block.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein, when the memory-side cache line comprises a second data block, the processor-side memory controller is configured to:
instruct the one or more processor-side caches to store the second data block in a second processor-side cache line implemented with the line width less than the memory-side cache line; and
instruct the one or more processor-side caches to output the second processor-side cache line comprising the second data block when the processing circuitry subsequently targets the second data block.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein:
the processing circuitry comprises a first processor core and a second processor core; and
the one or more processor-side caches comprise:
a shared processor cache coupled to a coherency data bus;
a first private processor cache coupled between the first processor core and the shared processor cache; and
a second private processor cache coupled between the second processor core and the shared processor cache.

### Claim 19 (depends on 16)

The apparatus of claim 16, comprising a memory module communicatively coupled to the processor via one or more data bus, wherein the memory module comprises:
a memory array;
one or more memory-side caches communicatively coupled between the memory array and the one or more data bus; and
a memory-side memory controller communicatively coupled to the memory array and the one or more memory-side caches, wherein:
the processor-side memory controller is configured to control caching in the one or more processor-side caches based at least in part on temporal relationship between previous data block targeting by the processing circuitry; and
the memory-side memory controller is configured to control caching in the one or more memory-side caches based at least in part on spatial relationship between data block storage locations in the first memory channel.

### Claim 20 (depends on 16)

The apparatus of claim 16, wherein the processor-side memory controller is configured to:
identify an application that resulted in the processing circuitry targeting the first data block; and
adaptively instruct the one or more processor-side caches to adjust the line width of the first processor-side cache line based at least in part on the application that resulted in the processing circuitry targeting the first data block.

### Claim 21 (depends on 16)

The apparatus of claim 16, wherein the processor-side memory controller is configured to:
identify the operation to be performed by the processing circuitry based on the first data block; and
adaptively instruct the one or more processor-side caches to adjust the line width of the first processor-side cache line based at least in part on the application that resulted in the processing circuitry targeting the first data block.

### Claim 22

A tangible, non-transitory, computer-readable medium storing instructions executable by one or more processors or a computing system, wherein the instruction comprise instructions to:
determine, using the one or more processors, a target data block to be used by the one or more processors to perform an operation;
determine, using the one or more processors, a first storage location of the target data block in a memory array; and
control, using the one or more processors, storage of the target data block and another data block in a plurality of caches hierarchically organized between the memory array and the one or more processors based at least in part on spatial relationship between the first storage location of the target data block and a second storage location of the other data block in the memory array.

### Claim 23 (depends on 20)

The tangible, non-transitory, computer-readable medium of claim 20, wherein the instructions to control storage of the target data block and the other data block in the plurality of caches comprise instructions to:
predict when the other data block will subsequently be targeted based at least in part on when the target data block was most recently targeted, the spatial relationship between the first storage location of the target data block and the second storage location of the other data block, or both; and
instruct the computing system to store the other data block in one or more of the plurality of caches before the other data block is expected to be subsequently targeted.
