IP Library Granted Patent US 12,032,853
Granted Patent B2
US 12,032,853 · App. 17/584,077 · Granted Jul 9, 2024

Data relocation scheme selection for a memory system

Inventors: Rakeshkumar Dayabhai Vaghasiya (Hyderabad, IN); Nicola Colella (Capodrise, IT); Mani Raghavendra Aravapalli (Hyderabad, IN); Anil Sindhi (Hyderabad, IN); Dhruv Chauhan (Hyderabad, IN)
Assignee: Micron Technology, Inc.
G06F3/0659G06F3/0619G06F3/064G06F3/0647G06F3/0679
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,032,853
App. No.
17/584,077
Granted
Jul 9, 2024
Kind
B2
Abstract

Methods, systems, and devices for data relocation scheme selection for a memory system are described. A system may select, based on a fragmentation characteristic of data associated with a block of addresses, whether to perform a relocation associated with relocating invalid data, or to perform a relocation associated with refraining from relocating invalid data. A relocation associated with relocating invalid data may be selected for relatively more-fragmented data, which may avoid a relatively higher latency or processing load associated with evaluating validity or updating logical-to-physical mapping at a more-granular level. A relocation associated with refraining from relocating invalid data may be selected for relatively less-fragmented data, which may support increasing available space by relocating data to a physical block with available portions that may be written to, taking advantage of a relatively lower latency or processing load associated with evaluating validity or updating logical-to-physical mapping at a less-granular level.

Claims (51)

1. An A memory system, comprising:

one or more memory devices; and

processing circuitry coupled with the one or more memory devices and configured to cause the memory system to:

determine to relocate data associated with a logical block associated with the one or more memory devices;

select, after determining to relocate the data associated with the logical block and based at least in part on a fragmentation characteristic of the data associated with the logical block, whether to perform either a relocation operation associated with relocating invalid data of the logical block or a relocation operation associated with refraining from relocating invalid data of the logical block; and

perform the selected relocation operation on the logical block based at least in part on determining to relocate the data associated with the logical block.

2. The memory system of claim 1 , wherein performing the relocation operation associated with relocating invalid data is associated with refraining from updating a logical-to-physical mapping associated with the logical block.

3. The memory system of claim 1 , wherein, for the selecting, the processing circuitry is configured to cause the memory system to:

select whether to perform a first relocation operation associated with relocating invalid data, the first relocation operation associated with relocating all of the data associated with the logical block, or to perform a second relocation operation associated with relocating invalid data, the second relocation operation associated with evaluating, for each subblock of the logical block, whether to relocate all of the data associated with the subblock or to refrain from relocating invalid data associated with the subblock.

4. The memory system of claim 3 , wherein the evaluating, for each subblock of the logical block, is based at least in part on a respective fragmentation characteristic associated with a respective subblock.

5. The memory system of claim 3 , wherein the evaluating, for each subblock of the logical block, is based at least in part on a proportion of the data associated with the subblock that is valid data and an available capacity associated with the subblock.

6. The memory system of claim 1 , wherein the fragmentation characteristic of the data associated with the logical block is associated with a size or a quantity of non-sequential data portions associated with the logical block.

7. The memory system of claim 1 , wherein the processing circuitry is further configured to cause the memory system to:

determine the fragmentation characteristic of the data associated with the logical block based at least in part on a quantity of updates to a logical-to-physical mapping associated with the logical block and a quantity of invalid pages associated with the logical block.

8. The memory system of claim 7 , wherein the processing circuitry is further configured to cause the memory system to:

perform the relocation operation associated with refraining from relocating invalid data; and

reset a counter associated with the quantity of updates to the logical-to-physical mapping based at least in part on performing the relocation operation associated with refraining from relocating invalid data.

9. The memory system of claim 1 , wherein the processing circuitry is further configured to cause the memory system to:

identify an error associated with the logical block, wherein determining to relocate the data associated with the logical block is based at least in part on identifying the error.

10. A non-transitory computer-readable medium storing code comprising instructions which, when executed by processing circuitry of an electronic device, cause the electronic device to:

determine to relocate data associated with a logical block of a memory system;

select, after determining to relocate the data associated with the logical block and based at least in part on a fragmentation characteristic of the data associated with the logical block, whether to perform either a relocation operation associated with relocating invalid data of the logical block or a relocation operation associated with refraining from relocating invalid data of the logical block; and

perform the selected relocation operation on the logical block based at least in part on determining to relocate the data associated with the logical block.

11. The non-transitory computer-readable medium of claim 10 , wherein the instructions to perform the relocation operation associated with relocating invalid data, when executed by the processing circuitry of the electronic device, cause the electronic device to refrain from updating a logical-to-physical mapping associated with the logical block.

12. The non-transitory computer-readable medium of claim 10 , wherein the instructions for the selecting, when executed by the processing circuitry of the electronic device, cause the electronic device to:

select whether to perform a first relocation operation associated with relocating invalid data, the first relocation operation associated with relocating all of the data associated with the logical block, or to perform a second relocation operation associated with relocating invalid data, the second relocation operation associated with evaluating, for each subblock of the logical block, whether to relocate all of the data associated with the subblock or to refrain from relocating invalid data associated with the subblock.

13. The non-transitory computer-readable medium of claim 12 , wherein the instructions for the evaluating, for each subblock of the logical block, are based at least in part on a respective fragmentation characteristic associated with a respective subblock.

14. The non-transitory computer-readable medium of claim 12 , wherein the instructions for the evaluating, for each subblock of the logical block, are based at least in part on a proportion of the data associated with the subblock that is valid data and an available capacity associated with the subblock.

15. The non-transitory computer-readable medium of claim 10 , wherein the fragmentation characteristic of the data associated with the logical block is associated with a size or a quantity of non-sequential data portions associated with the logical block.

16. The non-transitory computer-readable medium of claim 10 , wherein the instructions are further executable by the processing circuitry to:

determine the fragmentation characteristic of the data associated with the logical block based at least in part on a quantity of updates to a logical-to-physical mapping associated with the logical block and a quantity of invalid pages associated with the logical block.

17. The non-transitory computer-readable medium of claim 16 , wherein the instructions, when executed by the processing circuitry of the electronic device, further cause the electronic device to:

perform the relocation operation associated with refraining from relocating invalid data; and

reset a counter associated with the quantity of updates to the logical-to-physical mapping based at least in part on performing the relocation operation associated with refraining from relocating invalid data.

18. The non-transitory computer-readable medium of claim 10 , wherein the instructions, when executed by the processing circuitry of the electronic device, further cause the electronic device to:

identify an error associated with the logical block, wherein determining to relocate the data associated with the logical block is based at least in part on identifying the error.

19. A method, comprising:

determining to relocate data associated with a logical block of a memory system;

selecting, after determining to relocate the data associated with the logical block and based at least in part on a fragmentation characteristic of the data associated with the logical block, whether to perform either a relocation operation associated with relocating invalid data of the logical block or a relocation operation associated with refraining from relocating invalid data of the logical block; and

performing the selected relocation operation on the logical block based at least in part on determining to relocate the data associated with the logical block.

20. The method of claim 19 , wherein performing the relocation operation associated with relocating invalid data is associated with refraining from updating a logical-to-physical mapping associated with the logical block.

21. The method of claim 19 , wherein the selecting comprises:

selecting whether to perform a first relocation operation associated with relocating invalid data, the first relocation operation associated with relocating all of the data associated with the logical block, or to perform a second relocation operation associated with relocating invalid data, the second relocation operation associated with evaluating, for each subblock of the logical block, whether to relocate all of the data associated with the subblock or to refrain from relocating invalid data associated with the subblock.

22. The method of claim 19 , wherein the fragmentation characteristic of the data associated with the logical block is associated with a size or a quantity of non-sequential data portions associated with the logical block.

23. The method of claim 19 , further comprising:

determining the fragmentation characteristic of the data associated with the logical block based at least in part on a quantity of updates to a logical-to-physical mapping associated with the logical block and a quantity of invalid pages associated with the logical block.

24. The method of claim 23 , further comprising:

performing the relocation operation associated with refraining from relocating invalid data; and

resetting a counter associated with the quantity of updates to the logical-to-physical mapping based at least in part on performing the relocation operation associated with refraining from relocating invalid data.

25. The method of claim 19 , further comprising:

identifying an error associated with the logical block, wherein determining to relocate the data associated with the logical block is based at least in part on identifying the error.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 31, 2022
From: VAGHASIYA, RAKESHKUMAR DAYABHAI; COLELLA, NICOLA; ARAVAPALLI, MANI RAGHAVENDRA; SINDHI, ANILKUMAR RAMESHBHAI; CHAUHAN, DHRUV
To: MICRON TECHNOLOGY, INC.
Reel/Frame 058832/0448 →
Continuity (1)
Related Publication 20230236762A1 · Jul 27, 2023