| CPC G06F 3/0647 (2013.01) [G06F 3/0616 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01)] | 20 Claims |

|
1. A system comprising:
a memory device; and
a processing device, operatively coupled with the memory device, to perform operations comprising:
periodically performing a first wear leveling operation using a direct mapping function on a data management unit of the memory device at a first frequency; and
periodically performing a second wear leveling operation using indirect mapping on groups of data management units of the memory device at a second frequency, wherein the second wear leveling operation is performed less frequently than the first wear leveling operation, and wherein periodically performing the second wear leveling operation comprises:
detecting an occurrence of a trigger corresponding to the second wear leveling operation:
identifying an available physical location of a plurality of physical locations on the memory device, wherein the available physical location is identified based on respective write counts of the plurality of physical locations on the memory device;
copying data from one of the groups of data management units to the available physical location; and
updating an entry in a look-up table, the entry corresponding to a logical index associated with the data from the one of the groups of data management units and indicating a physical index corresponding to the available physical location.
|