# US 2017/0255399 A1 · Erase Health Metric to Rank Memory Portions

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

- Number: US 2017/0255399 A1
- Document ID: US20170255399A1
- Status: Published application
- Kind: A1
- Application number: 15/285,407
- Filed: 2016-10-04
- Published: 2017-09-07
- Earliest claimed: 2016-03-03
- Assignees: SanDisk Technologies LLC
- Applicants: SanDisk Technologies LLC
- Inventors: Nian Niles Yang; Alexandra Bauche
- Web page: https://patentgrep.com/patent/US20170255399A1

## CPC

- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/064: {Management of blocks}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An exemplary method to rank blocks of a non-volatile memory device includes: for each of a plurality of blocks of a memory device, determining a respective erase health metric (EHM) for each of the blocks by combining an erase difficulty metric and an age metric, including: calculating the erase difficulty metric for a respective block based on erase performance metrics obtained during erase phases of an erase operation performed on the respective block, and determining the age metric for the respective block based on a total number of erase operations performed on the respective block during its lifespan. After determining the respective EHM for each of the blocks, the method includes ranking blocks in accordance with the determined respective EHMs, and selecting a block of the plurality of blocks in accordance with the rankings, and writing data to the selected block.

## Claims

### Claim 1

A method, comprising:
for each of a plurality of non-volatile memory portions of a non-volatile memory device, determining a respective erase health metric for each of the plurality of non-volatile memory portions by combining an erase difficulty metric and an age metric, including:
calculating the erase difficulty metric for a respective non-volatile memory portion, wherein the erase difficulty metric for the respective non-volatile memory portion is based on one or more erase performance metrics obtained during one or more erase phases of an erase operation performed on the respective non-volatile memory portion, and
determining the age metric for the respective non-volatile memory portion based on a total number of erase operations performed on the respective non-volatile memory portion during a lifespan of the non-volatile memory device; and
after determining the respective erase health metric for each of the plurality of non-volatile memory portions of the non-volatile memory device:
ranking non-volatile memory portions, including at least the plurality of non-volatile memory portions of the non-volatile memory device, in accordance with the determined respective erase health metrics; and
selecting a non-volatile memory portion of the plurality of non-volatile memory portions in accordance with the ranking of the non-volatile memory portions, and writing data to the selected non-volatile memory portion.

### Claim 2 (depends on 1)

The method of claim 1, wherein said ranking includes determining a highest ranked non-volatile memory portion of the non-volatile memory device, and writing data to the selected non-volatile memory portion comprises writing data to the highest ranked non-volatile memory portion.

### Claim 3 (depends on 1)

The method of claim 1, wherein the one or more erase performance metrics include:
a number of successive erase phases required to satisfy a stopping condition during the erase operation on the respective non-volatile memory portion; and
a change in voltage between an initial erase voltage used during an initial erase phase of the erase operation on the respective non-volatile memory portion, and a final erase voltage used in a final erase phase of the erase operation on the respective non-volatile memory portion.

### Claim 4 (depends on 3)

The method of claim 3, wherein calculating the erase difficulty metric includes calculating the erase difficulty metric in accordance with:
a first normalization coefficient associated with the number of successive erase phases of the erase operation performed on the respective non-volatile memory portion; and
a second normalization coefficient associated with the total number of erase operations performed on the respective non-volatile memory portion during the lifespan of the non-volatile memory device, wherein the first normalization coefficient is inversely related to the second normalization coefficient.

### Claim 5 (depends on 3)

The method of claim 3, wherein calculating the erase difficulty metric for the respective non-volatile memory portion includes calculating a weighted sum of two or more of the erase performance metrics for the respective non-volatile memory portion.

### Claim 6 (depends on 1)

The method of claim 1, wherein each of the one or more erase phases of the erase operation performed on the respective non-volatile memory portion comprises:
performing an erase using an erase voltage; and
determining an erase statistic for the performed erase, wherein the erase statistic for the performed phase corresponds to a count of non-erased memory cells in the respective non-volatile memory portion having cell voltages that fail to satisfy a criterion corresponding to the performed erase.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more erase performance metrics include:
a weighted sum of counts, wherein each count in the weighted sum of counts comprises an erase statistic for the respective non-volatile memory portion after each of two or more of the successive erase phases.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
after ranking said non-volatile memory portions, generating an ordered list of non-volatile memory portions of the non-volatile memory device based on their respective erase difficulty metrics.

### Claim 9 (depends on 1)

The method of claim 1, wherein said ranking of the non-volatile memory portions includes ranking two or more non-volatile memory portions having a same erase health metric in accordance with a tie-breaker metric, wherein the tie-breaker metric for each non-volatile memory portion of the two or more non-volatile memory portions is based at least in part of the total number of erase operations performed on the non-volatile memory portion during the lifespan of the non-volatile memory device.

### Claim 10 (depends on 1)

The method of claim 1, wherein the data includes one or more data streams and further wherein writing the data to the selected non-volatile memory portion comprises writing a first data stream of the one or more data streams to the selected non-volatile memory portion of the non-volatile memory device.

### Claim 11

A storage system, comprising
a storage medium;
one or more processors; and
memory storing one or more programs, which when executed by the one or more processors cause the storage system to:
for each of a plurality of non-volatile memory portions of a non-volatile memory device, determining a respective health metric for each of the plurality of non-volatile memory portions by combining an erase difficulty metric and an age metric, including:
calculate the erase difficulty metric for a respective non-volatile memory portion, wherein the erase difficulty metric for the respective non-volatile memory portion is based on one or more erase performance metrics obtained during one or more erase phases of an erase operation performed on the respective non-volatile memory portion, and
determine the age metric for the respective non-volatile memory portion based on a total number of erase operations performed on the respective non-volatile memory portion during a lifespan of the non-volatile memory device; and
after determining the respective erase health metric for each of the plurality of non-volatile memory portions of the non-volatile memory device:
rank non-volatile memory portions, including at least the plurality of non-volatile memory portions of the non-volatile memory device, in accordance with the determined respective erase health metrics; and
select a non-volatile memory portion of the plurality of non-volatile memory portions in accordance with the ranking of the non-volatile memory portions, and write data to the selected non-volatile memory portion.

### Claim 12 (depends on 11)

The storage system of claim 11, wherein the one or more programs include (1) an erase module having instructions for determining the erase health metric, and (2) a block ranking module having instructions for ranking the non-volatile memory portions in accordance with the determined respective erase health metrics.

### Claim 13 (depends on 11)

The storage system of claim 11, wherein said ranking includes determining a highest ranked non-volatile memory portion of the non-volatile memory device, and writing data to the selected non-volatile memory portion comprises writing data to the highest ranked non-volatile memory portion.

### Claim 14 (depends on 11)

The storage system of claim 11, wherein the one or more erase performance metrics include:
a number of successive erase phases required to satisfy a stopping condition during the erase operation on the respective non-volatile memory portion; and
a change in voltage between an initial erase voltage used during an initial erase phase of the erase operation on the respective non-volatile memory portion, and a final erase voltage used in a final erase phase of the erase operation on the respective non-volatile memory portion.

### Claim 15 (depends on 14)

The storage system of claim 14, wherein calculating the erase difficulty metric includes calculating the erase difficulty metric in accordance with:
a first normalization coefficient associated with the number of successive erase phases of the erase operation performed on the respective non-volatile memory portion; and
a second normalization coefficient associated with the total number of erase operations performed on the respective non-volatile memory portion during the lifespan of the non-volatile memory device, wherein the first normalization coefficient is inversely related to the second normalization coefficient.

### Claim 16 (depends on 14)

The storage system of claim 14, wherein calculating the erase difficulty metric for the respective non-volatile memory portion includes calculating a weighted sum of two or more of the erase performance metrics for the respective non-volatile memory portion.

### Claim 17 (depends on 11)

The storage system of claim 11, wherein the one or more programs include erase management instructions, which when executed by the one or more processors cause the storage system to perform each erase phase of the one or more erase phases of the erase operation, by:
performing an erase using an erase voltage; and
determining an erase statistic for the performed erase, wherein the erase statistic for the performed phase corresponds to a count of non-erased memory cells in the respective non-volatile memory portion having cell voltages that fail to satisfy a criterion corresponding to the performed erase.

### Claim 18 (depends on 11)

The storage system of claim 11, wherein the one or more erase performance metrics include:
a weighted sum of counts, wherein each count in the weighted sum of counts comprises an erase statistic for the respective non-volatile memory portion after each of two or more of the successive erase phases.

### Claim 19 (depends on 11)

The storage system of claim 11, wherein the one or more programs further include instructions, which when executed by the one or more processors cause the storage system to, after ranking said non-volatile memory portions, generate an ordered list of non-volatile memory portions of the non-volatile memory device based on their respective erase difficulty metrics.

### Claim 20

A non-transitory computer readable storage medium, storing one or more programs configured for execution by one or more processors of a storage system, the one or more programs including instructions, which when executed by the one or more processors cause the storage system to:
for each of a plurality of non-volatile memory portions of a non-volatile memory device, determining a respective health metric for each of the plurality of non-volatile memory portions by combining an erase difficulty metric and an age metric, including:
calculate the erase difficulty metric for a respective non-volatile memory portion, wherein the erase difficulty metric for the respective non-volatile memory portion is based on one or more erase performance metrics obtained during one or more erase phases of an erase operation performed on the respective non-volatile memory portion, and
determine the age metric for the respective non-volatile memory portion based on a total number of erase operations performed on the respective non-volatile memory portion during a lifespan of the non-volatile memory device; and
after determining the respective erase health metric for each of the plurality of non-volatile memory portions of the non-volatile memory device:
rank non-volatile memory portions, including at least the plurality of non-volatile memory portions of the non-volatile memory device, in accordance with the determined respective erase health metrics; and
select a non-volatile memory portion of the plurality of non-volatile memory portions in accordance with the ranking of the non-volatile memory portions, and write data to the selected non-volatile memory portion.
