# US 2025/0094057 A1 · Systems, methods, and media for controlling background wear leveling in solid-state drives

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

- Number: US 2025/0094057 A1
- Document ID: US20250094057A1
- Status: Published application
- Kind: A1
- Application number: 18/962,759
- Filed: 2024-11-27
- Published: 2025-03-20
- Earliest claimed: 2022-12-28
- Assignees: SK Hynix NAND Product Solutions Corp.
- Applicants: SK hynix NAND Product Solutions Corp.
- Inventors: David G. Dreyer; David J. Pelster; Mark Anthony Sumabat Golez; Bhargavi Govindarajan
- Web page: https://patentgrep.com/patent/US20250094057A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Mechanisms for controlling background wear leveling are provided, including: increasing a first counter; comparing the first counter to a first threshold; and in response to the first counter meeting the first threshold: decreasing the first counter by a value of the first threshold; and triggering background wear leveling. In some embodiments, the first counter is increased in response to receiving a write trigger. In some embodiments, the first threshold is based upon a page size and a number of planes of physical media of an SSD. In some embodiments, the mechanisms further comprise: incrementing a second counter in response to receiving a host write trigger; comparing the second counter to a second threshold; and in response to the second counter meeting the second threshold, decreasing the second counter by the second threshold, wherein the increasing the first counter is performed in response to the second counter meeting the second threshold.

## Claims

### Claim 1

A system for controlling background wear leveling, comprising:
memory; and
at least one processor coupled to the memory and collectively configured to at least:
change a first value in response to receiving a host write trigger;
compare the first value to a first threshold;
in response to the first value meeting the first threshold, change the first value by a first adjustment amount,
change a second value in response to the first value meeting the first threshold;
compare the second value to a second threshold; and
in response to the second value meeting the second threshold:
change the second value by a second adjustment amount; and
trigger background wear leveling.

### Claim 2 (depends on 1)

The system of claim 1, wherein the first adjustment amount is equal to an amount of the first threshold.

### Claim 3 (depends on 1)

The system of claim 1, wherein the second adjustment amount is equal to an amount of the second threshold.

### Claim 4 (depends on 1)

The system of claim 1, wherein the second threshold is based upon a page size and a number of planes of physical media of a solid-state drive.

### Claim 5 (depends on 1)

The system of claim 1, wherein the at least one processor is also collectively configured to at least:
change a third value in response to receiving a defragmentation write trigger;
compare the third value to a third threshold; and
in response to the third value meeting the third threshold:
change the third value by a third adjustment amount; and
change the second value.

### Claim 6 (depends on 1)

The system of claim 1, wherein the third adjustment amount is equal to an amount of the third threshold.

### Claim 7 (depends on 6)

The system of claim 6, wherein the third threshold is the same as the first threshold.

### Claim 8 (depends on 1)

The system of claim 1, wherein the at least one processor is also collectively configured to determine that a specific period of time has passed,
wherein the comparing the second value to the second threshold is performed in response to determining that a specific period of time has passed.

### Claim 9

A method for controlling background wear leveling, comprising:
changing a first value in response to receiving a host write trigger using a hardware processor;
comparing the first value to a first threshold;
in response to the first value meeting the first threshold, decreasing the first value by a first adjustment amount,
increasing a second value in response to the first value meeting the first threshold;
comparing the second value to a second threshold; and
in response to the second value meeting the second threshold:
decreasing the second value by a second adjustment amount; and
triggering background wear leveling.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first adjustment amount is equal to an amount of the first threshold.

### Claim 11 (depends on 9)

The method of claim 9, wherein the second adjustment amount is equal to an amount of the second threshold.

### Claim 12 (depends on 9)

The method of claim 9, wherein the second threshold is based upon a page size and a number of planes of physical media of a solid-state drive.

### Claim 13 (depends on 9)

The method of claim 9, further comprising:
changing a third value in response to receiving a defragmentation write trigger;
comparing the third value to a third threshold; and
in response to the third value meeting the third threshold:
decreasing the third value by a third adjustment amount; and
increasing the second value.

### Claim 14 (depends on 9)

The method of claim 9, wherein the third adjustment amount is equal to an amount of the third threshold.

### Claim 15 (depends on 14)

The method of claim 14, wherein the third threshold is the same as the first threshold.

### Claim 16 (depends on 9)

The method of claim 9, further comprising determining that a specific period of time has passed,
wherein the comparing the second value to the second threshold is performed in response to determining that a specific period of time has passed.

### Claim 17

A non-transitory computer-readable medium containing computer executable instructions that, when executed by a processor, cause the processor to perform a method for controlling background wear leveling, the method comprising:
changing a first value in response to receiving a host write trigger;
comparing the first value to a first threshold;
in response to the first value meeting the first threshold, decreasing the first value by a first adjustment amount,
increasing a second value in response to the first value meeting the first threshold;
comparing the second value to a second threshold; and
in response to the second value meeting the second threshold:
decreasing the second value by a second adjustment amount; and
triggering background wear leveling.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the first adjustment amount is equal to an amount of the first threshold.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the second adjustment amount is equal to an amount of the second threshold.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the second threshold is based upon a page size and a number of planes of physical media of a solid-state drive.

### Claim 21 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the method further comprises:
changing a third value in response to receiving a defragmentation write trigger;
comparing the third value to a third threshold;
in response to the third value meeting the third threshold:
decreasing the third value by a third adjustment amount; and
increasing the second value.

### Claim 22 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the third adjustment amount is equal to an amount of the third threshold.

### Claim 23 (depends on 22)

The non-transitory computer-readable medium of claim 22, wherein the third threshold is the same as the first threshold.

### Claim 24 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the method further comprises determining that a specific period of time has passed,
wherein the comparing the second value to the second threshold is performed in response to determining that a specific period of time has passed.
