# US 2025/0053514 A1 · Directory-less snoop offload of a higher level cache management agent with snoop fence

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

- Number: US 2025/0053514 A1
- Document ID: US20250053514A1
- Status: Published application
- Kind: A1
- Application number: 18/366,943
- Filed: 2023-08-08
- Published: 2025-02-13
- Earliest claimed: 2023-08-08
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Scot RIDER
- Web page: https://patentgrep.com/patent/US20250053514A1

## CPC

- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0813: with a network or matrix configuration
- G06F 12/0817: using directory methods
- G06F 2212/1024: Latency reduction
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/1048: Scalability
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques and apparatus for maintaining cache coherency in a data processing system are described. An example technique includes receiving a fetch request from a processor of a plurality of processors in a cluster. A local snoop operation is performed for the cluster in response to the fetch request and without involving an upper level cache associated with the cluster. A fetch response is sent to the processor based on the local snoop operation. Another technique includes receiving a fetch request from a processor of a plurality of processors in a cluster. A snoop request is sent to trigger a local snoop operation for the cluster, in response to the fetch request. A snoop response including an indication that at least one processor in the cluster is in an offline state is received in response to the snoop request.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving a fetch request from a first processor of a plurality of processors in a first cluster;
performing a local snoop operation for the first cluster, in response to the fetch request, wherein the local snoop operation is performed without involving an upper level cache associated with the first cluster; and
sending a fetch response to the first processor, based on the local snoop operation.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein performing the local snoop operation comprises:
triggering a snoop controller to (i) send a snoop request to each of the plurality of processors in the first cluster and (ii) receive a snoop response from each of the plurality of processors in the first cluster; and
receiving a single consolidated response from the snoop controller indicating whether one of the processors in the first cluster has a cache line associated with the fetch request.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the fetch response comprises data associated with the cache line when the single consolidated response indicates that one of processors in the first cluster has the cache line.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising upon determining that the local snoop operation has failed:
forwarding the fetch request to an upper level cache associated with the first cluster; and
tagging the fetch request with an identifier corresponding to the first cluster.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a snoop request from an upper level cache associated with a second cluster, wherein the snoop request comprises an identifier corresponding to the first cluster;
in response to the snoop request, performing another local snoop operation for the first cluster; and
sending a snoop response to the upper level cache associated with the second cluster, the snoop response comprising (i) an indication of a processor within the first cluster has a cache line associated with the snoop request and (ii) the cache line.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the identifier corresponding to the first cluster is obtained from a directory within the upper level cache associated with the second cluster.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the upper level cache is a Level 3 (L3) cache.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising:
while performing the local snoop operation, detecting that a second processor within the first cluster has released a cache line associated with the fetch request;
in response to the detection, capturing the cache line; and
returning the cache line to the first processor within the first cluster.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, further comprising writing the cache line to the upper level cache.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein the cache line is written to the upper level cache at a same time that the cache line is returned to the first processor.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving, from a second processor of the plurality of processors in the first cluster, a request to store a cache line; and
in response to receiving the request, sending a write response comprising the cache line to the second processor of the plurality of processors in the first cluster.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, further comprising maintaining ownership of the cache line after sending the write response for a period of time.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein the period of time is based on an amount of time it takes to write the cache line to the upper level cache.

### Claim 14

A system comprising:
a cluster comprising a plurality of processors; and
an upper level cache coupled to the cluster, wherein the cluster further comprises logic configured to perform an operation comprising:
receiving a fetch request from a first processor of the plurality of processors;
performing a local snoop operation for the cluster, in response to the fetch request, wherein the local snoop operation is performed without involving the upper level cache; and
sending a fetch response to the first processor, based on the local snoop operation.

### Claim 15 (depends on 14)

The system of claim 14, wherein:
the cluster further comprises a snoop controller; and
performing the local snoop operation comprises:
triggering the snoop controller to (i) send a snoop request to each of the plurality of processors in the cluster and (ii) receive a snoop response from each of the plurality of processors in the cluster; and
receiving a single consolidated response from the snoop controller indicating whether one of the processors in the cluster has a cache line associated with the fetch request.

### Claim 16 (depends on 15)

The system of claim 15, wherein the fetch response comprises data associated with the cache line when the single consolidated response indicates that one of processors in the cluster has the cache line.

### Claim 17 (depends on 14)

The system of claim 14, wherein the operation further comprises upon determining that the local snoop operation has failed:
forwarding the fetch request to an upper level cache associated with the cluster; and
tagging the fetch request with an identifier corresponding to the cluster.

### Claim 18 (depends on 14)

The system of claim 14, wherein the operation further comprises:
while performing the local snoop operation, detecting that a second processor within the cluster has released a cache line associated with the fetch request;
in response to the detection, capturing the cache line; and
returning the cache line to the first processor within the cluster.

### Claim 19 (depends on 18)

The system of claim 18, wherein the operation further comprises writing the cache line to the upper level cache.

### Claim 20

A computer-implemented method comprising:
receiving a fetch request from a processor of a plurality of processors in a cluster;
sending a snoop request to trigger a local snoop operation for the cluster, in response to the fetch request; and
receiving a snoop response in response to the snoop request, wherein the snoop response comprises an indication that at least one processor in the cluster is in an offline state.
