IP Library › Granted Patent US 11,829,290
Granted Patent B2
US 11,829,290 · App. 17/247,805 · Granted Nov 28, 2023

Garbage collection candidate selection using block overwrite rate

Inventors: Kishore Kumar Muchherla (Fremont, CA); Sampath K. Ratnam (Boise, ID); Ashutosh Malshe (Fremont, CA); Peter Sean Feeley (Boise, ID)
Assignee: Micron Technology, Inc.
G06F12/0253G06F2212/1044
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,829,290
App. No.
17/247,805
Granted
Nov 28, 2023
Kind
B2
Abstract

A processing device in a memory system determines a rate at which an amount of valid data is decreasing on a first block of the memory device and determines whether the rate at which the amount of valid data is decreasing on the first block satisfies a threshold criterion. Responsive to the rate at which the amount of valid data is decreasing on the first block satisfying the threshold criterion, the processing device performs a media management operation on the first block of the memory device.

Claims (43)

1. A system comprising:

a memory device comprising a plurality of blocks of memory; and

a processing device, operatively coupled with the memory device, to perform operations comprising:

determining a first rate at which a first amount of valid data is decreasing on a first block of the memory device by comparing a current amount of valid data of the first block to a plurality of past amounts of valid data of the first block;

determining whether the first rate at which the first amount of valid data is decreasing on the first block satisfies a first threshold criterion;

responsive to the first rate at which the first amount of valid data is decreasing on the first block satisfying the first threshold criterion, determining whether the first rate at which the first amount of valid data is decreasing on the first block satisfies a second threshold criterion; and

responsive to the first rate at which the first amount of valid data is decreasing on the first block satisfying the second threshold criterion, performing a media management operation on the first block of the memory device with a higher priority than a second block of the memory device for which a second rate at which a second amount of valid data is decreasing on the second block satisfies the first threshold criterion but does not satisfy the second threshold criterion.

2. The system of claim 1 , wherein performing the media management operation comprises performing a garbage collection operation.

3. The system of claim 1 , wherein the processing device to perform further operations comprising:

responsive to the first rate at which the first amount of valid data is decreasing on the first block not satisfying the first threshold criterion, preventing the media management operation from being performed on the first block of the memory device.

4. The system of claim 1 , wherein the first threshold criterion is configurable based on an amount of available storage space in the plurality of blocks of memory on the memory device.

5. The system of claim 1 , wherein the processing device to perform further operations comprising:

determining whether the first block is among a first number of the plurality of blocks having a lower amount of valid data than a remainder of the plurality of blocks.

6. The system of claim 5 , wherein the processing device to perform further operations comprising:

responsive to the first block being among the first number of the plurality of blocks, determining whether the first block is among a second number of the plurality of blocks having been written to more recently than the remainder of the plurality of blocks.

7. A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:

determining a first rate at which a first amount of valid data is decreasing on a first block of a memory device comprising a plurality of blocks of memory by comparing a current amount of valid data of the first block to a plurality of past amounts of valid data of the first block;

determining whether the first rate at which the first amount of valid data is decreasing on the first block satisfies a first threshold criterion;

responsive to the first rate at which the first amount of valid data is decreasing on the first block satisfying the first threshold criterion, determining whether the first rate at which the first amount of valid data is decreasing on the first block satisfies a second threshold criterion; and

responsive to the first rate at which the first amount of valid data is decreasing on the first block satisfying the second threshold criterion, performing a media management operation on the first block of the memory device with a higher priority than a second block of the memory device for which a second rate at which a second amount of valid data is decreasing on the second block satisfies the first threshold criterion but does not satisfy the second threshold criterion.

8. The non-transitory computer-readable storage medium of claim 7 , wherein the instructions cause the processing device to perform further operations comprising:

responsive to the first rate at which the first amount of valid data is decreasing on the first block not satisfying the first threshold criterion, preventing the media management operation from being performed on the first block of the memory device.

9. The non-transitory computer-readable storage medium of claim 7 , wherein the first threshold criterion is configurable based on an amount of available storage space in the plurality of blocks of memory on the memory device.

10. The non-transitory computer-readable storage medium of claim 7 , wherein the instructions cause the processing device to perform further operations comprising:

determining whether the first block is among a first number of the plurality of blocks having a lower amount of valid data than a remainder of the plurality of blocks.

11. The non-transitory computer-readable storage medium of claim 10 , wherein the instructions cause the processing device to perform further operations comprising:

responsive to the first block being among the first number of the plurality of blocks, determining whether the first block is among a second number of the plurality of blocks having been written to more recently than the remainder of the plurality of blocks.

12. The system of claim 1 , wherein comparing the current amount of valid data of the first block to the plurality of past amounts of valid data of the first block comprises one or more of:

applying a curve fitting algorithm to the current amount of valid data of the first block and the plurality of past amounts of valid data of the first block; or

applying a machine-learning model to the current amount of valid data of the first block and the plurality of past amounts of valid data of the first block.

13. A method comprising:

determining a first rate at which a first amount of valid data is decreasing on a first block of a memory device comprising a plurality of blocks of memory by comparing a current amount of valid data of the first block to a plurality of past amounts of valid data of the first block;

determining whether the first rate at which the first amount of valid data is decreasing on the first block satisfies a first threshold criterion;

responsive to the first rate at which the first amount of valid data is decreasing on the first block satisfying the first threshold criterion, determining whether the first rate at which the first amount of valid data is decreasing on the first block satisfies a second threshold criterion; and

responsive to the first rate at which the first amount of valid data is decreasing on the first block satisfying the second threshold criterion, performing a media management operation on the first block of the memory device with a higher priority than a second block of the memory device for which a second rate at which a second amount of valid data is decreasing on the second block satisfies the first threshold criterion but does not satisfy the second threshold criterion.

14. The method of claim 13 , wherein performing the media management operation comprises performing a garbage collection operation.

15. The method of claim 13 , further comprising:

responsive to the first rate at which the first amount of valid data is decreasing on the first block not satisfying the first threshold criterion, preventing the media management operation from being performed on the first block of the memory device.

16. The method of claim 13 , wherein the first threshold criterion is configurable based on an amount of available storage space in the plurality of blocks of memory on the memory device.

17. The method of claim 13 , further comprising:

determining whether the first block is among a first number of the plurality of blocks having a lower amount of valid data than a remainder of the plurality of blocks.

18. The method of claim 17 , further comprising:

responsive to the first block being among the first number of the plurality of blocks, determining whether the first block is among a second number of the plurality of blocks having been written to more recently than the remainder of the plurality of blocks.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 23, 2020
From: RATNAM, SAMPATH K.; MALSHE, ASHUTOSH; FEELEY, PETER SEAN; MUCHHERLA, KISHORE KUMAR
To: MICRON TECHNOLOGY, INC.
Reel/Frame 054741/0001 →
Continuity (2)
Continuation 16234271 · Dec 27, 2018
Related Publication 20210117318A1 · Apr 22, 2021
Cited By (1)
US 12,541,298