IP Library Granted Patent US 10,713,155
Granted Patent B2
US 10,713,155 · App. 16/039,648 · Granted Jul 14, 2020

Biased sampling methodology for wear leveling

Inventors: Ying Yu Tai (Mountain View, CA); Jiangli Zhu (San Jose, CA)
Assignee: Micron Technology, Inc.
G06F12/0215G06F12/06G06F2212/217
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 10,713,155
App. No.
16/039,648
Granted
Jul 14, 2020
Kind
B2
Abstract

First data units can be sampled from a set of data units of a memory component. The first data units can be a subset of the set of data units. An initial data unit is determined from the first data units as a first candidate data unit based on a wear metric associated with the first data units. The wear metric is indicative of a level of physical wear of the first data units. A wear leveling operation can be performed in view of the first candidate data unit.

Claims (49)

1. A system comprising:

a memory device; and

a processing device, coupled to the memory device, the processing device to:

sample first data units from a set of data units of the memory device, wherein the first data units comprise a subset of the set of data units;

sort the first data units that were sampled from the set of data units into a first order based on a wear metric associated with the first data units, wherein the wear metric is indicative of a level of physical wear of the first data units;

responsive to sorting the first data units, determine an initial data unit from the first data units as a first candidate data unit based on the wear metric associated with the first data units; and

perform a wear leveling operation in view of the first candidate data unit.

2. The system of claim 1 , wherein the first data units are sampled from the set of data units of the memory device using a biased sampling process that increases a probability that particular data units of the set of data units are sampled based on one or more characteristics associated with the particular data units.

3. The system of claim 2 , wherein the one or more characteristics that increase the probability that the particular data units of the set of data units are sampled comprise a frequency at which a memory operation is performed on the particular data units.

4. The system of claim 2 , wherein the one or more characteristics that increase the probability that the particular data units of the set of data units are sampled comprise data locality of the particular data units.

5. The system of claim 1 , the processing device further to:

select one or more subsequent data units from the first order of the first data units, wherein the one or more subsequent data units are selected to be part of a group of data units from which a second candidate data unit is selected.

6. The system of claim 5 , the processing device further to:

sample second data units from the set of data units of the memory device;

sort the group of data units in a second order based on the wear metric associated with the group of data units, wherein the group of data units comprise the second data units and the one or more subsequent data units from the first order of the first data units; and

responsive to sorting the group of data units in the second order, select an initial data unit from the second order of the group of the data units as a second candidate data unit on which to perform the wear leveling operation.

7. The system of claim 1 , wherein the first candidate data unit has a highest wear metric of the first data units, and wherein to perform the wear leveling operation in view of the first candidate data unit, the processing device is further to:

rewrite data of the first candidate data unit having the highest wear metric to another data unit having a lower wear metric than the first candidate data unit.

8. The system of claim 1 , the processing device further to:

record the first candidate data unit as an entry of a plurality of entries in a record;

sort the plurality of entries of the record based on the wear metric; and

perform the wear leveling operation using a first entry and a last entry of the sorted entries of the record.

9. The system of claim 1 , the processing device further to:

determine the wear leveling operation is to be performed based on a number of memory operations performed on behalf of a host system.

10. The system of claim 1 , wherein the wear metric comprises a write count associated with the first data units.

11. The system of claim 10 , wherein the first data units are sorted in a first order from highest write count to lowest write count, and wherein the initial data unit selected as the first candidate data unit has the highest write count.

12. The system of claim 10 , wherein the wear metric comprises a combination of the write count and a read count associated with the first data units.

13. A method, comprising:

sampling, by a processing device, first data units from a set of data units of a memory device, wherein the first data units comprise a subset of the set of data units;

sorting the first data units that were sampled from the set of data units into a first order based on a wear metric associated with the first data units, wherein the wear metric is indicative of a level of physical wear of the first data units;

responsive to sorting the first data units, determining an initial data unit from the first data units as a first candidate data unit based on the wear metric associated with the first data units, wherein the wear metric is indicative of a level of physical wear of the first data units; and

perform a wear leveling operation in view of the first candidate data unit.

14. The method of claim 13 , wherein the first data units are sampled from the set of data units of the memory device using a biased sampling process that increases a probability that particular data units of the set of data units are sampled based on one or more characteristics associated with the particular data units.

15. The method of claim 13 , further comprising:

selecting one or more subsequent data units from the first order of the first data units, wherein the one or more subsequent data units are selected to be part of a group of data units from which a second candidate data unit is selected.

16. The method of claim 15 , further comprising:

sampling second data units from the set of data units of the memory device;

sorting the group of data units in a second order based on a wear metric associated with the group of data units, wherein the group of data units comprise the second data units and the one or more subsequent data units from the first order of the first data units; and

responsive to sorting the group of data units in the second order, selecting an initial data unit from the second order of the group of the data units as a second candidate data unit on which to perform the wear leveling operation.

17. A non-transitory computer-readable medium comprising instructions that, responsive to execution by a processing device, cause the processing device to perform operations comprising:

sampling, by the processing device, first data units from a set of data units of a memory device using a biased sampling process that increases a probability of sampling particular data units of the set of data units with a higher wear metric, wherein a wear metric is indicative of a level of physical wear of the first data units;

sorting the first data units that were sampled from the set of data units in a first order based on the wear metric associated with the first data units; and

responsive to sorting the first data units in the first order, selecting an initial data unit from the first order of the first data units as a first candidate data unit on which to perform a wear leveling operation.

18. The non-transitory computer-readable medium of claim 17 , the operations further comprising:

selecting one or more subsequent data units from the first order of the first data units, wherein the one or more subsequent data units are selected to be part of a group of data units from which a second candidate data unit is selected.

19. The non-transitory computer-readable medium of claim 18 , the operations further comprising:

sampling second data units from the set of data units of the memory device;

sorting the group of data units in a second order based on a wear metric associated with the group of data units, wherein the group of data units comprise the second data units and the one or more subsequent data units from the first order of the first data units; and

responsive to sorting the group of data units in the second order, selecting an initial data unit from the second order of the group of the data units as a second candidate data unit on which to perform the wear leveling operation.

Assignments (5)
RELEASE OF SECURITY INTEREST Recorded Nov 14, 2019
From: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
To: MICRON TECHNOLOGY, INC.
Reel/Frame 051028/0835 →
RELEASE OF SECURITY INTEREST Recorded Oct 14, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC., AS COLLATERAL AGENT
To: MICRON TECHNOLOGY, INC.
Reel/Frame 050719/0550 →
SUPPLEMENT NO. 1 TO PATENT SECURITY AGREEMENT Recorded Nov 13, 2018
From: MICRON TECHNOLOGY, INC.
To: JPMORGAN CHASE BANK, N.A.., AS COLLATERAL AGENT
Reel/Frame 047630/0756 →
SUPPLEMENT NO. 10 TO PATENT SECURITY AGREEMENT Recorded Nov 13, 2018
From: MICRON TECHNOLOGY, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC., AS COLLATERAL AGENT
Reel/Frame 048102/0420 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 19, 2018
From: TAI, YING YU; ZHU, JIANGLI
To: MICRON TECHNOLOGY, INC.
Reel/Frame 046402/0650 →