# US 2018/0322057 A1 · Computing In Parallel Processing Environments

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

- Number: US 2018/0322057 A1
- Document ID: US20180322057A1
- Status: Published application
- Kind: A1
- Application number: 15/584,327
- Filed: 2017-05-02
- Published: 2018-11-08
- Earliest claimed: 2017-05-02
- Assignees: Mellanox Technologies, Ltd.
- Applicants: Mellanox Technologies Ltd.
- Inventors: Mark Rosenbluth
- Web page: https://patentgrep.com/patent/US20180322057A1

## CPC

- G06F 15/80: comprising an array of processing units with common control, e.g. single instruction multiple data processors (G06F15/82 takes precedence {; for correlation function computation G06F17/15})
- G06F 12/0813: with a network or matrix configuration
- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F 15/76: Architectures of general purpose stored program computers (with program plugboard G06F15/08; multicomputers G06F15/16)
- G06F 2212/1016: Performance improvement
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computing system comprises one or more cores. Each core comprises a processor. In some implementations, each processor is coupled to a communication network among the cores. In some implementations, a switch in each core includes switching circuitry to forward data received over data paths from other cores to the processor and to switches of other cores, and to forward data received from the processor to switches of other cores. Also disclosed is a cache coherency protocol that includes both an “Owned” state and a Forward state together with protocol mechanism for handling various memory requests.

## Claims

### Claim 1

A system comprises:
a multicore processor device including:
a plurality of cores, with multiple ones of the plurality of cores each comprising
a processor; and
switching circuitry configured to couple the processor to a network among the plurality of cores; the system further comprising:
a directory that tracks status of cached lines;
a cache controller for implementing a cache coherency, with the cache controller configured to:
receive by the directory a read request from a reader device to read a cache line;
change in the directory a first state of the requested cache line to a forward state; and
supply the requested read cached line with an owned state to the requesting reader device.

### Claim 2 (depends on 1)

The system of claim 1 wherein when the directory supplies the reader device with the cache line in the owned state, the owned state requires that the reader device cannot silently drop the cache line.

### Claim 3 (depends on 1)

The system of claim 1 wherein a cache controller that has the owned cache line is responsible for updating the owned cached line to memory.

### Claim 4 (depends on 1)

The system of claim 1 wherein the cache controller is a first cache controller, further comprising:
a second cache controller that has the cache line with the owned state updates main memory with the cache line in the owned state.

### Claim 5 (depends on 2)

The system of claim 2 wherein the directory tracks six states for cache coherence, with the six states being a modified state, the owned state, an exclusive state, a shared state, an invalid state and the forward state.

### Claim 6 (depends on 1)

The system of claim 1, further configured to:
receive a request for the cached line from a second, different reader device;
cause a snooping request to be sent to the reader device that holds the copy of the cache line with the state F, with the request being to supply the cache line to the second different reader device with a shared state.

### Claim 7 (depends on 1)

The system of claim 1, further configured to:
receive a request for the cached line from a second, different reader device;
evict from the cache that stores the cache line that was given in the O state;
cause a cache write-back of the cache line to the directory.

### Claim 8 (depends on 7)

The system of claim 7 wherein the directory upon receiving the write back of the cache line, drops the write back request.

### Claim 9 (depends on 1)

The system of claim 1 wherein the directory implements the Forward state with configuration options.

### Claim 10 (depends on 9)

The system of claim 9 wherein the configuration options are disable, install the forward state on a cache miss or install the forward state on a cache hit.

### Claim 11 (depends on 9)

The system of claim 9 wherein the configuration options are independently configurable for I-stream and D-stream accesses.

### Claim 12 (depends on 7)

The system of claim 7 wherein the directory implements the Forward state with configuration options, and according to the configuration options configured for the cache line, when the cache line is evicted from the cache, the cache line is either dropped at the directory or written to memory based on the configuration option.

### Claim 13 (depends on 1)

The system of claim 1 wherein when the cache line has the F state, the system is further configured to:
tag the cache line as an F state cache line, in an L3 cache, when the cache line with the F state is written to memory.

### Claim 14 (depends on 13)

The system of claim 13 wherein the system includes three cache levels, with a L2 level being caches associated with each core of the multicore system levels, and an L3 cache being a next level.

### Claim 15 (depends on 14)

The system of claim 14 wherein the L3 cache is configured to determine to:
either allocate the cache line or not, based on configuration settings;
if the cache line is allocated, the cache line is marked as clean so that it does not need to be written to DRAM upon eviction from L3 cache.

### Claim 16

A method of implementing cache coherency in a computing system, the method comprising:
receiving by a directory in the system, a read request from a reader device to read a cache line;
changing in the directory a first state of the requested cache line to a forward state; and
supplying the read cached line with an owned state to the requesting reader device.

### Claim 17 (depends on 16)

The method of claim 16 wherein when the directory supplies the reader device with the cache line in the owned state, the owned state requires that the reader device cannot silently drop the cache line and a cache controller that has the owned cache line is responsible for updating the owned cached line to memory.

### Claim 18 (depends on 16)

The method of claim 16 wherein the directory tracks six states for cache coherence, with the six states being a modified state, the owned state, an exclusive state, a shared state, an invalid state and the forward state.

### Claim 19

A computer program product tangible stored in a computer readable, hardware storage device, the product for configuring a cache controller to maintain cache coherency in a system including plural level 2 caches and a multicore processor device, the computer program product comprising instructions to cause a processor to:
receive by a directory a read request from a reader device to read a cache line from;
change in the directory a first state of the requested cache line to a forward state; and
supply the requested read cached line with an owned state to the requesting reader device.

### Claim 20 (depends on 19)

The computer program product of claim 19 wherein the directory tracks six states for cache coherence, with the six states being a modified state, the owned state, an exclusive state, a shared state, an invalid state and the forward state.
