# US 11,119,855 B2 · Selectively storing parity data in different types of memory

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

- Number: US 11,119,855 B2
- Document ID: US11119855B2
- Status: Granted
- Kind: B2
- Application number: 16/663,196
- Filed: 2019-10-24
- Published: 2021-04-29
- Granted: 2021-09-14
- Earliest claimed: 2019-10-24
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Nikolas Ioannou; Timothy Fisher; Roman Alexander Pletka; Nikolaos Papandreou; Radu Ioan Stoica; Sasa Tomic; Aaron Daniel Fry
- Web page: https://patentgrep.com/patent/US11119855B2

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/1008: {in individual solid state devices (G06F11/1004 takes precedence)}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 12/0238: {Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 13/1694: {Configuration of memory controller to different memory types}
- G06F 12/0871: Allocation or management of cache space
- G06F 2212/1016: Performance improvement
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/222: Non-volatile memory
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method, according to one embodiment, is for selectively storing parity data in different types of memory which include a higher performance memory and a lower performance memory. The computer-implemented method includes: receiving a write request, and determining whether the write request includes parity data. In response to determining that the write request includes parity data, a determination is made as to whether a write heat of the parity data is in a predetermined range. In response to determining that that write heat of the parity data is in the predetermined range, another determination is made as to whether the parity data has been read since a last time the parity data was updated. Furthermore, in response to determining that the parity data has been read since a last time the parity data was updated, the parity data is stored in the higher performance memory.

## Claims

### Claim 1

A computer-implemented method for selectively storing parity data in different types of memory, comprising:
receiving a write request;
determining whether the write request includes parity data;
in response to determining that the write request includes parity data, determining whether a write heat of the parity data is in a predetermined range;
in response to determining that that write heat of the parity data is in the predetermined range, determining whether the parity data has been read since a last time the parity data was updated; and
in response to determining that the parity data has been read since a last time the parity data was updated, storing the parity data in higher performance memory,
wherein the different types of memory include the higher performance memory and a lower performance memory.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, comprising:
in response to determining that that write heat of the parity data is not in the predetermined range, storing the parity data in the lower performance memory.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, comprising:
in response to determining that the parity data has not been read since a last time the parity data was updated, storing the parity data in the lower performance memory.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the higher performance memory includes pages in non-volatile random access memory (NVRAM) that are configured in single-level cell (SLC) mode, wherein the lower performance memory includes pages in NVRAM that are configured in multi-bit-per-cell mode.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the blocks configured in multi-bit-per-cell mode are configured in a multi-bit-per-cell mode selected from the group consisting of: triple-level cell (TLC) mode, quad-level cell (QLC) mode, and penta-level cell (PLC) mode.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the higher performance memory includes lower pages and upper pages in three dimensional (3D) quad-level cell (QLC) NAND Flash, wherein the lower performance memory includes extra pages and top pages in 3D QLC NAND Flash.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the parity data is stored in the higher performance memory as a part of a Redundant Array of Independent Disks (RAID) stripe.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the write request is part of a partial RAID stripe update.

### Claim 9

A computer program product for selectively storing parity data in different types of memory, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable and/or executable by a processor to cause the processor to:
receive, by the processor, a write request;
determine, by the processor, whether the write request includes parity data;
in response to determining that the write request includes parity data, determine, by the processor, whether a write heat of the parity data is in a predetermined range;
in response to determining that that write heat of the parity data is in the predetermined range, determine, by the processor, whether the parity data has been read since a last time the parity data was updated; and
in response to determining that the parity data has been read since a last time the parity data was updated, store, by the processor, the parity data in higher performance memory,
wherein the different types of memory include the higher performance memory and a lower performance memory.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein the program instructions are readable and/or executable by the processor to cause the processor to:
in response to determining that that write heat of the parity data is not in the predetermined range, store, by the processor, the parity data in the lower performance memory.

### Claim 11 (depends on 9)

The computer program product of claim 9, wherein the program instructions are readable and/or executable by the processor to cause the processor to:
in response to determining that the parity data has not been read since a last time the parity data was updated, store, by the processor, the parity data in the lower performance memory.

### Claim 12 (depends on 9)

The computer program product of claim 9, wherein the higher performance memory includes pages in non-volatile random access memory (NVRAM) that are configured in single-level cell (SLC) mode, wherein the lower performance memory includes pages in NVRAM that are configured in multi-bit-per-cell mode.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the blocks configured in multi-bit-per-cell mode are configured in a multi-bit-per-cell mode selected from the group consisting of: triple-level cell (TLC) mode, quad-level cell (QLC) mode, and penta-level cell (PLC) mode.

### Claim 14 (depends on 9)

The computer program product of claim 9, wherein the higher performance memory includes lower pages and upper pages in three dimensional (3D) quad-level cell (QLC) NAND Flash, wherein the lower performance memory includes extra pages and top pages in 3D QLC NAND Flash.

### Claim 15 (depends on 9)

The computer program product of claim 9, wherein the parity data is stored in the higher performance memory as a part of a Redundant Array of Independent Disks (RAID) stripe.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the write request is part of a partial RAID stripe update.

### Claim 17

A system, comprising:
a plurality of non-volatile random access memory (NVRAM) blocks configured to store data; and
a processor; and
logic integrated with and/or executable by the processor for selectively storing parity data in different types of memory, the logic being configured to:
receive, by the processor, a write request;
determine, by the processor, whether the write request includes parity data;
in response to determining that the write request includes parity data, determine, by the processor, whether a write heat of the parity data is in a predetermined range;
in response to determining that that write heat of the parity data is in the predetermined range, determine, by the processor, whether the parity data has been read since a last time the parity data was updated; and
in response to determining that the parity data has been read since a last time the parity data was updated, store, by the processor, the parity data in higher performance memory,
wherein the different types of memory include the higher performance memory and a lower performance memory.

### Claim 18 (depends on 17)

The system of claim 17, wherein the program instructions are readable and/or executable by the processor to cause the processor to:
in response to determining that that write heat of the parity data is not in the predetermined range, store, by the processor, the parity data in the lower performance memory; and
in response to determining that the parity data has not been read since a last time the parity data was updated, store, by the processor, the parity data in the lower performance memory.

### Claim 19 (depends on 17)

The system of claim 17, wherein the higher performance memory includes lower pages and upper pages in three dimensional (3D) quad-level cell (QLC) NAND Flash, wherein the lower performance memory includes extra pages and top pages in 3D QLC NAND Flash.

### Claim 20 (depends on 17)

The system of claim 17, wherein the parity data is stored in the higher performance memory as a part of a Redundant Array of Independent Disks (RAID) stripe, wherein the write request is part of a partial RAID stripe update.
