CPC G06F 3/064 (2013.01) [G06F 3/0616 (2013.01); G06F 3/0656 (2013.01); G06F 3/0679 (2013.01)] | 10 Claims |
1. A method of performing wear leveling in a memory device, the memory device comprising a plurality of blocks, the method including:
receiving data to be written transmitted by a host in the memory device;
determining whether the data to be written is in a common data format or in a uncommon data format;
predicting the data to be written as a first type of data or a second type of data in the common data format;
referencing an erase count table in an erase count table buffer of the memory device; and
in response that the data to be written is predicted as the first type of data, writing the data to be written into the block with a highest erase count among these blocks, and in response that the data to be written is predicted as the second type of data, writing the data to be written into the block with a lowest erase count among these blocks,
wherein in response that the data to be written has the uncommon data format, the data to be written is written to the block with the lowest erase count.
|