Search

CN-118672939-B - Snapshot read optimization for media management of memory subsystems

CN118672939BCN 118672939 BCN118672939 BCN 118672939BCN-118672939-B

Abstract

The application relates to snapshot read optimization for media management of a memory subsystem. A plurality of entries associated with media management operations of a plurality of delivery units are stored. Respective destination locations for each of the respective delivery units are determined in connection with a garbage disposal process such that a subset of the plurality of delivery units are aligned with codeword boundaries on a memory page. Issuing a plurality of write commands related to the media management operation based at least in part on the determination.

Inventors

  • Antonio David Bianco
  • SAKEL isamohidin Bukhari

Assignees

  • 美光科技公司

Dates

Publication Date
20260512
Application Date
20201217
Priority Date
20191219

Claims (20)

  1. 1. A method for memory operation, comprising: Storing a plurality of entries associated with a set of media management operations for a plurality of delivery units, wherein the plurality of entries includes location information for the plurality of delivery units; Determining a destination location of a delivery unit related to the set of media management operations based at least in part on alignment with a codeword boundary such that the delivery unit is aligned with the codeword boundary on a memory page, wherein the codeword boundary is associated with one or more delivery units of the plurality of delivery units including at least the delivery unit, and Based at least in part on determining the destination location of the delivery unit associated with the set of media management operations, issuing a write command associated with the set of media management operations, wherein the write command includes instructions to write the delivery unit to the destination location.
  2. 2. The method as recited in claim 1, further comprising: The plurality of entries are ordered based at least in part on the destination locations of the transfer units, wherein the destination locations are determined based at least in part on the ordering of the plurality of entries.
  3. 3. The method as recited in claim 2, further comprising: The plurality of entries is ordered such that entries corresponding to a subset of the plurality of transfer units are consecutive.
  4. 4. The method of claim 1, wherein a data size corresponding to the transfer unit is the same as a codeword size associated with the codeword boundary on the memory page.
  5. 5. The method as recited in claim 1, further comprising: After issuing the write command, a read operation of the pass unit is performed.
  6. 6. The method as recited in claim 1, further comprising: A destination location of a second transfer unit is determined such that the second transfer unit is aligned with a second codeword boundary on the memory page, the second transfer unit not overlapping the first transfer unit.
  7. 7. A method for memory operation, comprising: Storing a plurality of entries associated with a set of media management operations for a plurality of delivery units, wherein the plurality of entries includes location information for the plurality of delivery units; determining a destination location of a delivery unit related to the set of media management operations based at least in part on alignment with a codeword boundary such that the delivery unit is aligned with the codeword boundary on a memory page, wherein the codeword boundary is associated with one or more delivery units of the plurality of delivery units including at least the delivery unit; Sorting the plurality of entries according to a sorting algorithm that groups entries of a subset of the plurality of transfer units based at least in part on a codeword size of the memory page, wherein the plurality of entries are sorted based at least in part on the destination locations of the transfer units, wherein the destination locations are determined based at least in part on sorting the plurality of entries, and Based at least in part on determining the destination location of the delivery unit associated with the set of media management operations, issuing a write command associated with the set of media management operations, wherein the write command includes instructions to write the delivery unit to the destination location.
  8. 8. The method of claim 7, wherein each of the subset of the plurality of transfer units corresponds to the codeword size.
  9. 9. An apparatus for performing a memory operation, comprising: multiple memory devices A controller coupled to the plurality of memory devices, wherein the controller is operable to cause the apparatus to: Storing a plurality of entries associated with a set of media management operations for a plurality of delivery units, wherein the plurality of entries includes location information for the plurality of delivery units; Determining a destination location of a delivery unit related to the set of media management operations based at least in part on alignment with a codeword boundary such that the delivery unit is aligned with the codeword boundary on a memory page, wherein the codeword boundary is associated with one or more delivery units of the plurality of delivery units including at least the delivery unit, and Based at least in part on determining the destination location of the delivery unit associated with the set of media management operations, issuing a write command associated with the set of media management operations, wherein the write command includes instructions to write the delivery unit to the destination location.
  10. 10. The apparatus of claim 9, wherein the controller is operable to cause the apparatus to: The plurality of entries are ordered based at least in part on the destination locations of the transfer units, wherein the destination locations are determined based at least in part on the ordering of the plurality of entries.
  11. 11. The apparatus of claim 10, wherein the controller is operable to cause the apparatus to: The plurality of entries is ordered such that entries corresponding to a subset of the plurality of transfer units are consecutive.
  12. 12. The apparatus of claim 9, wherein a data size corresponding to the transfer unit is the same as a codeword size associated with the codeword boundary on the memory page.
  13. 13. The apparatus of claim 9, wherein the controller is operable to cause the apparatus to: After issuing the write command, a read operation of the pass unit is performed.
  14. 14. The apparatus of claim 9, wherein the controller is operable to cause the apparatus to: A destination location of a second transfer unit is determined such that the second transfer unit is aligned with a second codeword boundary on the memory page, the second transfer unit not overlapping the first transfer unit.
  15. 15. An apparatus for performing a memory operation, comprising: multiple memory devices A controller coupled to the plurality of memory devices, wherein the controller is operable to cause the apparatus to: Storing a plurality of entries associated with a set of media management operations for a plurality of delivery units, wherein the plurality of entries includes location information for the plurality of delivery units; determining a destination location of a delivery unit related to the set of media management operations based at least in part on alignment with a codeword boundary such that the delivery unit is aligned with the codeword boundary on a memory page, wherein the codeword boundary is associated with one or more delivery units of the plurality of delivery units including at least the delivery unit; Sorting the plurality of entries according to a sorting algorithm that groups entries of a subset of the plurality of transfer units based at least in part on a codeword size of the memory page, wherein the plurality of entries are sorted based at least in part on the destination locations of the transfer units, wherein the destination locations are determined based at least in part on sorting the plurality of entries, and Based at least in part on determining the destination location of the delivery unit associated with the set of media management operations, issuing a write command associated with the set of media management operations, wherein the write command includes instructions to write the delivery unit to the destination location.
  16. 16. The apparatus of claim 15, wherein each of the subset of the plurality of pass units corresponds to the codeword size.
  17. 17. A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to: Storing a plurality of entries associated with a set of media management operations for a plurality of delivery units, wherein the plurality of entries includes location information for the plurality of delivery units; Determining a destination location of a delivery unit related to the set of media management operations based at least in part on alignment with a codeword boundary such that the delivery unit is aligned with the codeword boundary on a memory page, wherein the codeword boundary is associated with one or more delivery units of the plurality of delivery units including at least the delivery unit, and Based at least in part on determining the destination location of the delivery unit associated with the set of media management operations, issuing a write command associated with the set of media management operations, wherein the write command includes instructions to write the delivery unit to the destination location.
  18. 18. The non-transitory computer-readable storage medium of claim 17, wherein the processing device is further configured to: The plurality of entries are ordered based at least in part on the destination locations of the transfer units, wherein the destination locations are determined based at least in part on the ordering of the plurality of entries.
  19. 19. The non-transitory computer-readable storage medium of claim 18, wherein the processing device is further configured to: The plurality of entries is ordered such that entries corresponding to a subset of the plurality of transfer units are consecutive.
  20. 20. A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to: Storing a plurality of entries associated with a set of media management operations for a plurality of delivery units, wherein the plurality of entries includes location information for the plurality of delivery units; determining a destination location of a delivery unit related to the set of media management operations based at least in part on alignment with a codeword boundary such that the delivery unit is aligned with the codeword boundary on a memory page, wherein the codeword boundary is associated with one or more delivery units of the plurality of delivery units including at least the delivery unit; Sorting the plurality of entries according to a sorting algorithm that groups entries of a subset of the plurality of transfer units based at least in part on a codeword size of the memory page, wherein the plurality of entries are sorted based at least in part on the destination locations of the transfer units, wherein the destination locations are determined based at least in part on sorting the plurality of entries, and Based at least in part on determining the destination location of the delivery unit associated with the set of media management operations, issuing a write command associated with the set of media management operations, wherein the write command includes instructions to write the delivery unit to the destination location.

Description

Snapshot read optimization for media management of memory subsystems Information related to divisional application The present application is a divisional application. The parent application is the application patent application with the application number 202011493111.2 and the application name of snapshot read optimization for media management of a memory subsystem, wherein the application number is 12/17 of 2020. Cross reference This patent application claims priority to U.S. patent application Ser. No. 16/721,712 entitled "Snapshot read optimization for media management of memory subsystems" filed by Bianco et al at 2019, 12, month 19, which is assigned to the assignee hereof and expressly incorporated herein by reference in its entirety. Technical Field The technical field relates to snapshot read optimization for media management of a memory subsystem. Background The memory subsystem may include one or more memory components that store data. The memory component may be, for example, a non-volatile memory component and a volatile memory component. In general, a host system may utilize a memory subsystem to store data at and retrieve data from a memory component. Disclosure of Invention A method is described. In some examples, the method includes storing a plurality of entries associated with a set of media management operations for a plurality of delivery units, each entry including a location of a respective delivery unit of the plurality of delivery units on a memory page associated with a memory subsystem, determining a respective destination location of each of the respective delivery units related to the set of media management operations such that a subset of the plurality of delivery units is aligned with a codeword boundary on the memory page, and issuing a plurality of write commands related to the set of media management operations based at least in part on the determining, each write command including an instruction to write one of the delivery units in the subset to the respective destination location on the memory page. A system is described. In some examples, the system may include a plurality of memory devices and a processing device operably coupled with the plurality of memory devices to store a plurality of entries corresponding to a plurality of transfer units associated with a set of media management operations for the plurality of memory devices, determine respective destination locations for each of the plurality of transfer units such that a subset of the plurality of transfer units corresponds to a codeword on a memory page, and issue a plurality of write commands related to the set of media management operations based at least in part on the determination, the plurality of write commands including instructions to write the subset of the plurality of transfer units to the respective destination locations on the memory page. A non-transitory computer-readable storage medium is described. In some examples, a non-transitory computer-readable storage medium may include instructions that, when executed by a processing device, cause the processing device to store a plurality of entries associated with a set of media management operations for a plurality of transfer units, each entry including a location of a respective transfer unit of the plurality of transfer units on a memory page associated with a memory subsystem, determine a destination location of each of the respective transfer units related to the set of media management operations such that a subset of the plurality of transfer units are aligned with codeword boundaries on the memory page, and issue a plurality of write commands related to the set of media management operations based at least in part on the determination, each write command including instructions to write one transfer unit of the subset to a respective destination location on the memory page. Drawings The present disclosure will be understood more fully from the detailed description given below and from the accompanying drawings of various examples of the disclosure. However, the drawings should not limit the disclosure to specific examples, but are for explanation and understanding only. FIG. 1 illustrates an example computing system including a memory subsystem according to some examples of this disclosure. FIG. 2 is a flowchart of an example method for optimizing snapshot reads for media management of a memory subsystem, according to some examples of the present disclosure. FIG. 3 is a block diagram of an example method for optimizing snapshot reads for media management of a memory subsystem, according to some examples of the present disclosure. FIG. 4 is a diagram of an example scoreboard for performing snapshot read optimization for media management of a memory subsystem, according to some examples of the present disclosure. FIG. 5 is a block diagram of an example computer system in which examples of the present disclosure may operate. Detailed Descript