# US 2024/0004795 A1 · Fault tolerance and coherence for shared memory

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

- Number: US 2024/0004795 A1
- Document ID: US20240004795A1
- Status: Published application
- Kind: A1
- Application number: 17/853,752
- Filed: 2022-06-29
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Dejan Vucinic; Jaco Hofmann; Paul Loewenstein; Huynh Tu Dang; Marjan Radi
- Web page: https://patentgrep.com/patent/US20240004795A1

## CPC

- G06F 12/0813: with a network or matrix configuration
- G06F 12/0824: {Distributed directories, e.g. linked lists of caches}
- G06F 11/10: Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F 11/14: Error detection or correction of the data by redundancy in operations (error detection or correction of the data by redundancy in hardware G06F11/16)
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 12/0837: with software control, e.g. non-cacheable data
- G06F 12/084: with a shared cache
- G06F 15/167: using a common memory, e.g. mailbox
- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G06F 12/10: Address translation
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/1048: Scalability
- G06F 2212/154: Networked environment
- G06F 2212/254: Distributed memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system includes at least one memory controller that partitions at least one memory into a plurality of nodes. Blast zones are formed that each include a predetermined number of nodes. Cache lines are erasure encoded to be stored in one or more blast zones with at least two nodes in a blast zone storing respective portions of a cache line and at least one node in the blast zone storing a parity portion. In one aspect, it is determined that data stored in one or more nodes of a blast zone needs to be reconstructed and stored in one or more spare nodes designated to replace the one or more nodes. Erasure decoding is performed using data from one or more other nodes in the blast zone to reconstruct the data for storage in the one or more spare nodes.

## Claims

### Claim 1

A system, comprising:
at least one memory configured to store cache lines; and
one or more memory controllers, individually or in combination, configured to:
partition the at least one memory into a plurality of nodes;
form a plurality of blast zones that each include a predetermined number of nodes from the plurality of nodes, wherein performance of memory requests is serialized in each blast zone of the plurality of blast zones; and
store erasure encoded cache lines in one or more blast zones such that at least two nodes in a blast zone store respective portions of a cache line and at least one node in the blast zone stores a parity portion of the cache line.

### Claim 2 (depends on 1)

The system of claim 1, wherein the blast zone is sized based at least in part on a time to read data from or write data to an entire capacity of the blast zone.

### Claim 3 (depends on 1)

The system of claim 1, further comprising at least one cache controller configured to erasure encode cache lines to be stored in the one or more blast zones;
wherein a memory controller of the at least one memory controller is further configured to determine that data stored in one or more nodes of a first blast zone of the plurality of blast zones needs to be reconstructed and stored in one or more spare nodes of the plurality of nodes; and
wherein the at least one cache controller is further configured to:
perform erasure decoding using data stored in one or more other nodes in the blast zone to reconstruct the data stored in the one or more nodes; and
store the reconstructed data in the one or more spare nodes.

### Claim 4 (depends on 3)

The system of claim 3, wherein the memory controller is further configured to determine that the data stored in the one or more nodes needs to be reconstructed and stored in the one or more spare nodes based on at least one of a usable life expectancy for the one or more nodes and a failure indication from attempting to access data stored in the one or more nodes.

### Claim 5 (depends on 3)

The system of claim 3, wherein the memory controller is further configured to:
receive, from the at least one cache controller, one or more memory requests to access data stored in the one or more nodes; and
in response to receiving the one or more memory requests, assign the at least one cache controller to reconstruct the data stored in the one or more nodes.

### Claim 6 (depends on 1)

The system of claim 1, wherein a memory controller of the at least one memory controller is further configured to:
defer performance of a new memory request received from a cache to access data in the blast zone in response to determining that data stored in one or more nodes of the blast zone needs to be reconstructed and stored in one or more spare nodes of the plurality of nodes; and
resume the performance of the deferred memory request in the blast zone in response to completion of storing the reconstructed data in the one or more spare nodes.

### Claim 7 (depends on 1)

The system of claim 1, wherein a memory controller of the at least one memory controller is further configured to send invalidation messages for data stored in one or more nodes of the blast zone to the at least one cache controller in response to determining that data stored in one or more nodes of the blast zone needs to be reconstructed and stored in one or more spare nodes of the plurality of nodes.

### Claim 8 (depends on 1)

The system of claim 1, wherein a node of the blast zone is a Lowest Point of Coherence (LPC) for the cache lines stored in the blast zone by tracking a state of each cache line stored in the blast zone.

### Claim 9 (depends on 1)

The system of claim 1, wherein the at least one memory controller is further configured to map subsets of the plurality of nodes to respective blast zones of the plurality of blast zones to form the plurality of blast zones.

### Claim 10 (depends on 1)

The system of claim 1, further comprising at least one cache controller configured to determine whether data received from a node of the blast zone for erasure decoding the cache line is valid by comparing a version number for the received data with another version number for other data received from another node of the blast zone for erasure decoding the cache line.

### Claim 11

A method, comprising:
determining that data stored in one or more nodes of a blast zone in at least one memory needs to be reconstructed and stored in one or more spare nodes of the at least one memory, wherein the blast zone has a predetermined memory capacity and includes a number of nodes;
designating the one or more spare nodes of the at least one memory to replace the one or more nodes of the blast zone;
performing erasure decoding using data stored in one or more other nodes in the blast zone to reconstruct the data stored in the one or more nodes; and
storing the reconstructed data in the one or more spare nodes.

### Claim 12 (depends on 11)

The method of claim 11, wherein at least two nodes in the blast zone store respective portions of a cache line and at least one node in the blast zone stores a parity portion of the cache line.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
deferring performance of a new memory request received from a cache to access data in the blast zone in response to determining that the data stored in the one or more nodes of the blast zone needs to be reconstructed and stored in the one or more spare nodes; and
resuming the performance of the deferred memory request in the blast zone in response to completion of storing the reconstructed data in the one or more spare nodes.

### Claim 14 (depends on 11)

The method of claim 11, further comprising determining that the data stored in the one or more nodes needs to be reconstructed and stored in the one or more spare nodes based on at least one of a usable life expectancy for the one or more nodes and a failure indication from attempting to access data stored in the one or more nodes.

### Claim 15 (depends on 11)

The method of claim 11, wherein the erasure decoding is performed by at least one cache controller attempting to access data stored in the one or more nodes.

### Claim 16 (depends on 11)

The method of claim 11, wherein a node of the blast zone is a Lowest Point of Coherence (LPC) for the cache lines stored in the blast zone by tracking a state of each cache line stored in the blast zone.

### Claim 17 (depends on 11)

The method of claim 11, further comprising changing a mapping of addresses for the data from the one or more nodes to the one or more spare nodes.

### Claim 18 (depends on 11)

The method of claim 11, wherein the blast zone is sized based at least in part on a time to read data from or write data to an entire capacity of the blast zone.

### Claim 19 (depends on 11)

The method of claim 11, further comprising determining whether data received from a node of the blast zone for erasure decoding a cache line is valid by comparing a version number for the received data with another version number for other data received from another node of the blast zone for erasure decoding the cache line.

### Claim 20

A system, comprising:
at least one memory configured to store cache lines; and
means for:
partitioning the at least one memory into a plurality of nodes;
forming a plurality of blast zones that each include a predetermined number of nodes from the plurality of nodes, wherein performance of memory requests is serialized in each blast zone of the plurality of blast zones; and
storing erasure encoded cache lines in one or more blast zones of the plurality of blast zones such that at least two nodes in a blast zone store respective portions of a cache line and at least one node in the blast zone stores a parity portion of the cache line.
