主权项 |
1. A storage drive comprising:
a first memory; a second memory having a write cycle lifetime that is less than a write cycle lifetime of the first memory, wherein each of the first memory and the second memory comprises solid-state memory; and a controller configured to
receive a first logical address from a host, wherein the host is separate from the storage drive,determine a write frequency for the first logical address, wherein the write frequency indicates how frequently data is written to the first logical address,based on the write frequency, determine a write frequency ranking for the first logical address, wherein the write frequency ranking is based on (i) a weighted time-decay average of write counts, or (ii) an average of elapsed times of write cycles,determine whether the write frequency ranking is greater than a lowest write frequency ranking of logical addresses of the first memory, andif the write frequency ranking of the first logical address is greater than the lowest write frequency ranking of logical addresses of the first memory, map the logical address with the lowest write frequency ranking in the first memory to the second memory. |