ADAPTIVE SCANS OF MEMORY DEVICES OF A MEMORY SUB-SYSTEM
One or more media management threshold values associated with the memory device are maintained. The one or more media management threshold values include a bit error count per page threshold and/or a valley width threshold value. A number of program erase cycles associated with the memory device is identified. Responsive to determining that the number of program erase cycles satisfies a criterion, one or more adjusted media management threshold values are generated by decreasing the one or more media management threshold values as the number of program erase cycles increases. A data state metric for one or more wordlines of the memory device is determined. Responsive to determining that the data state metric exceeds a corresponding media management threshold value of the one or more adjusted media management threshold values, a media management operation is performed with respect to a block comprising the one or more wordlines.
1 . A system comprising:
a memory device; and
a processing device, operatively coupled with the memory device, configured to:
maintain one or more media management threshold values associated with the memory device, wherein the one or more media management threshold values comprise at least one of a bit error count per page threshold or a valley width threshold value;
identify a number of program erase cycles associated with the memory device;
responsive to determining that the number of program erase cycles satisfies a criterion, generate one or more adjusted media management threshold values by decreasing the one or more media management threshold values as the number of program erase cycles increases;
determine a data state metric for one or more wordlines of the memory device; and
responsive to determining that the data state metric exceeds a corresponding media management threshold value of the one or more adjusted media management threshold values, perform a media management operation with respect to a block comprising the one or more wordlines.
2 . The system of claim 1 , wherein to determine the data state metric, the processing device is further configured to:
perform a media scan of at least a plurality of wordlines of the memory device, wherein the plurality of wordlines comprises the one or more wordlines.
3 . The system of claim 2 , wherein to perform the media scan, the processing device is further configured to:
divide the plurality of wordlines into a number of scan groups; and
determine, according to a wordline scan interval, a data state metric for wordlines in each scan group, wherein the data state metric comprises at least one of a bit error count per page or a valley width.
4 . The system of claim 1 , wherein the processing device is further configured to:
maintain a threshold lookup table, wherein an entry in the threshold lookup table comprises a program erase cycle count value and one or more media management threshold values associated with the program erase cycle count value.
5 . The system of claim 4 , wherein to determine that the number of program erase cycles satisfies the criterion, the processing device is further configured to:
determine that the number of program erase cycles matches a program erase cycle count value in the threshold lookup table.
6 . The system of claim 4 , wherein to generate the one or more adjusted media management threshold values, the processing device is further configured to:
set the one or more media management threshold values to the one or more threshold values in the entry associated with the number of program erase cycles.
7 . The system of claim 1 , wherein the media management operation comprises at least one of a folding operation or a refresh operation.
8 . A method comprising:
maintaining one or more media management threshold values associated with a memory device, wherein the one or more media management threshold values comprise at least one of a bit error count per page threshold or a valley width threshold value;
identifying a number of program erase cycles associated with the memory device;
responsive to determining that the number of program erase cycles satisfies a criterion, generating one or more adjusted media management threshold values by decreasing the one or more media management threshold values as the number of program erase cycles increases;
determining a data state metric for one or more wordlines of the memory device; and
responsive to determining that the data state metric exceeds a corresponding media management threshold value of the one or more adjusted media management threshold values, performing a media management operation with respect to a block comprising the one or more wordlines.
9 . The method of claim 8 , wherein determining the data state metric comprises:
performing a media scan of at least a plurality of wordlines of the memory device, wherein the plurality of wordlines comprises the one or more wordlines.
10 . The method of claim 9 , wherein performing the media scan comprises:
dividing the plurality of wordlines into a number of scan groups; and
determining, according to a wordline scan interval, a corresponding data state metric for wordlines in each scan group, wherein the corresponding data state metric comprises at least one of a bit error count per page or a valley width .
11 . The method of claim 8 , wherein determining that the number of program erase cycles satisfies the criterion comprises determining that the number of program erase cycles is a multiple of a predetermined value.
12 . The method of claim 8 , wherein determining that the number of program erase cycles satisfies the criterion comprises:
maintaining a threshold lookup table, wherein an entry in the threshold lookup table comprises a program erase cycle count value and one or more media management threshold values associated with the program erase cycle count value; and
determining that the number of program erase cycles matches a program erase cycle count value in the threshold lookup table.
13 . The method of claim 8 , wherein generating the one or more adjusted media management threshold values comprises:
maintaining a threshold lookup table, wherein an entry in the threshold lookup table comprises a program erase cycle count value and one or more media management threshold values associated with the program erase cycle count value; and
setting the one or more media management threshold values to the one or more threshold values in the entry associated with the number of program erase.
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:
maintain one or more media management threshold values associated with a memory device, wherein the one or more media management threshold values comprise at least one of a bit error count per page threshold or a valley width threshold value;
identify a number of program erase cycles associated with the memory device;
responsive to determining that the number of program erase cycles satisfies a criterion, generate one or more adjusted media management threshold values by decreasing the one or more media management threshold values as the number of program erase cycles increases;
determine a data state metric for one or more wordlines of the memory device; and
responsive to determining that the data state metric exceeds a corresponding media management threshold value of the one or more adjusted media management threshold values, perform a media management operation with respect to a block comprising the one or more wordlines.
15 . The non-transitory computer-readable storage medium of claim 14 , wherein to determine the data state metric, the processing device is further to:
perform a media scan of at least a plurality of wordlines of the memory device, wherein the plurality of wordlines comprises the one or more wordlines.
16 . The non-transitory computer-readable storage medium of claim 15 , to perform the media scan, the processing device is further to:
divide the plurality of wordlines into a number of scan groups; and
determine, according to a wordline scan interval, a data state metric for wordlines in each scan group, wherein the data state metric comprises at least one of a bit error count per page or a valley width.
17 . The non-transitory computer-readable storage medium of claim 14 , wherein the processing device is further to:
maintain a threshold lookup table, wherein an entry in the threshold lookup table comprises a program erase cycle count value and one or more media management threshold values associated with the program erase cycle count value.
18 . The non-transitory computer-readable storage medium of claim 17 , wherein to determine that the number of program erase cycles satisfies the criterion, the processing device is further to:
determine that the number of program erase cycles matches a program erase cycle count value in the threshold lookup table.
19 . The non-transitory computer-readable storage medium of claim 17 , wherein to generate the one or more adjusted media management threshold values, the processing device is further to:
set the one or more media management threshold values to the one or more threshold values in the entry associated with the number of program erase cycles.
20 . The non-transitory computer-readable storage medium of claim 19 , wherein the media management operation comprises at least one of a folding operation or a refresh operation.