Temporal metric driven media management scheme
A victim management unit (MU) for performing a media management operation is identified. The victim MU stores valid data. A source cursor associated with the victim MU is identified from an ordered set of cursors. A target cursor following the source cursor in the ordered set of cursors referencing one or more available MUs is identified. In response to determining that the source cursor is a last cursor in the ordered set of cursors, the source cursor is utilized as the target cursor. The valid data is associated with the identified target cursor.
1. A system comprising:
a memory device; and
a processing device, operatively coupled to the memory device, to perform operations comprising:
identifying a victim management unit (MU) of the memory device for performing a media management operation, wherein the victim MU stores valid data;
identifying, in an ordered set of cursors, a source cursor associated with the victim MU;
identifying a target cursor following the source cursor in the ordered set of cursors, wherein the target cursor references one or more available MUs;
responsive to determining that the source cursor is a last cursor in the ordered set of cursors, utilizing the source cursor as the target cursor; and
associating the valid data with the target cursor.
2. The system of claim 1 , wherein the operations further comprise:
writing the valid data at the one or more available MUs referenced by the target cursor.
3. The system of claim 1 , wherein the victim MU is associated with a source logical address, and wherein the source cursor corresponds to the source logical address.
4. The system of claim 1 ,
wherein a cursor in the ordered set of cursors corresponds to a respective range of values of a temporal metric of data referenced by the cursor, and wherein the temporal metric represents an age characteristic of the data referenced by the cursor.
5. The system of claim 4 , wherein the ordered set of cursors is arranged in a sequential order of the respective ranges of values of the temporal metric.
6. The system of claim 5 , wherein the temporal metric reflects at least one of: a time after programming (TAP) associated with the valid data, a number of valid accesses of the victim MU, a frequency of accesses of the valid data, a number of times the valid data has been written, or a timestamp indicating a most recent access of the valid data.
7. The system of claim 1 , wherein identifying the source cursor further comprises:
identifying metadata associated with the victim MU; and
identifying, in the metadata associated with the victim MU, a cursor identifier corresponding to the source cursor.
8. The system of claim 1 , wherein the operations further comprise:
erasing the victim MU; and
marking the victim MU as free.
9. A method comprising:
identifying a victim management unit (MU) of a memory device for performing a media management operation, wherein the victim MU stores valid data;
identifying, in an ordered set of cursors, a source cursor associated with the victim MU;
identifying a target cursor following the source cursor in the ordered set of cursors, wherein the target cursors references one or more available MUs
responsive to determining that the source cursor is a last cursor in the ordered set of cursors, utilizing the source cursor as the target cursor; and
associating the valid data with the target cursor.
10. The method of claim 9 , further comprising:
writing the valid data at the one or more available MUs referenced by the target cursor.
11. The method of claim 9 , wherein a cursor in the ordered set of cursors corresponds to a respective range of values of a temporal metric of data referenced by the cursor, and wherein the temporal metric represents an age characteristic of the data referenced by the cursor.
12. The method of claim 11 , wherein the ordered set of cursors is arranged in a sequential order of the respective ranges of values of the temporal metric.
13. The method of claim 12 , wherein the temporal metric reflects at least one of: a time after programming (TAP) associated with the valid data, a number of valid accesses of the victim MU, a frequency of accesses of the valid data, a number of times the valid data has been written, or a timestamp indicating a most recent access of the valid data.
14. The method of claim 9 , further comprising:
erasing the victim MU; and
marking the victim MU as free.
15. A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
identifying a victim management unit (MU) of a memory device for performing a media management operation, wherein the victim MU stores valid data;
identifying, in an ordered set of cursors, a source cursor associated with the victim MU;
identifying a target cursor following the source cursor in the ordered set of cursors, wherein the target cursor references one or more available MUs;
responsive to determining that the source cursor is a last cursor in the ordered set of cursors, utilizing the source cursor as the target cursor; and
associating the valid data with the target cursor.
16. The non-transitory computer-readable storage medium of claim 15 , wherein the operations further comprise:
writing the valid data at the one or more available MUs referenced by the target cursor.
17. The non-transitory computer-readable storage medium of claim 15 , wherein the victim MU is associated with a source logical address, and wherein the source cursor corresponds to the source logical address.
18. The non-transitory computer-readable storage medium of claim 15 , wherein a cursor in the ordered set of cursors corresponds to a respective range of values of a temporal metric of data referenced by the cursor, and wherein the temporal metric represents an age characteristic of the data referenced by the cursor.
19. The non-transitory computer-readable storage medium of claim 18 , wherein the ordered set of cursors is arranged in a sequential order of the respective ranges of values of the temporal metric, and wherein the temporal metric reflects at least one of a time after programming (TAP) associated with the valid data, a number of valid accesses of the victim MU, a frequency of accesses of the valid data, a number of times the valid data has been written, or a timestamp indicating a most recent access of the valid data.
20. The non-transitory computer-readable storage medium of claim 15 , wherein the operations further comprise:
erasing the victim MU; and
marking the victim MU as free.