# US 2018/0322058 A1 · Partial cache coherence

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

- Number: US 2018/0322058 A1
- Document ID: US20180322058A1
- Status: Published application
- Kind: A1
- Application number: 15/589,164
- Filed: 2017-05-08
- Published: 2018-11-08
- Earliest claimed: 2017-05-08
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Jean Tourrilhes; Michael Schlansker
- Web page: https://patentgrep.com/patent/US20180322058A1

## CPC

- G06F 12/0835: {for main memory peripheral accesses (e.g. I/O or DMA)}
- G06F 12/0813: with a network or matrix configuration
- G06F 12/0815: Cache consistency protocols
- G06F 2212/1024: Latency reduction
- G06F 2212/1041: Resource optimization
- G06F 2212/154: Networked environment
- G06F 2212/621: Coherency control relating to peripheral accessing, e.g. from DMA or I/O device
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Examples disclosed herein relate to partial cache coherence. In some examples disclosed herein, a node connected to a memory fabric may include local cache connected to a local processor and a memory coherency proxy to. The memory coherency proxy may configure a portion of a fabric memory on the memory fabric as a proxy backing memory and expose the proxy backing memory to other nodes in the memory fabric as a fictitious local memory on the node, and may implement partial coherency for memory requests directed to the fictitious local memory. The fictitious local memory may have a memory address region different from a memory address region of a native local memory on the node.

## Claims

### Claim 1

A node included in a memory fabric, comprising:
a local cache connected to a local processor; and
a memory coherency proxy to:
configure a portion of a fabric memory on the memory fabric as a proxy backing memory;
expose the proxy backing memory to other nodes in the memory fabric as a fictitious local memory on the node having a memory address region different from a memory address region of a native local memory; and
implement partial coherency for memory requests directed to the fictitious local memory.

### Claim 2 (depends on 1)

The node of claim 1, wherein the memory coherency proxy is to:
translate memory addresses in memory requests directed to the fictitious local memory from memory addresses in the memory address region of the fictitious local memory to memory addresses of the proxy backing memory.

### Claim 3 (depends on 2)

The node of claim 2, wherein the memory coherency proxy is to:
generate memory requests to the proxy backing memory that include the memory addresses of the proxy backing memory; and
provide the generated memory requests to the proxy backing memory over the memory fabric.

### Claim 4 (depends on 1)

The node of claim 1, comprising:
a fabric interface to:
receive a memory request;
determine that the memory request is directed to the memory address region of the fictitious local memory; and
in response to determining that the memory request is directed to the memory address region of the fictitious local memory, provide the memory request to the memory coherency proxy.

### Claim 5 (depends on 4)

The node of claim 4, wherein the memory coherency proxy is to:
satisfy the memory request using the local cache; and
if unable to satisfy the memory request using the local cache, forward the memory request to the proxy backing memory.

### Claim 6 (depends on 5)

The node of claim 5, wherein the memory request is a read request and the memory coherency proxy is to satisfy the read request using the local cache by:
determining that the local cache includes a memory address in the memory address region of the fictitious local memory; and
in response to determining that the local cache includes a memory address in the memory address region of the fictitious local memory, reading contents of the memory address from the local cache.

### Claim 7 (depends on 5)

The node of claim 5, wherein the memory request is a write request and the memory coherency proxy is to satisfy the write request using the local cache by:
determining that the local cache includes a memory address in the memory address region of the fictitious local memory; and
in response to determining that the local cache includes a memory address in the memory address region of the fictitious local memory, updating contents of the memory address in the local cache.

### Claim 8 (depends on 5)

The node of claim 5, wherein the memory request is a write request and the memory coherency proxy is to satisfy the write request using the local cache by:
determining that the local cache includes a memory address in the memory address region of the fictitious local memory; and
in response to determining that the local cache includes a memory address in the memory address region of the fictitious local memory, invalidating contents of the memory address in the local cache.

### Claim 9 (depends on 1)

The node of claim 1, wherein the fabric memory is at least one of a global memory attached to the memory fabric, an extended memory attached to the node via the memory fabric, and a local memory of another node on the fabric.

### Claim 10

A method for partial cache coherence, the method performed by a memory coherency proxy in a node on a memory fabric, the method comprising:
configuring a portion of a fabric memory on the memory fabric as a receive queue;
exposing the receive queue to other nodes in the memory fabric as part of a fictitious local memory on the node;
receiving, from a node on the memory fabric, a request to write a message into the receive queue;
in response to receiving the request, updating cache lines corresponding to the request in a local processor cache on the node; and
based on the received request, translating the received request into a command over the memory fabric to write the message into receive queue.

### Claim 11 (depends on 10)

The method of claim 10, comprising:
receiving, by a local processor of the node, a request to read a message from the receive queue;
issuing a read request on a portion of the receive queue to determine if a new message has been received;
reading from the local processor cache to determine if cache lines corresponding to the received request have been updated;
in response to determining that the cache lines have not been updated, satisfying the request by reading the message from a cached receive queue in the local processor cache.

### Claim 12 (depends on 10)

The method of claim 10, comprising.
receiving, by a local processor of the node, a request to read a message from the receive queue;
determining that a cache update for cache lines in the local processor cache corresponding to the request has occurred since a last read of the receive queue; and
in response to determining that a cache update has occurred, satisfying the request by reading the message from the receive queue.

### Claim 13 (depends on 12)

The method of claim 12, comprising:
satisfying the request from the fictitious local memory with the message read from the receive queue.

### Claim 14 (depends on 8)

The method of claim 8, wherein the request to write the message into the receive queue is a write request with a cache bypass option.

### Claim 15

A node included in a memory fabric, comprising:
a local cache connected to a local processor; and
a memory coherency proxy to:
configure a portion of remote fabric memory on the memory fabric as a proxy backing memory;
expose the proxy backing memory to other nodes in the memory fabric as a fictitious local memory on the node having a memory address region different from a memory address region of a native local memory;
assign a pointer to a sequence of bytes in the fictitious local memory; and
share the pointer with the other nodes in the memory fabric.

### Claim 16 (depends on 15)

The node of claim 15, wherein the memory coherency proxy to:
receive a memory request to access the sequence of bytes from another node in the memory fabric, the memory request including a memory address in the memory address region of the fictitious local memory computed from the pointer.

### Claim 17 (depends on 16)

The node of claim 16, wherein the memory coherency proxy to:
attempt to satisfy the memory request to access the sequence of bytes using the local cache by determining whether the local cache includes a copy of the memory address included in memory request.

### Claim 18 (depends on 17)

The node of claim 17, wherein the memory coherency proxy to:
in response to being unable to satisfy the memory request using the local cache, compute a memory address in the proxy backing memory from the memory address in the memory address region of the fictitious local memory included in the memory request.

### Claim 19 (depends on 18)

The node of claim 18, wherein the memory coherency proxy to:
modify the memory request by;
replacing the memory address included the memory request with the computed memory address in the proxy backing memory; and
replacing a source address of the other node in the memory request with a source address of the node; and
issue the modified memory request to the proxy backing memory over the memory fabric.

### Claim 20 (depends on 18)

The node of claim 18, wherein the memory coherency proxy to compute the memory address in the proxy backing memory by adding or subtracting a constant offset from the memory address in the memory address region of the fictitious local memory included in the memory request.
