CPC G06F 12/0246 (2013.01) [G06F 2212/7205 (2013.01)] | 20 Claims |
1. A method for performing defragmentation on a plurality of sets of source memory bands of a device, each set of source memory bands comprising at least one source memory band storing data of a respective data type and wherein each of the at least one source memory band comprises at least one portion of valid data, the method comprising:
determining, by processing circuitry of the device, a respective merit score corresponding to each source memory band of each set of source memory bands based on at least one characteristic of at least one respective portion of data of each corresponding source memory band;
for each set of source memory bands, determining, by the processing circuitry, a respective source memory band that corresponds to a second-highest merit score;
identifying, by the processing circuitry, a set of source memory bands from the plurality of sets of source memory bands that comprises a source memory band corresponding to a highest second-highest merit score; and
storing, by the processing circuitry, at least one portion of valid data from the at least one source memory band of the identified set of source memory bands to a defragmentation destination memory band.
|