Techniques for improving host write performance during data folding
By writing data from busy dies to accessible dies during data folding, performance degradation caused by concurrent host write and transfer operations is resolved and efficient host write and buffer management is achieved.
Patent Information
- Application Number
- CN202410198973.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-02-08
- Filing Date
- 2024-02-22
- Publication Date
- 2024-08-23
AI Technical Summary
During data folding, host write performance is affected by pauses or delays in concurrent host write and transfer operations, causing buffer fills and host write command rejections, reducing memory system efficiency.
By writing data from busy dies instead to accessible dies during transfer operations, buffer filling is avoided, concurrent host writes are supported, and data is reordered during folding to accommodate sequential read operations.
This enables host writing to continue without pausing the folding operation, reducing data block release latency, improving host writing performance, and reducing buffer usage and performance degradation.
Smart Images

Figure CN118535083A_ABST
Abstract
Description
[0001] Cross-references
[0002] This patent application claims priority to U.S. patent application No. 18 / 437,076, filed by Gohain et al. on February 8, 2024, entitled “TECHNIQUES FOR IMPROVING HOST WRITEPERFORMANCE DURING DATA FOLDING,” and U.S. provisional patent application No. 63 / 486,370, filed by Gohain et al. on February 22, 2023, entitled “TECHNIQUES FOR IMPROVING HOST WRITEPERFORMANCE DURING DATA FOLDING,” each of which is assigned to the present assignee and each of which is expressly incorporated herein by reference in its entirety.
[0003] TECHNICAL FIELD The present invention relates to techniques for improving host write performance during data folding. Background Art
[0004] Memory devices are widely used to store information in devices such as computers, user devices, wireless communication devices, cameras, digital displays, etc. Information is stored by programming memory cells within the memory device to various states. For example, a binary memory cell is programmable to one of two supported states, often indicated by a logical 1 or a logical 0. In some examples, a single memory cell may support more than two states, either of which may be stored. To access the stored information, a memory device may read (e.g., sense, detect, retrieve, determine) a state from a memory cell. To store information, a memory device may write (e.g., program, set, assign) a state to a memory cell.
[0005] There are various types of memory devices, including magnetic hard disks, random access memory (RAM), read-only memory (ROM), dynamic RAM (DRAM), synchronous dynamic RAM (SDRAM), static RAM (SRAM), ferroelectric RAM (FeRAM), magnetic RAM (MRAM), resistive RAM (RRAM), flash memory, phase change memory (PCM), optional memory, chalcogenide memory technology, NOR and NAND memory devices, etc. Memory cells can be described with respect to volatile configurations or non-volatile configurations. Memory cells configured in a non-volatile configuration can maintain a stored logic state for a long period of time even in the absence of an external power source. Memory cells configured in a volatile configuration may lose the stored state when disconnected from the external power source. Summary of the invention
[0006] An apparatus is described. The apparatus may include: a memory device; and a controller coupled to the memory device and configured to cause the apparatus to: determine to transfer first data from one or more source data blocks of a memory system to one or more destination data blocks of the memory system, wherein the one or more source data blocks and the one or more destination data blocks are associated with one or more memory dies in a set of memory dies in the memory system; receive a command from a host system to write second data to a first memory die of the one or more memory dies; and while transferring the first data, write the second data to a second memory die in the set of memory dies that is different from the one or more memory dies associated with the transfer of the first data based at least in part on the transfer of the first data being associated with the first memory die.
[0007] A non-transitory computer-readable medium is described. The non-transitory computer-readable medium may store code including instructions that, when executed by a processor of an electronic device, cause the electronic device to: determine to transfer first data from one or more source data blocks of a memory system to one or more destination data blocks of the memory system, wherein the one or more source data blocks and the one or more destination data blocks are associated with one or more memory dies in a set of memory dies in the memory system; receive a command from a host system to write second data to a first memory die in the one or more memory dies; and while transferring the first data, write the second data to a second memory die in the set of memory dies that is different from the one or more memory dies associated with the transfer of the first data based at least in part on the transfer of the first data being associated with the first memory die.
[0008] A method is described. The method may include: determining to transfer first data from one or more source data blocks of a memory system to one or more destination data blocks of the memory system, wherein the one or more source data blocks and the one or more destination data blocks are associated with one or more memory dies in a set of memory dies in the memory system; receiving a command from a host system to write second data to a first memory die of the one or more memory dies; and while transferring the first data, writing the second data to a second memory die in the set of memory dies that is different from the one or more memory dies associated with the transfer of the first data based at least in part on the transfer of the first data being associated with the first memory die. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 An example of a system supporting techniques for improving host write performance during data folding according to examples as disclosed herein is described.
[0010] Figure 2An example of a data storage graph supporting techniques for improving host write performance during data folding according to examples as disclosed herein is illustrated.
[0011] Figure 3A and 3B An example of a buffer state diagram supporting techniques for improving host write performance during data folding is illustrated according to examples as disclosed herein.
[0012] Figure 4 An example of a parity data generation graph supporting techniques for improving host write performance during data folding according to examples as disclosed herein is illustrated.
[0013] Figure 5 A block diagram illustrating a memory system supporting techniques for improving host write performance during data folding according to examples as disclosed herein.
[0014] Figure 6 The description shows a flow chart of one or more methods supporting techniques for improving host write performance during data folding according to examples as disclosed herein. DETAILED DESCRIPTION
[0015] A memory system may include a die for storing data, such as data received from a host system. In some examples, programming data to a corresponding die of a die may involve receiving one or more commands to write data to one or more data blocks of the die, temporarily storing the data in a buffer, and writing the data to memory cells (e.g., single-level cells (SLC), multi-level cells (MLC), triple-level cells (TLC), or quad-level cells (QLC)) of the data blocks according to the commands. For example, the memory system may then transfer (e.g., fold) the data to QLCs of other data blocks of the memory system. In some examples, writing data to a lower storage density memory cell (e.g., SLC, MLC, or TLC) may be faster than folding the data to a higher storage density memory cell (e.g., QLC). Thus, by transferring (e.g., folding) data from lower storage density memory cells to higher storage density memory cells, the memory system can free up one or more data blocks comprising lower storage density memory cells for further host writes (e.g., write operations performed in response to commands received from the host system) or other operations while consolidating information within data blocks comprising higher storage density memory cells to improve storage efficiency.
[0016] In some cases, a host system coupled to a memory system may perform access operations (e.g., write data) to one or more data blocks of a die while the memory system performs a transfer (e.g., folding) operation (e.g., transferring data from a source data block set including one or more data blocks) to one or more dies including the die. However, the memory system may not support performing a host-initiated access operation (e.g., host write) simultaneously with a transfer (e.g., folding) operation to the same die, and thus the die may not be able to accommodate the host access operation until after the transfer (e.g., folding) is completed or unless the transfer (e.g., folding) operation is temporarily delayed (e.g., paused, aborted). However, delaying the host access operation may reduce host write performance, while delaying the transfer (e.g., folding) operation may reduce the number of data blocks that are freed and available to accommodate additional host data (e.g., lower storage density data blocks). Furthermore, in such a scenario, host data intended to be written to the data blocks of the die occupied by the transfer (e.g., folding) may remain in a buffer (e.g., a buffer of a memory controller) during the transfer (e.g., folding). However, due to the relatively long duration of the transfer (e.g., fold) operation, the buffer may fill with additional host data before the transfer (e.g., fold) is complete, resulting in the memory system being unable to support (e.g., reject) one or more host access (e.g., write) commands. That is, if the buffer fills up, host writes may be suspended until after the transfer (e.g., fold) is complete and the data from the buffer is flushed to the corresponding die, further degrading host write performance.
[0017] To avoid pausing a transfer (e.g., folding) or delaying (e.g., rejecting) a host write during a concurrent host write and transfer (e.g., folding) operation, data intended for a busy die (e.g., a die occupied by a transfer) may be written to an accessible die (e.g., a die not occupied by a transfer) instead. In this manner, a transfer (e.g., folding) may continue while supporting concurrent host writes. For example, host data from a buffer may be flushed to an accessible die (e.g., instead of an intended busy die), which may prevent the buffer from filling and pausing subsequent host writes. Thus, host writes may continue without pausing a folding operation (and vice versa), thereby improving host write performance and reducing latency for data block release. In some examples, a portion of a buffer (e.g., a cache) may be allocated for temporarily storing data to be written to an accessible die. Furthermore, data may be reordered during a transfer (e.g., folding) to accommodate one or more sequential read operations, thereby supporting out-of-order writes to non-target dies as described herein, as well as other benefits.
[0018] Initially in reference Figure 1 Features of the present disclosure are described in the context of systems, devices, and circuits. Figures 2 to 4Features of the present disclosure are described in the context of data storage diagrams, buffer state diagrams, and parity data generation diagrams of FIG. These and other features of the present disclosure are described in the context of data storage diagrams, buffer state diagrams, and parity data generation diagrams of FIG. Figures 5 to 6 The present invention is further illustrated and described in the context of block diagrams and flow charts of techniques for improving host write performance during data folding.
[0019] Figure 1 An example of a system 100 supporting techniques for improving host write performance during data folding according to examples as disclosed herein is illustrated. The system 100 includes a host system 105 coupled to a memory system 110.
[0020] The memory system 110 may be or include any device or set of devices, wherein the device or set of devices includes at least one memory array. For example, the memory system 110 may be or include a universal flash storage (UFS) device, an embedded multimedia controller (eMMC) device, a flash device, a universal serial bus (USB) flash device, a secure digital (SD) card, a solid state drive (SSD), a hard disk drive (HDD), a dual in-line memory module (DIMM), a small outline DIMM (SO-DIMM), or a non-volatile DIMM (NVDIMM), among other possibilities.
[0021] System 100 may be included in a computing device such as a desktop computer, a laptop computer, a network server, a mobile device, a vehicle (e.g., an airplane, drone, train, car, or other transportation vehicle), an Internet of Things (IoT) enabled device, an embedded computer (e.g., an embedded computer included in a vehicle, industrial equipment, or a networked business device), or any other computing device that includes a memory and a processing device.
[0022] The system 100 may include a host system 105 that may be coupled to a memory system 110. In some examples, this coupling may include an interface with a host system controller 106, which may be an example of a controller or control component configured to cause the host system 105 to perform various operations according to examples as described herein. The host system 105 may include one or more devices, and in some cases, may include a processor chipset and a software stack executed by the processor chipset. For example, the host system 105 may include an application configured to communicate with the memory system 110 or a device therein. The processor chipset may include one or more cores, one or more caches (e.g., memory local to or included in the host system 105), a memory controller (e.g., an NVDIMM controller), and a storage protocol controller (e.g., a peripheral component interconnect express (PCIe) controller, a serial advanced technology attachment (SATA) controller). The host system 105 may use the memory system 110, for example, to write data to and read data from the memory system 110. Although in Figure 1 One memory system 110 is shown in FIG. 1 , but the host system 105 may be coupled to any number of memory systems 110 .
[0023] The host system 105 may be coupled to the memory system 110 via at least one physical host interface. In some cases, the host system 105 and the memory system 110 may be configured to communicate via the physical host interface using an associated protocol (e.g., to exchange or otherwise communicate control, address, data, and other signals between the memory system 110 and the host system 105). Examples of physical host interfaces may include, but are not limited to, a SATA interface, a UFS interface, an eMMC interface, a PCIe interface, a USB interface, a Fibre Channel interface, a Small Computer System Interface (SCSI), a Serial Attached SCSI (SAS), a Double Data Rate (DDR) interface, a DIMM interface (e.g., a DIMM socket interface supporting DDR), an Open NAND Flash Interface (ONFI), and a Low Power Double Data Rate (LPDDR) interface. In some examples, one or more such interfaces may be included in or otherwise supported between a host system controller 106 of the host system 105 and a memory system controller 115 of the memory system 110. In some examples, the host system 105 may be coupled to the memory system 110 via a respective physical host interface for each memory device 130 included in the memory system 110 or via a respective physical host interface for each type of memory device 130 included in the memory system 110 (e.g., the host system controller 106 may be coupled to the memory system controller 115).
[0024] The memory system 110 may include a memory system controller 115 and one or more memory devices 130. The memory devices 130 may include one or more memory arrays of any type of memory cells (eg, non-volatile memory cells, volatile memory cells, or any combination thereof). Figure 1 , two memory devices 130-a and 130-b are shown in the example of , but the memory system 110 may include any number of memory devices 130. Furthermore, if the memory system 110 includes more than one memory device 130, different memory devices 130 within the memory system 110 may include the same or different types of memory cells.
[0025] The memory system controller 115 may be coupled and communicate with the host system 105 (e.g., via a physical host interface), and may be an example of a controller or control component configured to cause the memory system 110 to perform various operations according to the examples as described herein. The memory system controller 115 may also be coupled and communicate with the memory devices 130 to perform operations that may generally be referred to as access operations at the memory devices 130, such as reading data, writing data, erasing data, or refreshing data, and other such operations. In some cases, the memory system controller 115 may receive commands from the host system 105 and communicate with one or more memory devices 130 to perform such commands (e.g., at a memory array within the one or more memory devices 130). For example, the memory system controller 115 may receive commands or operations from the host system 105 and may convert the commands or operations into instructions or appropriate commands to achieve the desired access to the memory devices 130. In some cases, the memory system controller 115 may exchange data (e.g., in response to or otherwise associated with commands from the host system 105) with the host system 105 and with one or more memory devices 130. For example, the memory system controller 115 may convert responses (e.g., data packets or other signals) associated with the memory devices 130 into corresponding signals for the host system 105.
[0026] The memory system controller 115 may be configured for other operations associated with the memory device 130. For example, the memory system controller 115 may perform or manage operations such as wear leveling operations, garbage collection operations, error control operations such as error detection operations or error correction operations, encryption operations, cache operations, media management operations, background refresh, health monitoring, and address translation between logical addresses (e.g., logical block addresses (LBAs)) associated with commands from the host system 105 and physical addresses (e.g., physical block addresses) associated with memory cells within the memory device 130.
[0027] The memory system controller 115 may include hardware, such as one or more integrated circuits or discrete components, buffer memory, or a combination thereof. The hardware may include circuitry with dedicated (e.g., hard-coded) logic to perform the operations attributed herein to the memory system controller 115. The memory system controller 115 may be or include a microcontroller, dedicated logic circuitry (e.g., a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a digital signal processor (DSP)), or any other suitable processor or processing circuit.
[0028] The memory system controller 115 may also include local memory 120. In some cases, the local memory 120 may include read-only memory (ROM) or other memory that may store operating code (e.g., executable instructions) that may be executed by the memory system controller 115 to perform the functions attributed herein to the memory system controller 115. In some cases, the local memory 120 may additionally or alternatively include static random access memory (SRAM) or other memory that may be used by the memory system controller 115 for, for example, internal storage or computations related to the functions attributed herein to the memory system controller 115.
[0029] The memory device 130 may include one or more arrays of non-volatile memory cells. For example, the memory device 130 may include NAND (e.g., NAND flash) memory, ROM, phase change memory (PCM), self-select memory, other chalcogenide-based memory, ferroelectric random access memory (RAM) (FeRAM), magnetic RAM (MRAM), NOR (e.g., NOR flash) memory, spin transfer torque (STT)-MRAM, conductive bridge RAM (CBRAM), resistive random access memory (RRAM), oxide-based RRAM (OxRAM), electrically erasable programmable ROM (EEPROM), or any combination thereof. Additionally or alternatively, the memory device 130 may include one or more arrays of volatile memory cells. For example, the memory device 130 may include RAM memory cells, such as dynamic RAM (DRAM) memory cells and synchronous DRAM (SDRAM) memory cells.
[0030] In some examples, the memory devices 130 may include (e.g., on the same die or within the same package) a local controller 135 that may perform operations on one or more memory cells of the respective memory devices 130. The local controller 135 may operate in conjunction with the memory system controller 115, or may perform one or more functions attributed herein to the memory system controller 115. For example, Figure 1As illustrated, memory device 130-a may include a local controller 135-a, and memory device 130-b may include a local controller 135-b.
[0031] In some cases, memory device 130 may be or include a NAND device (e.g., a NAND flash device). Memory device 130 may be or include a die 160 (e.g., a memory die). For example, in some cases, memory device 130 may be a package that includes one or more die 160. In some examples, die 160 may be a piece of electronic grade semiconductor cut from a wafer (e.g., a silicon die cut from a silicon wafer). Each die 160 may include one or more planes 165, and each plane 165 may include a set of corresponding blocks 170, wherein each block 170 may include a set of corresponding pages 175, and each page 175 may include a set of memory cells.
[0032] In some cases, the NAND memory device 130 may include memory cells configured to store one bit of information each, which may be referred to as an SLC. Additionally or alternatively, the NAND memory device 130 may include memory cells configured to store multiple bits of information each, which may be referred to as multi-level cells (MLC) when configured to store two bits of information each, TLC when configured to store three bits of information each, QLC when configured to store four bits of information each, or more generally, multi-level memory cells. Multi-level memory cells may provide greater storage density relative to SLC memory cells, but in some cases may involve narrower read or write tolerances or greater complexity for supporting circuitry.
[0033] In some cases, a plane 165 may refer to a group of blocks 170, and in some cases, concurrent operations may be performed on different planes 165. For example, concurrent operations may be performed on memory cells within different blocks 170, as long as the different blocks 170 are in different planes 165. In some cases, individual blocks 170 may be referred to as physical blocks, and a virtual block 180 may refer to a group of blocks 170 within which concurrent operations may occur. For example, concurrent operations may be performed on blocks 170-a, 170-b, 170-c, and 170-d within planes 165-a, 165-b, 165-c, and 165-d, respectively, and blocks 170-a, 170-b, 170-c, and 170-d may be collectively referred to as a virtual block 180. In some cases, a virtual block may include blocks 170 from different memory devices 130 (e.g., blocks in one or more planes including memory device 130-a and memory device 130-b). In some cases, blocks 170 within a virtual block may have the same block address within their respective planes 165 (e.g., block 170-a may be "block 0" of plane 165-a, block 170-b may be "block 0" of plane 165-b, etc.). In some cases, performing concurrent operations in different planes 165 may be subject to one or more restrictions, such as performing concurrent operations on memory cells within different pages 175 that have the same page address within their respective planes 165 (e.g., related to command decoding, page address decoding circuitry, or other circuitry shared across planes 165).
[0034] In some cases, block 170 may include memory cells organized into rows (pages 175) and columns (e.g., strings, not shown). For example, memory cells in the same page 175 may share (e.g., be coupled to) a common word line, and memory cells in the same string may share (e.g., be coupled to) a common digit line (which may alternatively be referred to as a bit line).
[0035] For some NAND architectures, memory cells may be read and programmed (e.g., written) at a first level of granularity (e.g., at a page granularity level), but may be erased at a second level of granularity (e.g., at a block granularity level). That is, a page 175 may be the smallest unit of memory (e.g., a set of memory cells) that may be independently programmed or read (e.g., concurrently programmed or read as part of a single programming or reading operation), and a block 170 may be the smallest unit of memory (e.g., a set of memory cells) that may be independently erased (e.g., concurrently erased as part of a single erase operation). Furthermore, in some cases, a NAND memory cell may be erased before it may be rewritten with new data. Thus, for example, in some cases, a used page 175 may not be updated until the entire block 170 including the page 175 has been erased.
[0036] The system 100 may include any number of non-transitory computer-readable media that support techniques for improving host write performance during data transfer (e.g., folding). As used herein, a transfer of data may include folding. For example, the host system 105 (e.g., host system controller 106), the memory system 110 (e.g., memory system controller 115), or the memory device 130 (e.g., local controller 135) may include or otherwise have access to one or more non-transitory computer-readable media storing instructions (e.g., firmware, logic, code) for performing functions attributed herein to the host system 105, the memory system 110, or the memory device 130. For example, if executed by the host system 105 (e.g., by the host system controller 106), by the memory system 110 (e.g., by the memory system controller 115), or by the memory device 130 (e.g., by the local controller 135), such instructions may cause the host system 105, the memory system 110, or the memory device 130 to perform the associated functions as described herein.
[0037] In some examples, local memory 120 may act as a cache for memory system controller 115. For example, if read from or written to memory device 130, the data may be stored in local memory 120 and the data may be available in local memory 120 for subsequent retrieval or manipulation (e.g., update) by host system 105 according to a cache policy (e.g., latency reduction relative to memory device 130).
[0038] According to examples described herein, to avoid pausing folding or delaying (e.g., rejecting) host writes during concurrent host write and folding operations, data indicated (e.g., by a command) to be written to a busy die 160 (e.g., a die 160 occupied by folding) may be written to an accessible die 160 instead. In this manner, folding may continue while supporting concurrent host writes, thereby improving host write performance and reducing latency to free a block 170 (e.g., including page 175). In some examples, a portion of a buffer (e.g., a local memory 120 acting as a cache for a memory system controller 115) may be allocated for receiving data intended for a busy die 160 (e.g., to be written to an accessible die 160 instead). Thus, at least a portion of the buffer may be used to receive and temporarily store host data prior to writing to an accessible die 160. Furthermore, data may be reordered during folding to accommodate one or more sequential read operations.
[0039] In some examples, the techniques described herein may be used as described in Figure 3A and 3BNo buffer (e.g., local memory 120) is described. Additionally or alternatively, intermittent parity data for a portion of a page line (e.g., including one or more pages 175) may be generated and combined to generate parity data for a page line, as described with reference to FIG. Figure 4 In the event that the memory system is powered off, intermittent parity data, the last written page 175, or both may be stored before power off, and in some cases a read scan may be performed after power on to determine the last written page 175.
[0040] Figure 2 An example of a data storage diagram 200 is illustrated that supports techniques for improving host write performance during data folding according to examples as disclosed herein. The data storage diagram 200 may illustrate a data storage diagram as described in reference to FIG. Figure 1 The operation of one or more components of the described system 100. For example, the data storage diagram 200 may illustrate a memory system 210 including a memory system controller 215, wherein the memory system 210 and the memory system controller 215 may be respectively as described in reference Figure 1 An example of a memory system 110 and a memory system controller 115 is described. The data transfer diagram 200 may illustrate writing data 220 to one or more dies 225 (e.g., dies 225-a to 225-d) and transferring (e.g., folding) data 220 between the one or more dies 225, which may be as described with reference to FIG. Figure 1 160. In some cases, the memory system 210 may support writing data 220 intended for a busy die 225 to an accessible die 225 based on performing a host write while transferring (e.g., folding) data 220 between one or more dies 225. In some examples, the memory system controller 215 may represent a controller that includes volatile memory, such as SRAM and other types of volatile memory. For example, the memory system controller 215 may include a buffer (e.g., including local memory 120) containing SRAM memory.
[0041] Each die 225 may each include any number of source data blocks 230 and destination data blocks 235. In some examples, the data blocks may be as shown in FIG. Figure 1 An example of block 170 is described. Figure 2In an example of, die 225-a may include source data block 230-a, die 225-b may include source data block 230-b and destination data block 235-b, die 225-c may include source data block 230-c and destination data block 235-c, and die 225-d may include source data block 230-d and destination data block 235-d. Each of source data blocks 230 may be operable to store data 220 in one or more pages (e.g., page 175) of the respective source data block 230. In some examples, source data block 230 may represent destination data block 235, or vice versa, depending on how source data block 230 or destination data block 235 is used during one or more access or transfer operations. For example, source data block 230 may be a data block from which data is transferred as part of a folding operation, and destination data block 235 may be a data block to which data is transferred as part of a folding operation.
[0042] In some examples, the data block may be as shown in FIG. Figure 1 2. Portions of one or more virtual blocks 180 or instances thereof are described. For example, virtual block 180 may include one or more data blocks of a single die (e.g., die 225-a), or may include one or more data blocks of multiple dies (e.g., source data blocks 230-a to 230-d). In some examples, memory system 210 may include one or more page lines. For example, a page line may include the same page (e.g., a first page) within each plane of one or more dies 225.
[0043] In some cases, the source data block 230 and the destination data block 235 may include SLCs, MLCs, TLCs, or QLCs at a given time. That is, the memory cells of the data block may be programmed as one type of memory cell at a first time and programmed as a second type of memory cell at a second time (e.g., after erasure of the data block). Lower storage density memory cells (e.g., memory cells storing fewer bits per memory cell, such as SLCs, MLCs, and TLCs) may have faster programming times (e.g., TPROG) than higher storage density memory cells (e.g., QLCs). For example, SLCs and TLCs may have TPROGs of approximately 85 μs and 320 μs, respectively, while QLCs may have TPROGs of approximately 4 ms or longer. In some cases, programming (e.g., writing to QLCs) may include two programming passes, including performing two sets to accurately program one or more QLCs. For example, a first pass of programming for QLC may span a duration of 3 ms, while a second pass of programming for QLC may span a duration of 4 ms. In some cases, the data block to which data is written as part of a host write may be a data block that includes lower storage density memory cells. For example, if used to store data as part of a host write, the source data block 230 may include low storage density memory cells (e.g., SLC, MLC, or TLC), which may allow faster writing to the source data block 230. Additionally or alternatively, the destination data block 235 may include high storage density memory cells (e.g., QLC) to enable compact information storage. In some examples, the source data block 230 may include higher storage density memory cells, such as where it previously served as the destination data block 235.
[0044] In some examples, the memory system 210 may be responsive to, for example, a reference Figure 1The memory system controller 215 may receive one or more commands from the host system 105 to perform one or more access (e.g., write) operations. For example, the memory system controller 215 may receive a command from the host system 105 to write data 220-a1 to the address of the source data block 230-a of the die 225-a. The memory system controller 215 may store the data 220-a1 in a buffer of the memory system controller 215 (e.g., the local memory 120). After storing the data in the buffer, the memory system controller 215 may write the data 220-a1 to the first page of the block 230-a having the indicated address. Similarly, the memory system controller 215 may receive one or more additional commands indicating addresses in the source data blocks 230-a, 230-b, 230-c, and 230-d of the die 225-a, 225-b, 225-c, and 225-d, respectively. For example, the memory system controller 215 may write data 220-a2 and 220-a3 to the die 225-a, may write data 220-b1 and 220-b2 to the die 225-b, may write data 220-c1, 220-c2, and 220-c3 to the die 225-c, and may write data 220-d1 and 220-d2 to the die 225-d. Figure 2 As described in .
[0045] In some examples, the memory system 210 may determine to transfer (e.g., fold) data 220 from one or more of the source data blocks 230 to one or more of the destination data blocks 235. For example, the memory system controller 215 may determine that the amount of available (e.g., free) source data blocks 230 fails to meet a first threshold number of available source data blocks 230 or determine to transfer data 220 during an idle time of the memory system 210 and other reasons for transferring data 220. In some cases, the available source data blocks 230 may be source data blocks 230 that have one or more pages that have not been written to or have been freed (e.g., by garbage collection, folding, erasing). The memory system controller 215 may thereby initiate folding of data 220 from pages of one or more source data blocks 230 to one or more destination data blocks 235 (e.g., initiating a transfer of data 220, such as garbage collected portions) to free up the source data blocks 230. Figure 2 In the example of , the memory system controller 215 may fold data 220-c1 from source data block 230-c to destination data block 235-b. Similarly, the memory system controller 215 may fold data 220-c2 to destination data block 235-c (e.g., within the same die), and may fold data 220-c3 to destination data block 235-d.
[0046] In some examples, the memory system 210 may not support concurrent folding and access operations (e.g., host writes) of the same die 225 at the same time, and may increase the number of die 225 involved in folding operations over time due to this lack of support. In an example, for example, based on the number of available source data blocks 230, the memory system 210 may transition to using 4 die for host writes, 3 die for host writes and 1 die for folding, 2 die for host writes and 2 die for folding, 1 die for host writes and 3 die for folding, and 4 die for folding. For example, as the number of available source data blocks 230 decreases, the memory system 210 may occupy additional die 225 by folding to increase the rate at which source data blocks 230 are made available. In some examples, a buffer (e.g., cache) of the memory system controller 215 (e.g., a portion of the buffer allocated to support host writes) may begin to fill up due to the duration of the fold (e.g., to the QLC) being longer than the duration of the write to the source data block 230 (e.g., to the SLC or TLC). Thus, when the memory system controller 215 receives a command indicating that data 220 is to be written to one or more dies 225 occupied by the fold, the buffer may hold the data 220 instead of performing the host write. Because the fold may be slower than the host write, the buffer may eventually fill up, resulting in the rejection or delay of one or more host write commands. In some cases, the memory system controller 215 may implement one or more operations to perform the fold and the host write concurrently at the die 225, however, this may require additional delays in the host write and a larger number of operations.
[0047] As described herein, the memory system 210 can avoid pausing folding and rejecting one or more host access (e.g., write) commands during concurrent host writes and folding by writing data 220 intended for a busy die 225 instead to an accessible die 225. For example, the memory system controller 215 can receive (e.g., from the host system 105) a command indicating that data 220-b3 is to be written to die 225-b, and can store the data 220-b3 in a buffer of the memory system controller 215. In response to determining that die 225-b is busy with folding (e.g., during a folding operation of data 220-c1 to the QLC of die 225-b), the memory system controller 215 can write the data 220-b3 to die 225-a due to die 225-a being accessible (e.g., not occupied by folding). For example, the memory system controller 215 may write the data 220 - b 3 to the source data block 230 - a concurrently with the folding operation of one or more other dies 225 (eg, dies 225 - b through 225 - d ).
[0048] The memory system 210 may also allocate a portion of the buffer (e.g., volatile memory of the memory system 210) for receiving and temporarily storing data 220 intended for the busy die 225 that may actually be written to the accessible die instead. For example, the number of bits allocated in the buffer may be determined based on the number of planes of each die 225 and the type of storage used for host writes (e.g., SLC or TLC), as described in reference to Figure 3A and 3B In some cases, after the fold operation of die 225-b is completed, memory system controller 215 may receive a command to write additional data 220 to die 225-b, and may write data 220 to die 225-b based on die 225-b being exempt from folding.
[0049] In some examples, the memory system 210 may reorder the data 220 across the dies 225 during one or more folding processes as described herein. For example, the memory system 210 may receive one or more commands to write the data 220-c1, 220-c2, and 220-c3, and the memory system controller 215 may write the data to the source data block 230-c as described herein. However, in some cases, since the data 220 may not be written in the order of a multi-die sequential read (which may be referred to as a Big-Z read), the reordering of the data 220 may be performed during folding. For example, the memory system controller 215 may reorder the data 220-c1, 220-c2, and 220-c3 by folding the data 220 across the dies 225 to the same page line of one or more destination data blocks 235. By folding the data 220 to the same page line, the data 220-c1 to 220-c3 may be read sequentially across the dies 225. Reordering the data 220 during folding may enable writing the data 220 to a non-intended die 225. For example, the memory system controller 215 may otherwise receive one or more commands to write the data 220-b1, 220-b2, and 220-b3 to the die 225-b, but may write the data 220-b3 to the die 225-a as described herein due to the die 225-b being busy with the folding operation. The memory system controller 215 may reorder the data 220-b1, 220-b2, and 220-b3 during the folding operation including the data 220, regardless of writing the data 220-b3 to the non-intended die 225, so that the data 220-b may be read sequentially.
[0050] In another example, the memory system 210 may suspend the folding operation to accommodate the host write in response to the number of available source data blocks 230 meeting (e.g., being greater than or equal to) a threshold number of available source data blocks 230. For example, the memory system controller 215 may begin to perform a folding operation (e.g., of data 220-c1) using dies 225-b, 225-c, and 225-d, and may receive a command indicating to write data 220-b3 to source data block 230-b of die 225-b as described herein. After receiving the command, the memory system controller 215 may determine that the number of available source data blocks 230 is above the threshold number, and may suspend the folding operation to enable the memory system 210 to write data 220-b3 to die 225-b. In some cases, suspending the folding operation may increase the speed of the host write operation (e.g., by enabling data 220 to be flushed from a buffer to a given die 225) while reducing the number of freed data blocks by delaying folding to free data blocks. In some instances, the memory system controller 215 writes data 220 (e.g., data 220-b3) intended for a busy fold of die 225 (e.g., die 225-b) to an accessible die (e.g., die 225-a) in response to determining that the number of available source data blocks 230 of the memory system 210 fails to meet (e.g., is below) a threshold number.
[0051] In some examples, the memory system 210 may be configured as described in reference Figure 4 The host write process and folding process described herein generate parity data for page lines, including intermittent parity data. Additionally or alternatively, the memory system 210 may store and / or read data, parity data, an indication of the last write to a page, or any combination thereof, and perform the operations described in reference to Figures 3A to 4 The described read scan is adapted to accommodate unplanned power outage or sudden power outage (SPO) scenarios.
[0052] The techniques described herein may provide increased efficiency and performance as well as reduced latency in the operation of the memory system 210. For example, by writing data 220 (e.g., data 220-b3) intended for one die 225 to an accessible die during a fold, the operations described herein may free up memory for a buffer of the memory system controller 215. Freeing up the buffer, e.g., allocating a portion of the buffer for data 220 to be written to the accessible die 225 and flushing the data 220 to the accessible die 225 may enable the memory system controller 215 to continue receiving host write commands and refrain from rejecting host write commands during a fold operation. The operations described herein may improve latency of access operations (e.g., by avoiding delaying host writes), which may meet one or more latency, host write, or customer requirements (e.g., host write speeds may not drop below 60MB / s), while also tolerating large writes that may overwrite or small time intervals between writes. Additionally, writing to the accessible die 225 may enable the use of a relatively small size for the buffer for the memory system controller 215. The techniques described herein may also result in less performance degradation due to the reordering during folding and the small size of the buffer, as well as due to the small amount of time that data remains in the buffer.
[0053] Figure 3A and 3B 1 and 302 illustrate examples of buffer state diagrams 301 and 302 that support techniques for improving host write performance during data folding according to examples as disclosed herein. For example, buffer state diagrams 301 and 302 may illustrate a buffer state diagram for reference. Figure 2 Buffers (e.g., including local memory 120) of a memory system controller 215 of a memory system 210 are described having four dies 225. The four dies may be referred to as D0, D1, D2, and D3, which may refer to dies 225-a through 225-d, respectively. Buffer state diagram 301 may illustrate an example of a buffer having a first (e.g., smaller) buffer size 305-a, and where two dies D1 and D3 may be occupied by folding. Similarly, buffer state diagram 302 may illustrate a buffer of the memory system controller 215 having a second buffer size 305-b that is larger than the first buffer size 305-a, and where three of the four dies D1, D2, and D3 may be occupied by folding.
[0054] exist Figure 3A In FIG. 3 , the buffer state diagram 301 may represent a buffer of the memory system controller 215 having a first buffer size 305 - a allocated for writing data (eg, data 220 ) to data blocks D1 through D4 of the memory system 210 . Figure 3AIn an example of , the data block may be configured to include TLC. In some cases, the buffer may include volatile memory for storing up to 6 pages (e.g., page 175) of data intended for writing to each plane (e.g., plane 165) of the die (or 6 pages across planes of multiple different dies). For example, a Figure 3A The data of P0 of D0 in may represent the data of P0 for each plane of D0. Each page may hold up to approximately 16 kilobytes (KB) of data, and each die may include 4 planes, resulting in a total buffer size 305-a of 4 (planes) * 16KB * 6 (pages) = 384KB for storing data.
[0055] In the first iteration 310-a1, the buffer may be idle. The memory system controller 215 may receive one or more commands indicating that data is stored in three pages P0, P1, and P2 of D0 and one or more commands indicating that additional data is stored in three pages P0, P1, and P2 of D2, and may store data (e.g., 384KB) in the buffer, thereby filling the buffer. In response to D0 and D2 being accessible (e.g., not busy with folding), the memory system controller 215 may flush data for D0 to one or more data blocks (e.g., source data blocks 230) of D0, and may flush data for D2 to one or more data blocks of D2. In some examples, the memory system controller 215 may flush one page of data at a time (e.g., data may be flushed to P0 of D0, then data may be flushed to P1 of D0, etc.). In some examples, the memory system controller 215 may flush data to one or more dies at a time. For example, the memory system controller 215 may refresh the data to D0 and then refresh the data to D2 or may refresh the data to D0 while refreshing the data to D2. In a second iteration 310-a2, the memory system controller 215 may receive a command to write data to an additional page of D0 and may store the data in a buffer and later refresh the data to D0 in response to D0 being accessible.
[0056] As referenced in this article Figure 2As described, the memory system controller 215 may write data intended for a busy die to an accessible die. For example, in a second iteration 310-a2, the memory system controller 215 may receive a command to write data to D1, and may refresh the data intended for D1 to an accessible die, such as D2. That is, the memory system controller 215 may write data intended for D1 to D0 or D2 while the folding operation associated with D1 is in progress. Similarly, in a third iteration 310-a3, the memory system controller 215 may receive one or more commands indicating that data is to be stored in three pages of D2 and one or more commands indicating that additional data is to be stored in three pages of D3, and may refresh the buffer by writing data intended for D2 to D2 and writing data intended for D3 to an accessible die (e.g., D0 or D2). Additionally or alternatively, in a fourth iteration, the memory system controller 215 may receive a command to write data to a D1 such as Figure 3A , and one or more commands to write data to the additional pages P3, P4, and P5 of D1 shown in . In response to both D1 and D3 being occupied by the fold, the memory system controller 215 can flush the entire buffer to either accessible die D0 or D2, or split between the two.
[0057] By writing the data intended for the busy die to the accessible die, the memory system controller 215 can flush the additional data from the buffer before the next iteration 310 rather than otherwise possible, thereby freeing up the buffer for storing data for additional commands. For example, without flushing the data intended for D1 in the second iteration 310-a2, the buffer can hold this data during the next iteration (third iteration 310-a3), leaving half of the buffer (e.g., three pages of 192KB) empty. This can ultimately result in receiving and flushing data for P3 to P5 of D2 during the third iteration 310-a3, but then also receiving and then holding data for P0 to P2 of D3 during the fourth iteration 310-a4 in response to D3 being busy. Thus, the buffer can fill up and cause the memory system controller 215 to reject commands to write additional data to P3 to P5 of D1 and D3 during further iterations 310, e.g., until after the folding associated with D1 and D3 is completed and the held data is written to the corresponding die. By flushing the data intended for the busy dies D1 and D3 during each iteration 310 , the memory system controller 215 is actually able to at least partially free up the buffer to receive data from the host system at each new iteration 310 .
[0058] In some examples, the memory system controller 215 may allocate a portion of the buffer, such as half of the buffer (e.g., 192KB), as well as other amounts of the buffer, for receiving data intended for a busy die (e.g., to be written to an accessible die instead). For example, the memory system controller 215 may allocate a portion of the buffer for storing three pages of data, as shown in FIG. Figure 3B As described. In some examples, the number of buffers reserved (e.g., allocated) for receiving busy die data may be based on the type of host write, the type of memory cell written to as part of the host write, or a combination thereof. For example, if a write burst operation is performed, write to SLC, or a combination thereof, at least a first amount of memory corresponding to one page per plane of the accessible die (e.g., 16KB*4 planes=64KB) may be allocated for receiving host data and flushing to the accessible die. If a write operation (e.g., write burst off), write to TLC, or a combination thereof is performed, at least a second amount of memory corresponding to 3 pages per plane of the accessible die (e.g., 16KB*4 planes*3 pages=192KB) may be allocated for receiving host data and flushing to the accessible die, such as due to a page of the TLC storing data equivalent to three SLC pages.
[0059] In some examples, the memory system controller 215 may determine the last written page to continue write operations after a power outage of the memory system 210. For example, the memory system controller 215 may write across multiple dies as described herein. However, one or more blocks of the virtual block may have different amounts of written pages, for example, due to writing data intended for busy dies to available dies. Thus, after a power outage of the memory system 210, the memory system controller 215 may not know the last written page of each die, because each die may have a different amount of written pages, and may not be able to continue write operations without determining this information. Thus, the memory system controller 215 may use one or more methods to determine the last written page of each die.
[0060] For example, the memory system controller 215 may receive an indication of an upcoming SPO, and may store an indication of the last written page of each die to a memory of the memory system 210 (e.g., in a NAND with metadata) before the SPO. For example, the memory system controller 215 may store the corresponding metadata to a non-volatile memory (e.g., of the die 225) indicating the last written page of the corresponding die. After power-up, the memory system controller 215 may read the indication (e.g., metadata), and may continue to perform host write and fold operations from the corresponding last written page. For example, the memory system controller 215 may store an indication as the last written page of D0 and D2 during a first iteration 310-a1 of P2 of D0 and P2 of D2, and after power-up, may begin writing to P3 of D0 and D2 during a second iteration 310-a2, and so on. Additionally or alternatively, the memory system controller 215 may perform a read scan after power-up to determine the last written page of each die. For example, SPO may occur before the memory system controller 215 is able to receive an indication of SPO and store an indication of the corresponding last written page, and the memory system controller 215 may perform a read scan of one or more data blocks of dies D0-D3 after power-up to instead determine the last written page 175. In an example, to perform the read scan, the memory system controller 215 may perform a binary search procedure to determine the corresponding last page storing data (e.g., as opposed to being a blank page storing no data).
[0061] exist Figure 3B In the example of , the buffer of the memory system controller 215 may have a second buffer size 305-b that allocates commands for writing data to data blocks of four dies D0 to D3, where D1 to D3 are as described herein with respect to Figure 2 The description may be occupied by folding. The second buffer size 305-b may be larger than the first buffer size 305-a, including memory to store up to 10 pages 175 of data for each plane 165 of the die (or across multiple different dies), including a total buffer size 305-b of 4(planes)*16*10(pages)=640KB for data. In some examples, Figure 3B The memory system controller 215 may be shown allocating a portion of the buffer for storing three pages of data.
[0062] The memory system controller 215 may similarly flush data intended for a busy die to an accessible die. For example, during a first iteration 310-b1, the memory system controller 215 may flush data intended for P0 to P2 of D0 to D0 in response to D0 being accessible, and may maintain other data intended for D1 to D3 (e.g., as three pages already written). In a second iteration 310-b2, the memory system controller 215 may receive the next data to be written, including data to be written to P1 and P2 of D3 and P3 of D0, and may not store (e.g., receive) additional host data due to the buffer being full. Figure 3B In the example of , the memory system controller 215 may refresh the data intended for P3 of D0 to D0, and may refresh the additional data of the busy die intended for the other two pages. For example, the memory system controller 215 may refresh the next data to D0 based on the order in which the data is written to the buffer, including the data intended for P0 and P1 of D1. Similarly, in the third iteration 310-b3 and the fourth iteration 310-b4, the memory system controller 215 may receive the next data and refresh the data based on the order in which the data is received by the buffer. For example, the memory system controller 215 may receive data for P4 and P5 of D0 and data for P3 of D1 in the third iteration 310-b3 and refresh the D0 data P4 and P5 and the D1 data P2. The memory system controller 215 may also receive data for P4 and P5 of D1 and data for P3 of D2 in the fourth iteration 310-b4 and refresh the D2 data P0, P1, P2.
[0063] Additionally or alternatively, the memory system controller 215 may refresh the data intended for the busy die in any order. For example, the data may be refreshed according to the order in which the data is stored in the buffer, such as refreshing the D0 data P0-P2 in the first iteration 310-b1, refreshing the D1 data P0-P2 in the second iteration 310-b2, refreshing the D2 data P0-P2 in the third iteration 310-b3, and so on.
[0064] The techniques described herein may provide increased efficiency and performance as well as reduced latency in the operation of the memory system 210. For example, by moving data intended for busy die (e.g., Figure 3A D1 and D2 in or Figure 3BFlushing data (e.g., D1, D2, and D3 in the memory) to accessible die (e.g., D0 and D2 or D0) can free up the buffer of the memory system controller 215, thereby enabling the memory system controller 215 to continue to receive host access commands during the folding operation. The latency of the operation (e.g., by avoiding delayed host writes) and performance degradation can be reduced, which can meet one or more latency, host write, or customer requirements while also tolerating large writes that may be overwritten or tolerating small intervals between writes. In addition, flushing data intended for busy die can enable the use of smaller buffers of the memory system controller 215, thereby reducing the cost of the memory system 210.
[0065] Figure 4 An example of a parity data generation diagram 400 supporting techniques for improving host write performance during data folding according to examples as disclosed herein is illustrated. For example, the parity data generation diagram 400 may illustrate generating parity data 405 for one or more page lines 410 (e.g., page line 410-a). Each page line may include a respective page for each plane 415 of each die 425-a to 425-b. As shown in reference Figures 1 to 3B As described, parity data 405, page line 410, page, plane 415, and die 425 may represent parity data, page line, page 175, plane 165, and die 225 or 160, respectively. In some examples, die 425-a to 425-b may be as described with respect to Figures 1 to 3B Portions of the memory system 210 (or 110) are described that include a memory system controller 215 (or 115). In some examples, the operations described herein may be performed by the memory system controller 215 or by another device of the memory system 210. In some cases, Figure 4 Generating redundant array of independent and non-(NAND) (RAIN) parity data for one or more page lines 410 of die 425-a to 425-b may be illustrated. In some examples, die 425-a to 425-b may represent two dies, or may include any number of dies between die 425-a and die 425-b.
[0066] The memory system 210 may generate parity data 405 (e.g., RAIN parity data) for each page line 410 of the dies 425-a to 425-b. For example, after data has been written to the page line 410-a (PL 0) across all the dies 425, the memory system controller 215 may generate parity data 405-a for the page line 410-a. For example, generating the parity data 405-a may include performing a logical operation, such as an XOR operation, on each of the pages across the page line 410-a. In some examples, the memory system 210 may generate the parity data 405-a using the memory system controller 215 or another device of the memory system 210.
[0067] As described herein, the memory system controller 215 may write data to the die 425 in some examples in a non-sequential order. For example, the memory system controller 215 may write data intended for the die 425-a to P0-a1 through P0-a2 of the die 425-a, where the die 425-a may not be busy with a folding operation. However, the die 425-b may be occupied by the fold (e.g., by a data transfer, such as part of a garbage collection), and instead of writing the data intended for the die 425-b to P0-b1 through P0-b2, the memory system controller 215 may instead write this data to P1-a1 through P1-a2 of the die 425-a. Thus, the page line 410-a (PL 0) may be an incomplete or partial page line, since P0-b1 through P0-b2 have not yet been written, and parity data may not yet have been generated for PL 0.
[0068] In some cases, the memory system 210 may generate intermittent parity data 420 (e.g., intermittent RAIN parity data) for the page of each die 425 after writing to the page, where the intermittent parity data 420 may be used to generate parity data 405 for the entire page line 410. For example, after writing data 220 to P0-a1 through P0-a2 of die 425-a, the memory system controller 215 may generate intermittent parity data 420-a by reading the data stored in the first page (P0) across planes 415-a1 through 415-a2 of die 425-a and performing an XOR operation of the data. At a later time after completing one or more folding operations with die 425-b, the memory system controller 215 may write data to the remaining pages of the page line 410-a. For example, the memory system controller may write data to P0-b1 to P0-b2 of planes 415-b1 to 415-b2 of die 425-b. The memory system controller 215 may generate intermittent parity data 420-b corresponding to P0-b of plane 415 of die 425-b (e.g., by performing an XOR across P0 of all planes 415 of die 425-b).
[0069] Once intermittent parity data 420 has been generated for all pages P0 of page line 410-a across dies 425-a and 425-b, memory system controller 215 may combine intermittent parity data 420-a and 420-b (and intermittent parity data 420 for P0 of any intermediate dies 425) to generate parity data 405-a for page line 410-a. In some cases, combining intermittent parity data 420 may include performing an XOR operation of intermittent parity data 420.
[0070] In an example, the memory system controller 215 may store the intermittent parity data 420 in one or more retention data blocks of the memory system 210 (e.g., in a low power mode), where the retention data blocks may represent blocks of the memory system 210 that are reserved for additional memory and not used for normal operations. In some cases, generating the parity data 405 may include reading the intermittent parity data 420 from the retention data blocks. Additionally or alternatively, the memory system controller 215 may perform a read scan of page P0 of each die 425-b for generating the intermittent parity data 420 and the parity data 405-a after (e.g., once, in response to) all pages P0 of PL 0 have been written, where the read scan may include reading data from one or more pages for use in generating the intermittent parity data 420. In some examples, memory system 210 may generate intermittent parity data 405 using memory system controller 215 or another device of memory system 210 (eg, using a respective local controller for each die 425 , such as local controller 135 ).
[0071] In some examples, the memory system controller 215 may receive (e.g., from the host system 105) an indication of a power-off of the memory system, such as an SPO as described herein. In response to receiving the indication of the SPO, the memory system controller 215 may store the intermittent parity data 420-a, 420-b, or both to one or more data blocks (e.g., source data blocks 230) of the memory system 210 (e.g., a temporary dump SLC or a static SLC). After power-on of the memory system 210, the memory system controller 215 may read the stored intermittent parity data 420 from the one or more data blocks of the memory system 210 for use in generating the parity data 405-a for PL 0. Additionally or alternatively, the memory system controller 215 may store the intermittent parity data 420 in the same data block to save reconstruction time. By way of another example, the memory system controller 215 may perform a read scan after power-up to determine the respective last written page of each die 425-a and 425-b to generate parity data 405-a, to generate intermittent parity data 420, or any combination thereof. Additionally or alternatively, the memory system controller 215 may store the last written page with the intermittent parity data 420 stored or with the reference 425-b. Figure 3A and 3B The memory system 210 can similarly generate parity data 405 and intermittent parity data 420 for other page lines 410 using the techniques described herein, including PL 1 - PL 3 with pages P1 - P3 for each plane 415 of each memory die 425 of the memory system 210 .
[0072] Generating intermittent parity data 420 can improve the performance of the memory system. For example, in the case of a large number of "dirty" writes, where data is written in a non-sequential order (e.g., due to host writes to the accessible memory die 425 during folding), generating and storing intermittent parity data can reduce the amount of time to generate parity data (e.g., RAIN parity data) for a PL (e.g., PL 0) by generating parity data during one or more write and folding processes. This can be done faster than generating parity data for an entire page line once the entire page line has been written. By implementing a method relative to Figure 4 The described techniques can increase write speed in proportion to the number of "dirty" writes done at one time. Alternatively, performing garbage collection more frequently can meet one or more customer requirements. In addition, by storing intermittent parity data 420 during power outages or read scans, rebuild time can be saved.
[0073] Figure 5 Block diagram 500 illustrates a memory system 520 supporting techniques for improving host write performance during data folding according to examples as disclosed herein. The memory system 520 may be as described in reference Figures 1 to 4 Memory system 520 or its various components may be examples of means for performing various aspects of the techniques for improving host write performance during data folding as described herein. For example, memory system 520 may include data transfer component 525, command component 530, data write component 535, parity component 540, power indication component 545, page indication component 550, read scan component 555, or any combination thereof. Each of these components may communicate with each other directly or indirectly (e.g., via one or more buses).
[0074] The data transfer component 525 may be configured as or otherwise support means for determining to transfer first data from one or more source data blocks of a memory system to one or more destination data blocks of the memory system, wherein the one or more source data blocks and the one or more destination data blocks are associated with one or more memory dies in a set of memory dies of the memory system. The command component 530 may be configured as or otherwise support means for receiving a command from a host system to write second data to a first memory die in the one or more memory dies. The data write component 535 may be configured as or otherwise support means for, while transferring the first data, writing the second data to a second memory die in the set of memory dies that is different from the one or more memory dies associated with the transfer of the first data, based at least in part on the transfer of the first data being associated with the first memory die.
[0075] In some examples, command component 530 may be configured as or otherwise support means for allocating a portion of a volatile memory device of a memory system for receiving one or more commands including a command to write second data, wherein writing the second data to a second memory die in the set of memory dies is based at least in part on the allocation of the portion of the volatile memory device for receiving the one or more commands.
[0076] In some examples, data transfer component 525 can be configured or otherwise support means for transferring second data from one or more second source data blocks associated with a second memory die to one or more second destination data blocks of the memory system after transferring the first data.
[0077] In some examples, a first order according to which the second data is transferred to the one or more second destination data blocks is associated with a second order according to which the second data is sequentially read from the one or more second destination data blocks.
[0078] In some examples, to support writing the second data, the data write component 535 may be configured as or otherwise support means for writing the second data to a second memory die while transmitting the first data based at least in part on a number of available source data blocks of the memory system failing to satisfy a threshold number.
[0079] In some examples, the data transfer component 525 may be configured as or otherwise support means for determining to transfer the third data from one or more source data blocks to one or more destination data blocks. In some examples, the command component 530 may be configured as or otherwise support means for receiving from the host system a second command to write the fourth data to the first memory die in the set of memory dies. In some examples, the data transfer component 525 may be configured as or otherwise support means for pausing the transfer of the third data based at least in part on the number of available source data blocks of the memory system satisfying a threshold. In some examples, the data write component 535 may be configured as or otherwise support means for writing the fourth data to the first memory die in the set of memory dies based at least in part on pausing the transfer of the third data.
[0080] In some examples, command component 530 may be configured as or otherwise support means for receiving from the host system a third command to write third data to the first memory die. In some examples, data write component 535 may be configured as or otherwise support means for writing the third data to the first memory die in the set of memory dies based at least in part on the completion of the transfer of the first data.
[0081] In some instances, the parity component 540 may be configured to or otherwise support means for generating first parity data associated with the second data based at least in part on writing the second data to one or more pages of a page line of a set of memory dies, the one or more pages being associated with a second memory die. In some instances, the data write component 535 may be configured to or otherwise support means for writing third data to one or more remaining pages of a page line based at least in part on receiving one or more additional commands from a host system after transmitting the first data, the one or more remaining pages being associated with one or more memory dies. In some instances, the parity component 540 may be configured to or otherwise support means for generating second parity data associated with the third data based at least in part on writing the third data to one or more remaining pages of a page line. In some instances, the parity component 540 may be configured to or otherwise support means for generating third parity data associated with a page line based at least in part on the first parity data and the second parity data.
[0082] In some examples, parity component 540 may be configured as or otherwise support means for storing first parity data to one or more retained data blocks of a memory system, wherein generating third parity data is based at least in part on the storing.
[0083] In some examples, parity component 540 can be configured or otherwise support means for reading second data from one or more pages of a page line after transferring the first data, wherein generating the first parity data is based at least in part on reading the second data.
[0084] In some examples, the power indication component 545 may be configured as or otherwise support means for receiving an indication of power-off of the memory system from the host system. In some examples, the parity component 540 may be configured as or otherwise support means for storing the first parity data to the second memory die based at least in part on the indication. In some examples, the parity component 540 may be configured as or otherwise support means for reading the first parity data after power-on of the memory system, wherein generating the third parity data is based at least in part on reading the first parity data.
[0085] In some examples, the third parity data includes RAIN parity data.
[0086] In some examples, the power indication component 545 may be configured as or otherwise support means for receiving an indication of power-off of the memory system from the host system. In some examples, the page indication component 550 may be configured as or otherwise support means for storing an indication of the respective last written page of each memory die in the set of memory dies before power-off of the memory system. In some examples, the page indication component 550 may be configured as or otherwise support means for reading the indication to determine the respective last written page of each memory die based at least in part on power-on of the memory system. In some examples, the data write component 535 may be configured as or otherwise support means for writing third data to a next page after the last written page of one of the set of memory dies based at least in part on the reading.
[0087] In some examples, the read scan component 555 may be configured as or otherwise support means for performing a read scan to determine a respective last written page for each memory die in the set of memory dies based at least in part on powering off the memory system. In some examples, the data write component 535 may be configured as or otherwise support means for writing third data to a next page after a last written page of one of the set of memory dies based at least in part on performing the read scan.
[0088] In some examples, one or more source data blocks include SLC, MLC, TLC, or any combination thereof, and one or more destination data blocks include QLC.
[0089] Figure 6 The description shows a flow chart of a method 600 supporting techniques for improving host write performance during data folding according to examples as disclosed herein. The operations of the method 600 may be implemented by a memory system or components thereof as described herein. For example, the operations of the method 600 may be implemented by a memory system or components thereof as described herein. Figures 1 to 5 The memory system described herein performs. In some examples, the memory system may execute instruction sets to control functional elements of the device to perform the described functions. Additionally or alternatively, the memory system may use dedicated hardware to perform various aspects of the described functions.
[0090] At 605, the method may include determining to transfer first data from one or more source data blocks of a memory system to one or more destination data blocks of the memory system, wherein the one or more source data blocks and the one or more destination data blocks are associated with one or more memory dies in a set of memory dies of the memory system. The operations of 605 may be performed according to examples as disclosed herein. In some examples, aspects of the operations of 605 may be described by reference to Figure 5 The described data transfer component 525 performs.
[0091] At 610, the method may include receiving a command from a host system to write second data to a first memory die of the one or more memory dies. The operations of 610 may be performed according to examples as disclosed herein. In some examples, aspects of the operations of 610 may be described by reference to Figure 5 The command component 530 is described to execute.
[0092] At 615, the method may include, while transferring the first data, writing the second data to a second memory die in a set of memory dies that is different from the one or more memory dies associated with the transfer of the first data based at least in part on the transfer of the first data being associated with the first memory die. The operations of 615 may be performed according to examples as disclosed herein. In some examples, aspects of the operations of 615 may be described by reference to Figure 5 The described data writing component 535 performs.
[0093] In some examples, an apparatus as described herein may perform one or more methods, such as method 600. The apparatus may include features, circuitry, logic, means, or instructions (e.g., a non-transitory computer-readable medium storing instructions executable by a processor) for performing the following aspects of the present disclosure, or any combination thereof:
[0094] Aspect 1: A method, apparatus, or non-transitory computer-readable medium comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: determining to transfer first data from one or more source data blocks of a memory system to one or more destination data blocks of the memory system, wherein the one or more source data blocks and the one or more destination data blocks are associated with one or more memory dies in a set of memory dies in the memory system; receiving a command from a host system to write second data to a first memory die in the one or more memory dies; and while transferring the first data, writing the second data to a second memory die in the set of memory dies that is different from the one or more memory dies associated with the transfer of the first data, at least in part based on the transfer of the first data being associated with the first memory die.
[0095] Aspect 2: The method, apparatus, or non-transitory computer-readable medium of Aspect 1, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: allocating a portion of a volatile memory device of a memory system for receiving one or more commands including a command to write second data, wherein writing the second data to a second memory die in the set of memory dies is based at least in part on the allocation of the portion of the volatile memory device for receiving one or more commands.
[0096] Aspect 3: A method, apparatus, or non-transitory and computer-readable medium according to any one of Aspects 1 to 2, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: after transferring the first data, transferring the second data from one or more second source data blocks associated with the second memory die to one or more second destination data blocks of the memory system.
[0097] Aspect 4: The method, apparatus or non-transitory computer-readable medium of aspect 3, wherein the first order according to which the second data is transmitted to the one or more second destination data blocks is associated with a second order in which the second data is sequentially read from the one or more second destination data blocks.
[0098] Aspect 5: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 4, wherein writing the second data comprises operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: while transmitting the first data, writing the second data to a second memory die based at least in part on the number of available source data blocks of the memory system failing to meet a threshold number.
[0099] Aspect 6: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 5, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: determining to transfer third data from one or more source data blocks to one or more destination data blocks; receiving a second command from a host system to write fourth data to a first memory die in a memory die set; suspending the transfer of the third data based at least in part on the number of available source data blocks of the memory system satisfying a threshold; and writing the fourth data to the first memory die in the memory die set based at least in part on suspending the transfer of the third data.
[0100] Aspect 7: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 6, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: receiving a third command from a host system to write third data to a first memory die and writing the third data to a first memory die in a set of memory dies based at least in part on the completion of the transfer of the first data.
[0101] Aspect 8: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 7, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: generating first parity data associated with second data based at least in part on writing the second data to one or more pages of a page line of a set of memory dies, the one or more pages being associated with a second memory die; writing third data to one or more remaining pages of the page line based at least in part on receiving one or more additional commands from a host system after transmitting the first data, the one or more remaining pages being associated with one or more memory dies; generating second parity data associated with third data based at least in part on writing the third data to the one or more remaining pages of the page line; and generating third parity data associated with the page line based at least in part on the first parity data and the second parity data.
[0102] Aspect 9: The method, apparatus, or non-transitory computer-readable medium of Aspect 8, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: storing first parity data to one or more retained data blocks of a memory system, wherein generating third parity data is based at least in part on the storing.
[0103] Aspect 10: The method, apparatus, or non-transitory computer-readable medium of Aspect 8, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: after transmitting the first data, reading second data from one or more pages of the page line, wherein generating the first parity data is based at least in part on reading the second data.
[0104] Aspect 11: The method, apparatus, or non-transitory computer-readable medium of Aspect 8, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: receiving an indication of power-off of the memory system from a host system; storing first parity data to a second memory die based at least in part on the indication; and reading the first parity data after power-on of the memory system, wherein generating third parity data is based at least in part on reading the first parity data.
[0105] Aspect 12: The method, apparatus, or non-transitory computer-readable medium of any one of Aspects 8 to 11, wherein the third parity data comprises RAIN parity data.
[0106] Aspect 13: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 12, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: receiving an indication of power failure of a memory system from a host system; storing an indication of the corresponding last written page of each memory die in a set of memory dies before power failure of the memory system; reading the indication to determine the corresponding last written page of each memory die based at least in part on power failure of the memory system; and writing third data to a next page after the last written page of one of the set of memory dies based at least in part on the reading.
[0107] Aspect 14: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 12, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: performing a read scan based at least in part on powering off the memory system to determine the corresponding last written page of each memory die in the set of memory dies; and writing third data to a next page after the last written page of one of the set of memory dies based at least in part on performing the read scan.
[0108] Aspect 15: The method, apparatus, or non-transitory computer-readable medium of any one of Aspects 1 to 14, wherein one or more source data blocks comprise SLC, MLC, TLC, or any combination thereof, and one or more destination data blocks comprise QLC.
[0109] It should be noted that the described techniques include possible implementations, and that operations and steps may be rearranged or otherwise modified, and other implementations are possible. Furthermore, portions from two or more of the described methods may be combined.
[0110] The information and signals described herein may be represented using any of a variety of different techniques and technologies. For example, data, instructions, commands, information, signals, bits, or symbols of the signaling referenced throughout the above description may be represented by voltage, current, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof. Some figures may illustrate a signal as a single signal; however, the signal may represent a bus of signals, where the bus may have various bit widths.
[0111] The terms "electronic communication," "conductive contact," "connection," and "coupling" may refer to a relationship between components that supports the flow of signals between the components. Components are considered to be in electronic communication with each other (or in conductive contact with each other, or connected to each other, or coupled to each other) if there is any conductive path between the components that can support the flow of signals between the components at any time. At any given time, the conductive paths between components that are in electronic communication with each other (or in conductive contact with each other, or connected to each other, or coupled to each other) may be open or closed based on the operation of the device that includes the connected components. The conductive paths between the connected components may be direct conductive paths between the components, or the conductive paths between the connected components may be indirect conductive paths that may include intermediate components such as switches, transistors, or other components. In some examples, the flow of signals between the connected components may be interrupted for a period of time, for example, using one or more intermediate components such as switches or transistors.
[0112] The term "coupled" (e.g., "electrically coupled") may refer to a condition of moving from an open circuit relationship between components, in which signals are currently unable to communicate between the components through a conductive path, to a closed circuit relationship between the components, in which signals are able to communicate between the components through the conductive path. If a component, such as a controller, couples other components together, the component initiates a change that allows signals to flow between the other components through a conductive path that previously did not permit signal flow.
[0113] The term "isolation" refers to a relationship between components where a signal cannot currently flow between the components. If an open circuit exists between the components, then the components are isolated from each other. For example, if a switch is open, then the components separated by the switch positioned between two components are isolated from each other. If a controller isolates two components, then the controller implements a change that prevents a signal from flowing between the components using a conductive path that previously permitted the signal to flow.
[0114] The terms "if," "when," "based on," or "based at least in part on" are used interchangeably. In some instances, the terms "if," "when," "based on," or "based at least in part on" are interchangeable if they are used to describe a conditional action, a conditional process, or a connection between parts of a process.
[0115] The term "responsive to" may refer to a condition or action that occurs at least in part (if not completely) as a result of a prior condition or action. For example, a first condition or action may be performed, and a second condition or action may occur at least in part as a result of the prior condition or action occurring (whether directly after the first condition or action or after one or more other intermediate conditions or actions occur after the first condition or action).
[0116] The devices including memory arrays discussed herein may be formed on semiconductor substrates such as silicon, germanium, silicon-germanium alloys, gallium arsenide, gallium nitride, etc. In some examples, the substrate is a semiconductor wafer. In some other examples, the substrate may be a silicon-on-insulator (SOI) substrate, such as silicon-on-glass (SOG) or silicon-on-sapphire (SOP), or an epitaxial layer of semiconductor material on another substrate. The conductivity of the substrate or a sub-region of the substrate may be controlled by doping using various chemical species including, but not limited to, phosphorus, boron, or arsenic. Doping may be performed by ion implantation during the initial formation or growth of the substrate or by any other doping method.
[0117] The switch component or transistor discussed herein may represent a field effect transistor (FET) and include a three-terminal device including a source, a drain, and a gate. The terminals may be connected to other electronic components by conductive materials such as metals. The source and drain may be conductive and may include heavily doped (e.g., degenerate) semiconductor regions. The source and drain may be separated by lightly doped semiconductor regions or channels. If the channel is n-type (i.e., most of the carriers are electrons), the FET may be referred to as an n-type FET. If the channel is p-type (i.e., most of the carriers are holes), the FET may be referred to as a p-type FET. The channel may be terminated by an insulating gate oxide. Channel conductivity may be controlled by applying a voltage to the gate. For example, applying a positive voltage or a negative voltage to an n-type FET or a p-type FET, respectively, may make the channel conductive. If a voltage greater than or equal to the threshold voltage of the transistor is applied to the transistor gate, the transistor may be "turned on" or "activated". If a voltage less than the threshold voltage of the transistor is applied to the transistor gate, the transistor may be "turned off" or "disabled".
[0118] The description set forth herein in conjunction with the accompanying drawings describes example configurations and does not represent all examples that may be implemented or within the scope of the claims. The term "exemplary" as used herein means "serving as an example, instance, or illustration" and is not "preferred to" or "superior to other examples". The specific implementation includes specific details that provide an understanding of the described techniques. However, these techniques may be practiced without these specific details. In some examples, well-known structures and devices are shown in block diagram form to avoid obscuring the concepts of the described examples.
[0119] In the drawings, similar components or features may have the same reference label. In addition, components of the same type may be distinguished by following the reference label with a dash and a second label that distinguishes between the similar components. If only the first reference label is used in the specification, the description applies to any of the similar components having the same first reference label regardless of the second reference label.
[0120] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope of the present disclosure and the appended claims. For example, due to the nature of software, the functions described may be implemented using software executed by a processor, hardware, firmware, hardwiring, or a combination of any of these. Features implementing the functions may also be physically located at various locations, including being distributed so that portions of the functions are implemented at different physical locations.
[0121] For example, the various illustrative blocks and components described in connection with the disclosure herein may be implemented or performed with a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor; however, in the alternative, the processor may be any processor, controller, microcontroller, or state machine. A processor may be implemented as a combination of computing devices (e.g., a combination of a DSP and a microprocessor, a combination of multiple microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration).
[0122] As used herein, including in the claims, "or" used in a list of items (e.g., a list of items beginning with a phrase such as "at least one of" or "one or more of") indicates an inclusive list, such that a list of at least one of, for example, A, B, or C means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). In addition, as used herein, the phrase "based on" should not be interpreted as referring to a closed set of conditions. For example, an exemplary step described as "based on condition A" may be based on both condition A and condition B without departing from the scope of the present disclosure. In other words, as used herein, the phrase "based on" should be interpreted in the same manner as the phrase "based at least in part on."
[0123] Computer-readable media include both non-transitory computer storage media and communication media including any media that facilitates the transfer of computer programs from one place to another. Non-transitory storage media may be any available media that can be accessed by a general or special-purpose computer. By way of example and not limitation, non-transitory computer-readable media may include RAM, ROM, electrically erasable programmable read-only memory (EEPROM), compact disk (CD) ROM or other optical disk storage, magnetic disk storage or other magnetic storage device, or any other non-transitory media that can be used to carry or store required program code components in the form of instructions or data structures and can be accessed by a general or special-purpose computer or a general or special-purpose processor. In addition, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, optical fiber cable, twisted pair, digital subscriber line (DSL) or wireless technology (e.g., infrared, radio and microwave) is used to transmit software from a website, server or other remote source, then the coaxial cable, optical fiber cable, twisted pair, DSL or wireless technology (e.g., infrared, radio and microwave) is included in the definition of media. As used herein, disk and disc include CD, laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of these are also included within the scope of computer readable media.
[0124] The description herein is provided to enable those skilled in the art to make or use the present disclosure. Various modifications to the present disclosure will become apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the scope of the present disclosure. Thus, the present disclosure is not limited to the examples and designs described herein, but is given the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A device comprising: Memory device; and a controller coupled to the memory device and configured to cause the apparatus to: determining to transfer first data from one or more source data blocks of a memory system to one or more destination data blocks of the memory system, wherein the one or more source data blocks and the one or more destination data blocks are associated with one or more memory dies in a set of memory dies of the memory system; receiving a command from a host system to write second data to a first memory die of the one or more memory die; and Concurrently with transferring the first data, the second data is written to a second memory die in the set of memory dies that is different from the one or more memory dies associated with the transfer of the first data based at least in part on the transfer of the first data being associated with the first memory die.
2. The device of claim 1, wherein the controller is further configured to cause the device to: A portion of a volatile memory device of the memory system is allocated for receiving one or more commands including the command to write the second data, wherein writing the second data to the second memory die in the set of memory dies is based at least in part on the allocation of the portion of the volatile memory device for receiving the one or more commands.
3. The device of claim 1 , wherein the controller is further configured to cause the device to: After transferring the first data, the second data is transferred from one or more second source data blocks associated with the second memory die to one or more second destination data blocks of the memory system.
4. The apparatus of claim 3, wherein a first order according to which the second data is transferred to the one or more second destination data blocks is associated with a second order according to which the second data is sequentially read from the one or more second destination data blocks.
5. The device of claim 1 , wherein writing the second data is configured to cause the device to: While transferring the first data, the second data is written to the second memory die based at least in part on a number of available source data blocks of the memory system failing to satisfy a threshold number.
6. The device of claim 1, wherein the controller is further configured to cause the device to: determining to transfer third data from the one or more source data blocks to the one or more destination data blocks; receiving a second command from the host system to write fourth data to the first memory die in the set of memory dies; pausing the transmitting of the third data based at least in part on a number of available source data blocks of the memory system satisfying a threshold; and The fourth data is written to the first memory die in the set of memory dies based at least in part on suspending the transferring of the third data.
7. The device of claim 1, wherein the controller is further configured to cause the device to: receiving a third command from the host system to write third data to the first memory die; and The third data is written to the first memory die in the set of memory dies based at least in part on the completion of the transfer of the first data.
8. The device of claim 1, wherein the controller is further configured to cause the device to: generating first parity data associated with the second data based at least in part on writing the second data to one or more pages of a page line of the set of memory dies, the one or more pages being associated with the second memory die; writing third data to one or more remaining pages of the page line, the one or more remaining pages being associated with the one or more memory dies, based at least in part on receiving one or more additional commands from the host system after transferring the first data; generating second parity data associated with the third data based at least in part on writing the third data to the one or more remaining pages of the page line; and Third parity data associated with the page line is generated based at least in part on the first parity data and the second parity data.
9. The apparatus of claim 8, wherein the controller is further configured to cause the apparatus to: The first parity data is stored to one or more retained data blocks of the memory system, wherein generating the third parity data is based at least in part on the storing.
10. The apparatus of claim 8, wherein the controller is further configured to cause the apparatus to: After transmitting the first data, the second data is read from the one or more pages of the page line, wherein generating the first parity data is based at least in part on reading the second data.
11. The apparatus of claim 8, wherein the controller is further configured to cause the apparatus to: receiving an indication of power off of the memory system from the host system; storing the first parity data to the second memory die based at least in part on the indication; and After power-on of the memory system, the first parity data is read, wherein generating the third parity data is based at least in part on the reading of the first parity data.
12. The apparatus of claim 8, wherein: The third parity data includes independent AND non-NAND redundant array parity data.
13. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: receiving an indication of power off of the memory system from the host system; storing, prior to the powering off of the memory system, an indication of a respective last written to page for each memory die in the set of memory dies; reading the indication based at least in part on powering up of the memory system to determine the respective last written to page of each memory die; and Third data is written to a next page after a last written page of one of the set of memory dies based at least in part on the reading.
14. The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to: performing a read scan based at least in part on powering off the memory system to determine a respective last written to page for each memory die in the set of memory dies; and Third data is written to a next page after a last written page of one of the set of memory dies based at least in part on the performing the read scan.
15. The apparatus of claim 1, wherein the one or more source data blocks comprise single-level cells, multi-level cells, tri-level cells, or any combination thereof, and the one or more destination data blocks comprise quad-level cells.
16. A non-transitory computer-readable medium storing code comprising instructions that, when executed by a processor of an electronic device, cause the electronic device to: determining to transfer first data from one or more source data blocks of a memory system to one or more destination data blocks of the memory system, wherein the one or more source data blocks and the one or more destination data blocks are associated with one or more memory dies in a set of memory dies of the memory system; receiving a command from a host system to write second data to a first memory die of the one or more memory die; and Concurrently with transferring the first data, the second data is written to a second memory die in the set of memory dies that is different from the one or more memory dies associated with the transfer of the first data based at least in part on the transfer of the first data being associated with the first memory die.
17. The non-transitory computer-readable medium of claim 16, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to: A portion of a volatile memory device of the memory system is allocated for receiving one or more commands including the command to write the second data, wherein writing the second data to the second memory die in the set of memory dies is based at least in part on the allocation of the portion of the volatile memory device for receiving the one or more commands.
18. The non-transitory computer-readable medium of claim 16, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to: determining to transfer third data from the one or more source data blocks to the one or more destination data blocks; receiving a second command from the host system to write fourth data to the first memory die in the set of memory dies; pausing the transmitting of the third data based at least in part on a number of available source data blocks of the memory system satisfying a threshold; and The fourth data is written to the first memory die in the set of memory dies based at least in part on suspending the transferring of the third data.
19. A method comprising: determining to transfer first data from one or more source data blocks of a memory system to one or more destination data blocks of the memory system, wherein the one or more source data blocks and the one or more destination data blocks are associated with one or more memory dies in a set of memory dies of the memory system; receiving a command from a host system to write second data to a first memory die of the one or more memory die; and Concurrently with transferring the first data, the second data is written to a second memory die in the set of memory dies that is different from the one or more memory dies associated with the transfer of the first data based at least in part on the transfer of the first data being associated with the first memory die.
20. The method of claim 19, further comprising: A portion of a volatile memory device of the memory system is allocated for receiving one or more commands including the command to write the second data, wherein writing the second data to the second memory die in the set of memory dies is based at least in part on the allocation of the portion of the volatile memory device for receiving the one or more commands.
