# US 2022/0066924 A1 · Scaling factors for media management operations at a memory device

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

- Number: US 2022/0066924 A1
- Document ID: US20220066924A1
- Status: Published application
- Kind: A1
- Application number: 17/005,164
- Filed: 2020-08-27
- Published: 2022-03-03
- Earliest claimed: 2020-08-27
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Mikai Chen; Zhenlei Shen; Murong Lang; Zhenming Zhou
- Web page: https://patentgrep.com/patent/US20220066924A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- 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 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 2212/7211: Wear leveling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processing device of a memory sub-system performs an operation including obtaining, at a first time, a first scaling factor for a data unit of a set of data units of a memory device. The first scaling factor is associated with a first number of write operations performed at the data unit and a first number of read operations performed at the data unit. The processing device also performs an operation including calculating a first media management metric based on at least the first scaling factor, the first number of write operations, and the first number of read operations. In response to determining that the first media management metric satisfies a media management criterion, the processing device performs a media management operation on the data unit.

## Claims

### Claim 1

A system comprising:
a memory device comprising a plurality of data units; and
a processing device coupled to the memory device, the processing device to perform operations comprising:
obtaining, at a first time, a first scaling factor for a data unit of the plurality of data units, wherein the first scaling factor is associated with a first number of write operations performed at the data unit and a first number of read operations performed at the data unit;
calculating a first media management metric based on at least the first scaling factor, the first number of write operations, and the first number of read operations; and
responsive to determining that the first media management metric satisfies a media management criterion, performing a media management operation on the data unit.

### Claim 2 (depends on 1)

The system of claim 1, wherein the processing device is to perform operations further comprising:
obtaining, at a second time, a second scaling factor for the data unit that is associated with a second number of write operations performed at the data unit and a second number of read operations performed at the data unit;
calculating a second media management metric based on at least the second scaling factor, the second number of write operations, and the second number of read operations; and
responsive to determining that the second media management metric satisfies the media management criterion, performing an additional media management operation on the data unit.

### Claim 3 (depends on 1)

The system of claim 1, wherein the first scaling factor corresponds to a difference between an error rate for the data unit after performing the first number of write operations and an error rate for the data unit after performing the first number of read operations.

### Claim 4 (depends on 1)

The system of claim 1, wherein determining the first scaling factor for the data unit comprises:
identifying an entry of a scaling factor data structure corresponding to the first number of write operations and the first number of read operations; and
extracting, from the identified entry, the first scaling factor.

### Claim 5 (depends on 1)

The system of claim 1, wherein determining the first scaling factor for the data unit comprises:
providing the first number of write operations and the first number of read operations as an input to a scaling factor function; and
receiving, as an output of the scaling factor function, the first scaling factor.

### Claim 6 (depends on 1)

The system of claim 1, wherein determining that the first media management metric satisfies the media management criterion comprises:
determining that the first media management metric exceeds a media management threshold value.

### Claim 7 (depends on 1)

The system of claim 1, wherein the media management operation comprises at least one of:
a wear leveling operation, a garbage collection operation, or a folding operation.

### Claim 8

A method comprising:
responsive to determining to perform a media management operation at a memory device comprising a plurality of data units, obtaining a scaling factor for each of the plurality of data units, wherein each scaling factor is determined in view of a number of write operations performed at a respective data unit and a number of read operations performed at the respective data unit;
calculating a media management metric for each of the plurality of data units, wherein each media management metric is based on at least the scaling factor for the respective data unit, the number of write operations performed at the respective data unit, and the number of read operations performed at the respective data unit;
identifying a particular data unit of the plurality of data units that is associated with a respective media management metric that satisfies a media management criterion; and
performing the media management operation on the particular data unit.

### Claim 9 (depends on 8)

The method of claim 8, wherein the scaling factor for each data unit corresponds to a difference between an error rate for the respective data unit after performing the number of write operations and an error rate for the respective data unit after performing the number of read operations.

### Claim 10 (depends on 8)

The method of claim 8, wherein determining the scaling factor for each of the plurality of data units comprises:
identifying an entry of a scaling factor data structure corresponding to the number of read operations performed at the respective data unit and the number of read operations performed at the respective data unit; and
extracting, from the identified entry, the scaling factor.

### Claim 11 (depends on 8)

The method of claim 8, wherein determining the scaling factor for each of the plurality of data units comprises:
providing the number of write operations performed at the respective data unit and the number of write operations performed at the respective data unit as an input to a scaling factor function; and
receiving, as an output of the scaling factor function, the scaling factor.

### Claim 12 (depends on 8)

The method of claim 8, wherein identifying the particular data unit that is associated with a respective media management metric that satisfies the media management criterion comprises:
determining that the respective media management metric exceeds a media management threshold value.

### Claim 13 (depends on 8)

The method of claim 8, wherein the media management operation comprises at least one of: a wear leveling operation, a garbage collection operation, or a folding operation.

### Claim 14

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
obtaining, at a first time, a first scaling factor for a data unit of a plurality of data units, wherein the first scaling factor is associated with a first number of write operations performed at the data unit and a first number of read operations performed at the data unit;
calculating a first media management metric based on at least the first scaling factor, the first number of write operations, and the first number of read operations; and
responsive to determining that the first media management metric satisfies a media management criterion, performing a media management operation on the data unit.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the processing device is to perform operations further comprising:
obtaining, at a second time, a second scaling factor for the data unit that is associated with a second number of write operations performed at the data unit and a second number of read operations performed at the data unit;
calculating a second media management metric based on at least the second scaling factor, the second number of write operations, and the second number of read operations; and
responsive to determining that the second media management metric satisfies the media management criterion, performing an additional media management operation on the data unit.

### Claim 16 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the first scaling factor corresponds to a difference between an error rate for the data unit after performing the first number of write operations and an error rate for the data unit after performing the first number of read operations

### Claim 17 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein determining the first scaling factor for the data unit comprises:
identifying an entry of a scaling factor data structure corresponding to the first number of write operations and the first number of read operations; and
extracting, from the identified entry, the first scaling factor.

### Claim 18 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein determining the first scaling factor for the data unit comprises:
providing the first number of write operations and the first number of read operations as an input to a scaling factor function; and
receiving, as an output of the scaling factor function, the first scaling factor.

### Claim 19 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein determining that the first media management metric satisfies the media management criterion comprises:
determining that the first media management metric exceeds a media management threshold value.

### Claim 20 (depends on 14)

The non-transitory computer-readable storage medium of claim 14, wherein the media management operation comprises at least one of: a wear leveling operation, a garbage collection operation, or a folding operation.
