CPC G06F 3/0616 (2013.01) [G06F 3/0647 (2013.01); G06F 3/0673 (2013.01)] | 22 Claims |
1. A memory system comprising:
a memory device; and
a memory sub-system controller, operatively coupled with the memory device, and configured to perform operations comprising:
determining to perform a hot-cold swap based on a minimum write count value of first write count values for a first set of mapped management groups exceeds, by more than a predetermined offset, a minimum write count value of second write count values for a second set of unmapped management groups;
in response to the determining to perform the hot-cold swap, selecting a first management group of the first set and a second management group of the second set for a swap operation; and
performing the swap operation by:
transferring data from the first management group to the second management group; and
modifying a mapping data structure to map the second management group and unmap the first management group, wherein the mapping data structure comprises, for each management group of the first set and each management group of the second set, a fresh write count that indicates a number of writes since a hot-cold swap was performed.
|