# US 2020/0393972 A1 · Wear-aware block mode conversion in non-volatile memory

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

- Number: US 2020/0393972 A1
- Document ID: US20200393972A1
- Status: Published application
- Kind: A1
- Application number: 16/439,122
- Filed: 2019-06-12
- Published: 2020-12-17
- Earliest claimed: 2019-06-12
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Sasa Tomic; Roman Alexander Pletka; Nikolas Ioannou; Nikolaos Papandreou; Aaron D. Fry; Timothy Fisher; Radu Ioan Stoica
- Web page: https://patentgrep.com/patent/US20200393972A1

## CPC

- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/064: {Management of blocks}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- G11C 11/5642: {Sensing or reading circuits; Data output circuits}
- G11C 16/16: for erasing blocks, e.g. arrays, words, groups
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G11C 16/3495: {Circuits or methods to detect or delay wearout of nonvolatile EPROM or EEPROM memory devices, e.g. by counting numbers of erase or reprogram cycles, by using multiple memory areas serially or cyclically}
- G06F 2212/1016: Performance improvement
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- 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 2212/7211: Wear leveling
- G11C 2211/5641: Multilevel memory having cells with different number of storage levels
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A non-volatile memory includes a plurality of physical blocks of storage each including a respective plurality of cells, where each of the plurality of cells is individually capable of storing multiple bits of data. A controller assigns physical blocks among the plurality of physical blocks to a first pool containing physical blocks operating in a first (e.g., QLC) mode for storing a greater number of bits per cell and assigns other physical blocks among the plurality of physical blocks to a second pool containing physical blocks operating in a second (e.g., SLC) mode for storing a lesser number of bits per cell. The controller transfers physical blocks between the first pool and the second pool based on at least bit error rates measured for the transferred physical blocks.

## Claims

### Claim 1

A method of operating a non-volatile memory including a plurality of physical blocks of storage each including a respective plurality of cells, wherein each of the plurality of cells is individually capable of storing multiple bits of data, the method comprising:
a controller assigning physical blocks among the plurality of physical blocks to a first pool containing physical blocks operating in a first mode for storing a greater number of bits per cell and assigning other physical blocks among the plurality of physical blocks to a second pool containing physical blocks operating in a second mode for storing a lesser number of bits per cell; and
the controller transferring physical blocks between the first pool and the second pool based on at least bit error rates measured for the transferred physical blocks.

### Claim 2 (depends on 1)

The method of claim 1, wherein the transferring includes:
transferring, from the first pool to the second pool, physical blocks having a higher bit error rate; and
transferring, from the second pool to the first pool, physical blocks having a lower bit error rate.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the method further comprises:
for each of the first and second pools:
tracking the number of physical blocks allocated to store data for each of a plurality of write streams of differing write heats and the number of program/erase (P/E) cycles in each of the plurality of write streams; and
for each of the plurality of write streams, calculating a respective stream wear metric based on the number of physical blocks assigned to the write stream and an aggregate number of P/E cycles of the physical blocks assigned to the write stream; and
the transferring includes selecting physical blocks for transfer based on (1) a selected write stream among the plurality of write streams, (2) the stream wear metric of the selected write stream, and (3) block health of physical blocks allocated to store data for the selected write stream.

### Claim 4 (depends on 3)

The method of claim 3, and further comprising the controller determining block health of physical blocks in all of the plurality of write streams from a bit error rate measured shortly after programming the physical blocks.

### Claim 5 (depends on 3)

The method of claim 3, wherein the selecting includes:
based on the selected write stream having a stream wear metric reflecting a greatest wear among all of the plurality of write streams, selecting, for transfer, healthiest physical blocks from among the physical blocks allocated to the selected write stream; and
based on the selected write stream having a stream wear metric reflecting a least wear among all of the plurality of write streams, selecting, for transfer, least healthy physical blocks from among the physical blocks allocated to the selected write stream.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the first mode is a quad level cell (QLC) mode; and
the second mode is a single level cell (SLC) mode.

### Claim 7 (depends on 1)

The method of claim 1, wherein the transferring comprises transferring the physical blocks based on an available number of unprogrammed physical blocks from a given one of the first and second pools not satisfying a threshold.

### Claim 8

A data storage system, comprising:
a controller for a non-volatile memory including a plurality of physical blocks of storage each including a respective plurality of cells, wherein each of the plurality of cells is individually capable of storing multiple bits of data, wherein the controller is configured to perform:
assigning physical blocks among the plurality of physical blocks to a first pool containing physical blocks operating in a first mode for storing a greater number of bits per cell and assigning other physical blocks among the plurality of physical blocks to a second pool containing physical blocks operating in a second mode for storing a lesser number of bits per cell; and
transferring physical blocks between the first pool and the second pool based on at least bit error rates measured for the transferred physical blocks.

### Claim 9 (depends on 8)

The data storage system of claim 8, wherein the transferring includes:
transferring, from the first pool to the second pool, physical blocks having a higher bit error rate; and
transferring, from the second pool to the first pool, physical blocks having a lower bit error rate.

### Claim 10 (depends on 8)

The data storage system of claim 8, wherein:
the controller is further configured to perform:
for each of the first and second pools:
tracking the number of physical blocks allocated to store data for each of a plurality of write streams of differing write heats and the number of program/erase (P/E) cycles in each of the plurality of write streams; and
for each of the plurality of write streams, calculating a respective stream wear metric based on the number of physical blocks assigned to the write stream and an aggregate number of P/E cycles of the physical blocks assigned to the write stream; and
the transferring includes selecting physical blocks for transfer based on (1) a selected write stream among the plurality of write streams, (2) the stream wear metric of the selected write stream, and (3) block health of physical blocks allocated to store data for the selected write stream.

### Claim 11 (depends on 10)

The data storage system of claim 10, wherein the controller is further configured to perform:
determining block health of physical blocks in all of the plurality of write streams from a bit error rate measured shortly after programming the physical blocks.

### Claim 12 (depends on 10)

The data storage system of claim 10, wherein the selecting includes:
based on the selected write stream having a stream wear metric reflecting a greatest wear among all of the plurality of write streams, selecting, for transfer, healthiest physical blocks from among the physical blocks allocated to the selected write stream; and
based on the selected write stream having a stream wear metric reflecting a least wear among all of the plurality of write streams, selecting, for transfer, least healthy physical blocks from among the physical blocks allocated to the selected write stream.

### Claim 13 (depends on 8)

The data storage system of claim 8, wherein:
the first mode is a quad level cell (QLC) mode; and
the second mode is a single level cell (SLC) mode.

### Claim 14 (depends on 8)

The data storage system of claim 8, wherein the transferring comprises transferring the physical blocks based on an available number of unprogrammed physical blocks from a given one of the first and second pools not satisfying a threshold.

### Claim 15

A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions being executable by a controller of a non-volatile memory including a plurality of cells each individually capable of storing multiple bits of data, wherein, when executed, the program instructions cause the controller to perform:
assigning physical blocks among the plurality of physical blocks to a first pool containing physical blocks operating in a first mode for storing a greater number of bits per cell and assigning other physical blocks among the plurality of physical blocks to a second pool containing physical blocks operating in a second mode for storing a lesser number of bits per cell; and
transferring physical blocks between the first pool and the second pool based on at least bit error rates measured for the transferred physical blocks.

### Claim 16 (depends on 15)

The program product of claim 15, wherein the transferring includes:
transferring, from the first pool to the second pool, physical blocks having a higher bit error rate; and
transferring, from the second pool to the first pool, physical blocks having a lower bit error rate.

### Claim 17 (depends on 15)

The program product of claim 15, wherein:
the program instructions further cause the controller to perform:
for each of the first and second pools:
tracking the number of physical blocks allocated to store data for each of a plurality of write streams of differing write heats and the number of program/erase (P/E) cycles in each of the plurality of write streams; and
for each of the plurality of write streams, calculating a respective stream wear metric based on the number of physical blocks assigned to the write stream and an aggregate number of P/E cycles of the physical blocks assigned to the write stream; and
the transferring includes selecting physical blocks for transfer based on (1) a selected write stream among the plurality of write streams, (2) the stream wear metric of the selected write stream, and (3) block health of physical blocks allocated to store data for the selected write stream.

### Claim 18 (depends on 17)

The program product of claim 17, wherein the program instructions further cause the controller to perform:
determining block health of physical blocks in all of the plurality of write streams from a bit error rate measured shortly after programming the physical blocks.

### Claim 19 (depends on 17)

The program product of claim 17, wherein the selecting includes:
based on the selected write stream having a stream wear metric reflecting a greatest wear among all of the plurality of write streams, selecting, for transfer, healthiest physical blocks from among the physical blocks allocated to the selected write stream; and
based on the selected write stream having a stream wear metric reflecting a least wear among all of the plurality of write streams, selecting, for transfer, least healthy physical blocks from among the physical blocks allocated to the selected write stream.

### Claim 20 (depends on 15)

The program product of claim 15, wherein the transferring comprises transferring the physical blocks based on an available number of unprogrammed physical blocks from a given one of the first and second pools not satisfying a threshold.
