Non-volatile storage system with adaptive command processing
By using multiple memory dies and corresponding controllers in a low-cost non-volatile memory system to selectively process multiple random read commands, the problem of insufficient random IOPS performance in the existing technology is solved and a more efficient implementation is achieved. High memory system performance.
Patent Information
- Application Number
- CN202010541919.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-11-27
- Filing Date
- 2020-06-15
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-06-15
AI Technical Summary
Existing low-cost non-volatile memory systems struggle to achieve high random IOPS (input/output operations per second) due to limitations in processing power and hardware automation.
Multiple random read commands are selectively processed using multiple memory dies and a controller coupled to the multiple memory dies to increase the number of parallel read operations and reduce read sense operation time.
By processing multiple read commands in parallel, the total execution time of random read commands is significantly reduced and the random IOPS performance of the memory system is improved.
Smart Images

Figure CN112860175B_ABST
Abstract
Description
Background Art
[0001] The present application relates to semiconductor memories, and more particularly, to nonvolatile memories.
[0002] Semiconductor memories are widely used in various electronic devices such as cellular phones, digital cameras, personal digital assistants, medical electronic devices, mobile computing devices, laptop computers, desktop computers, servers, solid-state drives, non-mobile computing devices, and other devices. Semiconductor memories may include nonvolatile memories or volatile memories. Nonvolatile memories allow information to be stored and saved even when the nonvolatile memory is not connected to a power source such as a battery. Examples of nonvolatile memories include flash memory such as NAND-type and NOR-type flash memory, electrically erasable programmable read-only memory (EEPROM), and the like.
[0003] Input / output operations per second (IOPS) is a performance measurement used to characterize memory systems. Random IOPS (accessing locations on a storage device in a non-contiguous manner) is a benchmark (measurement) commonly used to classify removable memory devices. Memory systems need to have high random IOPS. However, achieving high random IOPS is difficult for low-cost non-volatile memory systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0004] Like numbered elements in different figures refer to common components.
[0005] Figure 1A A functional block diagram of a memory device.
[0006] Figure 1B is a block diagram depicting an example of a memory structure.
[0007] Figure 2 A block diagram depicting an embodiment of a memory system.
[0008] Figure 3 An embodiment of a multi-plane multi-die flash memory system is depicted.
[0009] Figure 4 An embodiment of a flash memory system comprising two memory planes is depicted.
[0010] Figure 5 Display for Figure 4 Example timing diagram for a memory system.
[0011] Figure 6 An embodiment of a flash memory system including an on-chip cache is depicted.
[0012] Figure 7 Display for Figure 6Example timing diagram for a memory system.
[0013] Figures 8A to 8B An embodiment of a multi-die flash memory system is depicted.
[0014] Fig. 9 To describe the operation Fig. 8A A flow chart of one embodiment of a process for a multi-die flash memory system.
[0015] Fig.10 For use Fig. 9 A timing diagram of an example implementation of a process.
[0016] Fig.11 To describe the operation Fig. 8A Flowchart of another embodiment of a process for a multi-die flash memory system.
[0017] Fig.12 For use Fig.11 A timing diagram of an example implementation of a process. DETAILED DESCRIPTION
[0018] Some non-volatile storage devices require low-cost implementations. To meet these requirements, memory controllers for such low-cost non-volatile storage devices are typically limited to having a single processor, a limited amount of RAM (e.g., about 500KB), relatively low processing power, and no hardware acceleration or automation. Nevertheless, achieving higher random IOPS is desirable, even in low-cost non-volatile storage devices.
[0019] To solve the problems described above, a non-volatile storage device including multiple memory dies and a controller coupled to the multiple memory dies is proposed. The controller may be a low-cost controller (e.g., including a single processor, a limited amount of RAM, relatively low processing power, and no hardware automation) and is configured to selectively process multiple random read commands to shorten and preferably minimize the total time required to execute random read commands. In particular, the controller is configured to selectively process multiple random read commands to increase and preferably maximize the number of parallel read operations at the multiple memory dies, and reduce the time required for the multiple memory dies to perform read sensing operations.
[0020] Figure 1A to 1B An example memory system is described that can be used to implement the techniques described herein. Figure 1A is a functional block diagram of an example memory system 100 that includes one or more memory dies 102 . Figure 1A1 are circuits. In an embodiment, each memory die 102 includes a memory structure 104, a control circuit 106, and a read / write circuit 108, all of which are circuits. The memory structure 104 is addressable by word lines via a row decoder 110 and by bit lines via a column decoder 112. The read / write circuit 108 includes a plurality of sense blocks 114 (including SB1, SB2, ..., SBp) (sense circuits) and allows a page (or pages) of memory cells to be read or programmed in parallel.
[0021] In some systems, the controller 116 is included in the same package (e.g., a removable memory card) as one or more memory dies 102. However, in other systems, the controller 116 may be separate from the memory dies 102. In some embodiments, the controller 116 will be on a different die than the memory dies 102. In some embodiments, a single controller 116 will communicate with multiple memory dies 102. In other embodiments, each memory die 102 has its own controller. Commands and data are transmitted between the host 118 and the controller 116 via a data bus 120, and between the controller 116 and one or more memory dies 102 via lines 122. In an embodiment, the memory die 102 includes a set of input and / or output (I / O) pins (not shown) connected to the lines 122.
[0022] The control circuit 106 cooperates with the read / write circuit 108 to perform memory operations (e.g., write, read, etc.) on the memory structure 104, and includes a state machine 124, an on-chip address decoder 126, and a power control circuit 128. The state machine 124 provides die-level control of memory operations. In an embodiment, the state machine 124 can be programmed by software. In other embodiments, the state machine 124 does not use software and is implemented entirely in hardware (e.g., circuits). In an embodiment, the control circuit 106 includes buffers (not shown) such as registers, ROM fuses, and other storage devices for storing default values such as base voltages and other parameters.
[0023] The on-chip address decoder 126 provides an address interface between addresses used by the host 118 or controller 116 to hardware addresses used by the row decoder 110 and column decoder 112. The power control circuit 128 controls the power and voltage supplied to the word lines and bit lines during memory operations. The power control circuit 128 may include a charge pump (not shown) for generating voltages. The sense block 114 includes a bit line driver (not shown).
[0024] The state machine 124 and / or the controller 116 (or equivalent circuitry) may be considered control circuitry that performs the functions described herein. The control circuitry may include hardware alone or a combination of hardware and software (including firmware). For example, a controller that is programmed by firmware to perform the functions described herein is an example of a control circuit. The control circuitry may include a processor, a field programmable gate array (FGA), an application specific integrated circuit (ASIC), an integrated circuit, or other types of circuitry.
[0025] The controller 116 (which is a circuit in one embodiment) may include one or more processors 116a, ROM 116b, RAM 116c, a memory interface (MI) 116d, and a host interface (HI) 116e, all of which are interconnected. The storage devices (ROM 116b, RAM 116c) store code (software), such as instruction sets (including firmware), and the one or more processors 116a are operable to execute the instruction sets to provide the functionality described herein. Alternatively or in addition, the one or more processors 116a may access code from a storage device in the memory structure 104 (e.g., a reserved area of memory cells connected to one or more word lines). RAM 116c can be used to store data for the controller 116, including cached program data.
[0026] The memory interface 116d, which communicates with the processor 116a, ROM 116b, and RAM 116c, is a circuit that provides an electrical interface between the controller 116 and one or more memory dies 102. For example, the memory interface 116d may change the format or timing of a signal, provide buffering, isolate surges, latch I / O, etc. The one or more processors 116a may issue commands to the control circuit 106 (or another component of the memory die 102) via the memory interface 116d. The host interface 116e provides an electrical interface with the host 118 via the data bus 120 to receive commands, addresses, and / or data from the host 118 to provide data and / or status to the host 118.
[0027] In one embodiment, memory structure 104 includes a three-dimensional memory array of non-volatile memory cells with multiple memory levels formed above a substrate such as a wafer. Memory structure 104 may include any type of non-volatile memory formed monolithically in one or more physical levels of an array of memory cells having active regions disposed above a silicon (or other type of) substrate. In one example, the non-volatile memory cells include vertical NAND strings having charge trapping material.
[0028] In another embodiment, the memory structure 104 includes a two-dimensional memory array of non-volatile memory cells. In one example, the non-volatile memory cells are NAND flash memory cells that utilize floating gates. Other types of memory cells (such as NOR type flash memory) may also be used.
[0029] The exact type of memory array architecture or memory cells included in the memory structure 104 is not limited to the above examples. Many different types of memory array architectures or memory technologies may be used to form the memory structure 104. For the purposes of the embodiments described herein, a specific non-volatile memory technology is not required. Other examples of suitable technologies for the memory cells of the memory structure 104 include ReRAM memory, magnetoresistive memory (e.g., MRAM, spin transfer torque MRAM, spin orbit torque MRAM), phase change memory (e.g., PCM), etc. Examples of suitable technologies for the memory cell architecture of the memory structure 104 include two-dimensional arrays, three-dimensional arrays, cross-point arrays, stacked two-dimensional arrays, vertical bit line arrays, etc.
[0030] An example of a ReRAM or PCMRAM cross-point memory includes reversible resistance switching elements arranged in a cross-point array accessed by X-lines and Y-lines (e.g., word lines and bit lines). In another embodiment, the memory cell may include a conductive bridging memory element. The conductive bridging memory element may also be referred to as a programmable metallization cell. The conductive bridging memory element may be used as a state-changing element based on the physical migration of ions within a solid electrolyte. In some cases, the conductive bridging memory element may include two solid metal electrodes (one relatively inert (e.g., tungsten) and the other electrochemically active (e.g., silver or copper)), with a thin film of solid electrolyte between the two electrodes. As the temperature increases, the mobility of the ions also increases, thereby reducing the programming threshold of the conductive bridging memory cell. Therefore, the conductive bridging memory element may have a wide range of programming thresholds that vary with temperature.
[0031] Magnetoresistive memory (MRAM) stores data via magnetic storage elements. The element is formed by two ferromagnetic plates separated by a thin insulating layer, each of which can maintain magnetization. One of the two plates is a permanent magnet set to a specific polarity; the magnetization of the other plate can be changed to match the magnetization of the external field storing the memory. The memory device is constructed from a grid of such memory cells. In one embodiment for programming, each memory cell is located between a pair of write lines that are arranged at right angles to each other, parallel to the cells, one above the cell and one below the cell. When current passes through the pair of write lines, an induced magnetic field is generated.
[0032] Phase change memory (PCM) exploits the unique properties of chalcogenide glasses. One embodiment uses a GeTe-Sb2Te3 superlattice to achieve a non-thermal phase change by simply changing the coordination state of the germanium atoms with a laser pulse (or a light pulse from another source). The programming dose is therefore a laser pulse. The memory cell can be inhibited by preventing the memory cell from receiving light. It should be noted that the use of "pulse" in this document does not require a rectangular pulse, but includes (continuous or discontinuous) vibrations or bursts of sound, current, voltage light or other waves.
[0033] Those of ordinary skill in the art will recognize that the technology described herein is not limited to a single specific memory structure, but encompasses many related memory structures within the spirit and scope of the technology as described herein and as understood by those of ordinary skill in the art.
[0034] Figure 1B An example of a memory structure 104 is depicted. In one embodiment, the memory cell array is divided into multiple planes. Figure 1B In the example of , memory structure 104 is divided into two planes: plane 130 and plane 132. In other embodiments, more or less than two planes may be used. In some embodiments, each plane is divided into a plurality of memory erase blocks (e.g., blocks 0 to 1023, or another amount).
[0035] In some memory technologies (e.g., 2D / 3D NAND and other types of flash memory), a memory erase block is the smallest unit of memory cells for an erase operation. That is, each erase block contains the minimum number of memory cells that are erased together in a single erase operation. Other erase units may also be used. In other memory technologies (e.g., MRAM, PCM, etc.) used to implement other embodiments of the technology described herein, memory cells may be overwritten without an erase operation and therefore erase blocks may not exist.
[0036] Each memory erase block includes many memory cells. The design, size, and organization of the memory erase block depends on the architecture and design of the memory structure 104. As used herein, a memory erase block is a group of contiguous memory cells that share a common word line and a bit line. For example, Figure 1B The erase block i of plane 132 includes memory cells that share word lines WL0_i, WL1_i, WL2_i, and WL3_i and share bit lines BL0 to BL69,623.
[0037] In one embodiment, a memory erase block (e.g., erase block i of plane 132) contains a set of NAND strings (e.g., NAND string 134) that are accessed via bit lines (e.g., bit lines BL0 to BL69, 623) and word lines (WL0, WL1, WL2, WL3). Figure 1B Four memory cells are shown connected in series to form a NAND string, such as NAND string 134. Although four cells are depicted as included in each NAND string, more or less than four cells may be used, such as 16, 32, 64, 128, 256, or another number of memory cells may be on a NAND string. One terminal of the NAND string is connected to a corresponding bit line via a drain select gate, such as drain select gate 136, and the other terminal is connected to a source line via a source select gate, such as source select gate 138. Although Figure 1B 69624 bit lines are shown, but a different number of bit lines may be used.
[0038] Each memory erase block and / or each memory storage unit is usually divided into multiple pages. In one embodiment, a page is a programming / writing unit and a reading unit. Other programming units may also be used. One or more data pages are usually stored in a row of memory cells. For example, one or more data pages may be stored in a memory cell connected to a common word line. A page includes user data and overhead data (also referred to as system data). Overhead data usually includes header information and an error correction code (ECC) that has been calculated based on the user data of the segment. The controller (or other component) calculates the ECC when writing data into the array, and also checks the ECC when reading data from the array. In one embodiment, a page includes data stored in all memory cells connected to a common word line.
[0039] In the examples discussed above, the erase unit is a memory erase block and the programming and reading unit is a page. Other operating units may also be used. Data of one byte, 1K byte, 512K bytes, etc. may be stored / written / programmed, read, or erased at one time. The techniques described herein do not require specific operating units. In some examples, the system programs, erases, and reads at the same operating unit. In other embodiments, the system programs, erases, and reads at different operating units. In some examples, the system programs / writes and erases, while in other examples, the system only needs to program / write, and does not need to erase, because the system can program / write zeros and ones (or other data values) and can therefore overwrite previously stored information.
[0040] As used herein, a memory storage cell is the group of memory cells that represents the smallest storage operation unit of a memory technology used to store / write / program data into a memory structure 104. For example, in one embodiment, a memory storage cell is a page sized to hold 4KB of data. In some embodiments, a complete memory storage cell is sized to match the number of physical memory cells across a row of memory structures 104. In one embodiment, an incomplete memory storage cell has fewer physical memory cells than a complete memory storage cell.
[0041] Figure 2 1 is a block diagram of an example memory system 100, which depicts more details of an embodiment of a controller 116. In an embodiment, the controller 116 is a flash memory controller. The memory die 102 is not limited to flash memory technology. Therefore, the controller 116 is not limited to the instance of a flash memory controller. As used herein, a flash memory controller is a device that manages data stored in a flash memory and communicates with a host 118 such as a computer or electronic device. The flash memory controller may have various functionalities in addition to the specific functionality described herein. For example, the flash memory controller may format the flash memory to ensure that the memory is operating properly, list bad flash memory cells, and allocate spare memory cells to replace cells that fail in the future. A portion of the spare cells may be used to hold firmware to operate the flash memory controller and implement other features.
[0042] In operation, when the host 118 needs to read data from or write data to the memory die 102, the host 118 will communicate with the controller 116. If the host 118 provides a logical address to which the data is to be read / written, the controller 116 may convert the logical address received from the host 118 into a physical address in the flash memory. (Alternatively, the host 118 may provide the physical address.) The controller 116 may also perform various memory management functions such as, but not limited to, wear leveling (distributing writes to avoid wearing out specific memory blocks that would otherwise be repeatedly written to) and garbage collection (after a block is full, only valid data pages are moved to a new block so the full block can be erased and reused).
[0043] The interface between the controller 116 and the memory die 102 may be any suitable flash memory interface, such as Toggle Mode 200, 400, or 800. In one embodiment, the memory system 100 may be a card-based system, such as a secure digital (SD) or micro secure digital (microSD) card. In alternative embodiments, the memory system 100 may be part of an embedded memory system. For example, the flash memory may be embedded within the host 118. In other examples, the memory system 100 may be in the form of a solid state drive (SSD).
[0044] In some embodiments, memory system 100 includes a single channel between controller 116 and memory die 102, but the subject matter described herein is not limited to having a single memory channel. For example, in some memory system architectures, depending on the controller capabilities, 2, 4, 8, or more channels may exist between controller 116 and memory die 102. In any embodiments described herein, more than a single channel may exist between controller 116 and memory die 102, even if a single channel is shown in the figure.
[0045] The controller 116 includes a front end module 200 that interfaces with the host 118, a back end module 202 that interfaces with one or more memory dies 102, and various other modules that perform functions that will now be described in detail.
[0046] Figure 2 The components of the controller 116 depicted in the figure may take the form of, for example, a packaged functional hardware unit (e.g., a circuit), a portion of a program code (e.g., software or firmware) executable by a (micro)processor or processing circuit, or a self-contained hardware or software component, wherein the packaged functional hardware unit is designed for use with other components, the (micro)processor or processing circuit typically performs specific functions of related functions, and the self-contained hardware or software component interfaces with a larger system.
[0047] For example, each module may include an ASIC, an FPGA, a circuit, a digital logic circuit, an analog circuit, a combination of discrete circuits, a gate, or any other type of hardware or combination thereof. Alternatively or in addition, each module may include software stored in a processor-readable device (e.g., a memory) to program the processor of the controller 116 to perform the functions described herein. Figure 2 The architecture depicted in this example may (or may not) use Figure 1A An example implementation of the components of controller 116 (ie, RAM, ROM, processor, interfaces) is depicted in FIG.
[0048] Referring again to the modules of the controller 116, the buffer management / bus control 204 manages the buffers in the random access memory (RAM) 206 and controls the internal bus arbitration of the controller 116. The read only memory (ROM) 208 stores the system boot code. Although shown as being located separately from the controller 116, in other embodiments, one or both of the RAM 206 and the ROM 208 may be located within the controller 116. In still other embodiments, portions of the RAM and ROM may be located both within the controller 116 and external to the controller 116. Additionally, in some implementations, the controller 116, the RAM 206, and the ROM 208 may be located on separate semiconductor dies.
[0049] The front-end module 200 includes a host interface 210 and a physical layer interface (PHY) 212 that provide an electrical interface with the host 118 or a next-level storage controller. The selection of the type of host interface 210 may depend on the type of memory used. Examples of host interface 210 include, but are not limited to, SATA, high-speed SATA, SAS, Fibre Channel, USB, PCIe, and NVMe. The host interface 210 generally facilitates the transfer of data, control signals, and timing signals.
[0050] The back-end module 202 includes an error correction code (ECC) engine 214 that encodes data bytes received from the host 118 and decodes and error corrects data bytes read from the memory die 102. A command sequencer 216 generates command sequences to be transmitted to the memory die 102, such as program and erase command sequences. A redundant array of independent die (RAID) module 218 manages the generation of RAID parity and the recovery of failed data. RAID parity can be used as an additional level of integrity protection for writing data into the memory system 100. In some cases, the RAID module 218 can be part of the ECC engine 214. It should be noted that RAID parity can be added as another additional memory die as the common name implies, but RAID parity can also be added within an existing memory die, for example, as an additional plane or an additional block or an additional WL within a block.
[0051] The memory interface 220 provides command sequences to the memory die 102 and receives status information from the memory die 102. In one embodiment, the memory interface 220 may be a double data rate (DDR) interface, such as a conversion mode 200, 400, or 800 interface. The flash control layer 222 controls the overall operation of the back-end module 202.
[0052] One embodiment includes a write / read manager 224 that can be used (in conjunction with circuitry on the memory die 102) to manage writing and reading of memory cells. In some embodiments, the write / read manager 224 performs the processes depicted in the flow charts described below.
[0053] Figure 2 Additional components of the memory system 100 shown in FIG. 1 include a media management layer (MML) 226 that performs wear leveling of the memory cells of the memory die 102. The memory system 100 also includes other discrete components 228, such as external electrical interfaces, external RAM, resistors, capacitors, or other components that may interface with the controller 116. In alternative embodiments, one or more of the physical layer interface 212, the RAID module 218, the MML 226, and the buffer management / bus controller 204 are optional components that are not necessarily in the controller 116.
[0054] A flash translation layer (FTL) or MML 226 may be integrated as part of flash management that may handle flash errors and interface with the host 118. In particular, the MML 226 may be a module in flash management and may be responsible for the internals of NAND management. In particular, the MML 226 may include algorithms in the memory device firmware that translate writes from the host 118 into writes to the memory structures 104 of the memory die 102. The MML 226 may be needed because the memory structures 104: 1) may have limited endurance; 2) may only be written to in multiple pages; and / or 3) may not be written to unless they are erased as a block.
[0055] The MML 226 understands these potential limitations of the memory structure 104 that may not be visible to the host 118. Therefore, the MML 226 attempts to translate writes from the host 118 into writes into the memory structure 104. As described below, the MML 226 can be used to identify and record error bits. This recording of error bits can be used to assess the health of blocks and / or word lines (memory cells on a word line).
[0056] The controller 116 may interface with one or more memory dies 102. In one embodiment, the controller 116 and the plurality of memory dies 102 (together comprising the memory system 100) implement an SSD in a laptop computer, in a tablet computer, in a server, etc., which may emulate, replace, or substitute a hard drive inside a host for use as a NAS device. Additionally, it is not necessary for the SSD to function as a hard drive.
[0057] Some embodiments of the non-volatile storage system will include one memory die 102 connected to one controller 116. However, other embodiments may include multiple memory die 102 in communication with one or more controllers 116. In one example, multiple memory die 102 may be grouped into a set of memory packages. Each memory package includes one or more memory die 102 in communication with the controller 116. In one embodiment, the memory package includes a printed circuit board (or similar structure) on which one or more memory die 102 are mounted. In some embodiments, the memory package may include a molding material to encapsulate the memory die 102 of the memory package. In some embodiments, the controller 116 is physically separated from any one of the memory packages.
[0058] Figure 3Another embodiment of a memory system 100 is shown, the memory system 100 having a flash non-volatile memory including two memory dies (memory die 102-0 and memory die 102-1), each memory die containing two planes (Plane 0 and Plane 1). Each plane has its own bit line and word line circuits and is capable of operating substantially independently of the other planes (e.g., data can be written or read one plane at a time). Data can be written in the smallest unit of a page, which in some NAND memory designs corresponds to a word line in a plane. A controller 116 receives commands from a host (e.g., host 118) and directs the commands to the appropriate locations in the non-volatile memory. In an embodiment, the controller 116 converts host commands into instructions directed to a specific die, plane, and location within a plane (e.g., relative to a specific page).
[0059] Figure 4 Another embodiment of a memory system 100 is shown that includes a memory die 102-0 having two planes, Plane 0 and Plane 1. Four portions of data numbered P0, P1, P2, P3 are stored in non-volatile memory at the indicated locations. Plane 0 and Plane 1 are each addressed by a memory controller 116. Each of the portions of data occupies a single page within one of the planes, and thus, the four portions will also be referred to herein as pages P0, P1, P2, and P3.
[0060] In an embodiment, a host (e.g. Figure 1A and 2 The host 118 in the flash memory system 100 issues instructions to access pages in any order. In an embodiment, the host 118 issues a series of four read commands (e.g., read P0, read P1, read P2, read P3) to the flash memory system 100 to read pages respectively. Figure 4 In an embodiment, the host 118 sends read commands in sequence and incrementally, that is, the host 118 sends a command to read P0 for page P0, then sends a command to read P1 for page P1, then sends a command to read P2 for page P2, and then sends a command to read P3 for page P3.
[0061] Figure 5 Display for Figure 4 1. In particular, Figure 5A first manner in which the controller 116 may process the following four commands is shown: Read P0, Read P1, Read P2, Read P3. The controller 116 may receive the four commands from the host 118 together or separately. In this example, the controller 116 first sends a command Read P0 over a command bus ("CMD") to read page P0. Subsequently, when the non-volatile memory ("NVM") receives the command, the memory executes the command by performing a read sense operation "RdSense 0" of page P0. The data read out of the memory cells in the portion of the non-volatile memory occupied by page P0 is then transmitted "Tx 0" from the non-volatile memory to the controller 116 over the data bus "DATA".
[0062] The controller 116 then sends a command read P1 through the command bus CMD to read page P1, and repeats the process for page P1. After the page P1 data is transferred back to the controller 116, the process is repeated for page P2. Subsequently, the process is repeated for page P3. Figure 5 As shown in FIG, the time required for each sensing operation (referred to herein as “sensing time”) is T sen , and the time required for each data transmission (referred to as "transmission time" in this article) is T xf Ignoring the time required to receive the read command, the total time required to execute four read commands is 4×(T sen +T xf ).
[0063] Figure 5 This sequential operation depicted in is well suited to systems that receive host commands one at a time, where the host waits for a response before sending the next command. However, a more efficient method can be used when the host sends multiple commands, which are directed to relatively small portions of non-volatile memory (e.g., to individual pages).
[0064] Figure 6 Another embodiment of a memory system 100 is shown that includes a cache memory between the controller 116 and the non-volatile memory. In this embodiment, plane 0 has an associated cache 602, and plane 1 has an associated cache 604. In an embodiment, each of cache 602 and cache 604 holds one page of data. Thus, when a page is read from a plane, the data from that page can be held (or "cached") in the cache memory associated with that plane.
[0065] This may allow a subsequent read sense operation to begin in the plane before the data from the previous read sense operation has been sent to the controller 116. Thus, the subsequent read sense operation is performed in parallel with the data from the previous read sense operation being transferred from the cache memory to the controller 116. In an embodiment, the cache memories 602 and 604 may each be a simple one-page memory, such as a row of latches, on the same die as the flash memory, such as a cache buffer typically located on a NAND flash memory chip.
[0066] Figure 7 Display for Figure 6 A timing diagram of the operation of the flash memory system 600 is shown. Figure 5 The timing diagram is opposite, Figure 7 It is shown that after RdSense 0 is completed in Plane 0, data from RdSense 0 is cached ("Ch 0"). After completing Ch 0, the nonvolatile memory transmits data from RdSense0 Tx 0 to the controller 116. In addition, the controller 116 subsequently sends a command Read 1 over the command bus CMD to read Data 1 in Plane 0. When the nonvolatile memory receives the command Read P1, the memory executes RdSense 1 of Page P1. After RdSense 1 is completed in Plane 0, data from RdSense1 is cached ("Ch 1"). After completing Ch 1, the nonvolatile memory transmits data from RdSense 1 Tx 1 to the controller 116.
[0067] Similarly, after RdSense 2 is completed in Plane 1, data from RdSense 2 is cached (“Ch2”). After Ch 2 is completed, the nonvolatile memory transmits Tx 2 the data from RdSense 2 to the controller 116. In addition, the controller 116 subsequently sends a command Read P3 over the command bus CMD to read page P3 in Plane 1. When the nonvolatile memory receives the command Read P3, the memory performs RdSense 3 of page P3. After RdSense 3 is completed in Plane 1, data from RdSense 3 is cached (“Ch 3”). After Ch 3 is completed, the nonvolatile memory transmits Tx 3 the data from RdSense 3 to the controller 116.
[0068] Thus, the cache memory can allow a read sense operation to occur in parallel with the transfer of data from a previous read sense operation, rather than waiting for the transfer of data from the previous read sense operation to complete. Generally, a suitable cache is directly connected to the plane so that data can be quickly transferred from the read sense circuitry in the plane to the cache. Thus, the time required for caching can be minimal.
[0069] As described above, the memory system 100 may include one or more memory dies 102 . Figures 8A to 8B An embodiment of a memory system 100 is depicted that includes four memory dies 102-0, 102-1, 102-2, and 102-3 coupled to a controller 116. One of ordinary skill in the art will appreciate that more or less than four memory dies 102 may be used. For example, some memory systems 100 may include up to 32 (or more) memory dies 102. The controller 116 is coupled to a host 118 that includes a host command queue 800 that may include various commands (e.g., read commands, write commands, etc.) for reading data from and writing data to the memory system 100.
[0070] Figure 8B Depicted are example contents of a host command queue 800. Specifically, the host command queue 800 includes fifteen commands: Command 1: Read D0, Command 2: Read D1, Command 3: Read D0, Command 4: Read D3, Command 5: Read D2, Command 6: Read D0, Command 7: Read D2, Command 8: Read D2, Command 9: Read D2, Command 10: Read D3, Command 11: Read D0, Command 12: Read D1, Command 13: Read D1, Command 14: Read D3, and Command 15: Read D3.
[0071] In this example, command "Read Dx" instructs controller 116 to read a particular page of data from memory die 102-x. Thus, command 1 instructs controller 116 to read a page of data from memory die 102-0, command 2 instructs controller 116 to read a page of data from memory die 102-1, command 3 instructs controller 116 to read a page of data from memory die 102-0, command 4 instructs controller 116 to read a page of data from memory die 102-3, and so on.
[0072] Fig. 9 To describe a method for operating a multi-die non-volatile storage device (e.g. Figures 8A to 8B 100) is a flowchart of an embodiment of a process 900 of a memory system 100). In an embodiment, by Fig. 8AThe process 900 is implemented by the controller 116 of the embodiment of the present invention. Beginning at step 902, a command set is formed by a plurality of host commands. For example, referring to Figures 8A to 8B , the controller 116 collects a plurality of commands from the host command queue 800 to form a command set. In an exemplary embodiment, the controller 116 collects a maximum of five commands for each command set. In other embodiments, each command set may include more or less than five commands.
[0073] In this example, the controller 116 forms a first command set:
[0074] Command set 1: 1-Read D0, 2-Read D1, 3-Read D0, 4-Read D3, 5-Read D2
[0075] The entries in the command set indicate "command number - command". Thus, "1 - Read D0" means command number 1 reads a data page from memory die 102-0, "4 - Read D3" means command number 4 reads a data page from memory die 102-3, and so on.
[0076] Reference again Fig. 9 At step 904, the command set formed at step 902 is reordered to shorten the sensing time. Fig. 8A In the case of multiple memory dies 102-0, 102-1, 102-2, and 102-3, the controller 116 can shorten the sensing time by performing multiple many-die sensing operations in parallel. Therefore, in the above example, the first command set can be reordered as follows: Reordering command set 1: 1-Read D0, 2-Read D1, 3-Read D2, 4-Read D3, 5-Read
[0077] D0
[0078] Reference again Fig. 9 At step 906, the reordered command set from step 904 is executed. For example, referring to Fig. 8A , the controller 116 executes the reorder command set 1 (1-Read D0, 2-Read D1, 3-Read D2, 4-Read D3, 5-Read D0).
[0079] Fig.10 An example timing diagram illustrating the operation of process 900 is depicted, wherein at time t a to h The example reordering command set 1 described above is implemented between. Specifically, at time t a to bIn between, the controller 116 performs firmware overhead functions (e.g., logical and physical address translation, construction descriptors for hardware units, command execution function calls) necessary to execute the various read commands specified in the reorder command set 1. In an example embodiment, the firmware overhead time may be approximately 30 microseconds, although other times may be used.
[0080] At time t b to c In parallel, a read sense of memory die 102-0 (command 1), a read sense of memory die 102-1 (command 2), a read sense of memory die 102-2 (command 3), and a read sense of memory die 102-3 (command 4) are performed. In an example embodiment, each read sense may be approximately 60 microseconds, but other times may be used.
[0081] At time t c , after completing the read sensing of memory die 102-0 (command 1), the read sensing of memory die 102-1 (command 2), the read sensing of memory die 102-2 (command 3), and the read sensing of memory die 102-3 (command 4), at time t c to f A read sense (command 5) of memory die 102-0 is performed.
[0082] In addition, at time t c to d Between time t and t, data read out of the memory cells in memory die 102-0 (command 1) is transferred from memory die 102-0 to controller 116. d to e Between time t and t, data read out of the memory cells in memory die 102-1 (command 2) is transferred from memory die 102-1 to controller 116. e to f Between time t and t, data read from the memory cells in memory die 102-2 (command 3) is transferred from memory die 102-2 to controller 116. f to g Between t and t, the data read out from the memory cells in memory die 102-4 (command 4) is transferred from memory die 102-3 to controller 116. Finally, at time t g to h The data read from the memory cell in the memory die 102-0 (command 5) is transmitted from the memory die 102-0 to the controller 116, thereby completing the operation of the reordering command set 1 and Fig. 9Step 906. In an example embodiment, each data transfer may be approximately 20 microseconds, although other times may be used.
[0083] Reference again Fig. 9 , at step 908, a determination is made as to whether any more host commands are pending. Figures 8A to 8B In the example of , additional commands are pending, so the process 900 returns to step 902, and the controller 116 collects the next five commands from the host command queue 800 to form the next command set. In this example, the controller 116 forms a second command set:
[0084] Command set 2: 6-Read D0, 7-Read D2, 8-Read D2, 8-Read D2, 10-Read D3
[0085] At step 904, the command set formed at step 902 is reordered to shorten the sensing time by performing the die sensing operations in parallel. Thus, in the above example, the second command set may be reordered as follows:
[0086] Reorder command set 2: 6 - Read D0, 7 - Read D2, 8 - Read D3, 9 - Read D2, 10 - Read D2
[0087] Reference again Fig. 9 At step 906, the reordered command set from step 904 is executed. For example, referring to Fig. 8A , the controller 116 executes the reorder command set 2 (6-Read D0, 7-Read D2, 8-Read D3, 9-Read D2, 10-Read D2).
[0088] Reference again Fig.10 , at time t h to p The example reordering command set 2 described above is implemented between. Specifically, at time t h to i In between, the controller 116 performs firmware overhead functions necessary to execute the various read commands specified in the reorder command set 2.
[0089] At time t i to j In between, the read sensing of the memory die 102-0 (command 6), the read sensing of the memory die 102-2 (command 7), and the read sensing of the memory die 102-3 (command 8) are performed in parallel.
[0090] At time t j, after completing the read sensing of memory die 102-0 (command 6), the read sensing of memory die 102-2 (command 7), and the read sensing of memory die 102-3 (command 8), at time t j to m A read sense of memory die 102-2 is performed (command 9).
[0091] In addition, at time t j to k Between time t and t, data read from the memory cells in memory die 102-0 (command 6) is transferred from memory die 102-0 to controller 116. k to l Between time t and t, data read out from the memory cells in memory die 102-2 (command 7) is transferred from memory die 102-2 to controller 116. l to m In the meantime, data read out from the memory cells in the memory die 102 - 3 (command 8 ) is transferred from the memory die 102 - 3 to the controller 116 .
[0092] At time t m , after completing the read sensing of memory die 102-2 (command 9), at time t m to o A read sense (command 10 ) of die 102 - 2 is performed.
[0093] At time t m to n 102-2, the data read out from the memory cells in the memory die 102-2 (command 9) is transferred from the memory die 102-2 to the controller 116. Finally, at time t o to p The data read out from the memory cell in the memory die 102-2 (command 10) is transmitted from the memory die 102-2 to the controller 116, thereby completing the operation of the reordering command set 2 and Fig. 9 Step 906.
[0094] Reference again Fig. 9 , at step 908, a determination is made as to whether any more host commands are pending. Figures 8A to 8B In the example of , additional commands are pending, so the process 900 returns to step 902, and the controller 116 collects the next five commands from the host command queue 800 to form the next command set. In this example, the controller 116 forms a third command set:
[0095] Command set 3: 11-Read D0, 12-Read D1, 13-Read D1, 14-Read D3, 15-Read D3
[0096] At step 904, the command set formed at step 902 is reordered to shorten the sensing time by performing multiple die sensing operations in parallel. Therefore, in the above example, the third command set can be reordered as follows:
[0097] Reorder command set 3: 11 - Read D0, 12 - Read D1, 13 - Read D3, 14 - Read D1, 15 - Read D3
[0098] Reference again Fig. 9 At step 906, the reordered command set from step 904 is executed. For example, referring to Fig. 8A , the controller 116 executes the reorder command set 3 (11-Read D0, 12-Read D1, 13-Read D3, 14-Read D1, 15-Read D3).
[0099] Reference again Fig.10 , at time t p to w The example reordering command set 3 described above is implemented between. Specifically, at time t p to q In between, the controller 116 performs firmware overhead functions necessary to execute the various read commands specified in the reorder command set 3.
[0100] At time t q to r In between, the read sensing of the memory die 102-0 (command 11), the read sensing of the memory die 102-1 (command 12), and the read sensing of the memory die 102-3 (command 13) are performed in parallel.
[0101] At time t r , after completing the read sensing of memory die 102-0 (command 11), the read sensing of memory die 102-1 (command 12), and the read sensing of memory die 102-3 (command 13), at time t r to u A read sense of the memory die 102 - 1 (command 14 ) and a read sense of the memory die 102 - 3 (command 15 ) are performed in between.
[0102] In addition, at time t r to sBetween time t and t, data read from the memory cells in memory die 102-0 (command 11) is transferred from memory die 102-0 to controller 116. s to t Between time t and t, data read from the memory cells in memory die 102-1 (command 12) is transferred from memory die 102-1 to controller 116. t to u Between time t and t, data read out from the memory cells in memory die 102-3 (command 13) is transferred from memory die 102-3 to controller 116. u to v Between t and t, the data read out from the memory cells in memory die 102-1 (command 14) is transferred from memory die 102-1 to controller 116. Finally, at time t v to w The data read out from the memory cell in the memory die 102-3 (command 15) is transmitted from the memory die 102-3 to the controller 116, thereby completing the operation of the reordering command set 3 and Fig. 9 Step 906.
[0103] Reference again Fig. 9 , at step 908, a determination is made as to whether any more host commands are pending. Figures 8A to 8B In the example of , no additional commands are pending, so process 900 terminates. Using the example processing times specified above, Fig. 9 The example process depicted in FIG. 6 takes 610 microseconds to complete fifteen commands.
[0104] As described above, input / output operations per second (IOPS) is a performance measurement used to characterize memory systems, such as hard disk drives (HDDs), solid-state drives (SSDs), and storage area networks (SANs). IOPS can be used along with other metrics such as latency and throughput to measure the overall performance of a memory system.
[0105] The most common performance characteristics measured are sequential and random operations. Sequential IOPS access locations on a storage device in a sequential manner and are typically associated with larger data transfer sizes (e.g., 128kB). Random IOPS access locations on a storage device in a discontinuous manner and are typically associated with smaller data transfer sizes, such as pages of data (e.g., 4kB). As used herein, a "random read command" is a read command that accesses locations on a storage device in a discontinuous manner.
[0106] Figure 8B A series of random read commands are shown, each of which randomly reads Fig. 8AThe memory dies 102-0, 102-1, 102-2 and 102-3 of the memory system 100 access a data page. Random IOPS is a benchmark (measurement) program commonly used to classify removable memory devices. The memory system needs to have a higher random IOPS. Although Fig. 9 The process achieves some improvement in random IOPS, but multi-die non-volatile storage devices (such as Figures 8A to 8B Further improvements in random IOPS of the memory system 100 are possible.
[0107] In fact, reference Fig.10 , each of reordering command set 1, reordering command set 2, and reordering command set 3 includes a situation where sequential sensing operations are performed on the same die, and in some cases, the parallelism of the sensing operations is not fully adopted. For example, in reordering command set 2, at time t i to j Only three sensing operations are performed in parallel between the two, and in the reordering command set 3, at time t q to r Only three sense operations are performed in parallel. Since the sense operation is the most time consuming, increasing or maximizing the parallelism of the sense operations will shorten the overall time required to perform random IOPS and thus increase random IOPS.
[0108] In some embodiments (eg, to reduce cost), the controller 116 includes a single processor 802 ( Fig. 8A ) and a limited amount of RAM (e.g., about 500KB), relatively low processing power, and no hardware automation. Due to these constraints, the controller 116 cannot feasibly implement individual die pipelines for the multi-die memory system 100, and therefore multiple memory dies 102 share a single command pipeline. Nevertheless, despite such constraints in such low-cost implementations, it is still desirable to have higher random IOPS.
[0109] To solve the problems described above, a non-volatile storage device including multiple memory dies and a controller coupled to the multiple memory dies is proposed. The controller is a low-cost controller (e.g., including a single processor, a limited amount of RAM, relatively low processing power, and no hardware automation) and is configured to selectively process multiple random read commands to shorten and preferably minimize the total time required to execute random read commands. Without wishing to be bound by any particular theory, it is believed that the disclosed apparatus and method increase the number of random IOPS for a low-cost non-volatile storage device.
[0110] Fig.11 To describe a method for operating a multi-die non-volatile storage device (e.g. Figures 8A to 8B100) of a memory system 100). In an embodiment, by Fig. 8A The process 1100 is implemented by the controller 116.
[0111] Beginning at step 1102, a first read set is formed from a plurality of host commands. For example, referring to Figures 8A to 8B , the controller 116 collects multiple commands from the host command queue 800 to form a read set. In an example embodiment, the controller 116 collects commands for each memory die 102-0, 102-1, 102-2, and 102-3 of the memory system 100, while skipping any commands that will cause multiple sense operations to the same memory die.
[0112] For example, refer to Figure 8B For the example host command queue 800, the controller 116 will form the first read set as follows:
[0113] Read set 1: 1-read D0, 2-read D1, 4-read D3, 5-read D2
[0114] Skipped commands: 3 - Read D0
[0115] Reference again Fig.11 , at step 1104, a sense command is executed for the first read set. For example, referring to Fig. 8A , the controller 116 executes the sensing commands of the read set 1 (1-read D0, 2-read D1, 4-read D3, 5-read D2).
[0116] Fig.12 An example timing diagram illustrating the operation of process 1100 is depicted, wherein at time t a to c The example read set 1 described above is implemented between. In particular, at time t a to b During this time, the controller 116 performs firmware overhead functions necessary to execute the various read commands specified in Read Set 1. b to c In between, the read sensing of the memory die 102-0 (command 1), the read sensing of the memory die 102-1 (command 2), the read sensing of the memory die 102-2 (command 5), and the read sensing of the memory die 102-3 (command 4) are performed in parallel.
[0117] Reference again Fig.11 , at step 1106, a determination is made as to whether any more host commands are pending. Figures 8A to 8BIn the example of , additional commands are pending, so process 1100 proceeds to step 1108, and the current read set is formed by the plurality of host commands and any skipped commands from the previous read set. Figures 8A to 8B , the controller 116 collects multiple commands from the host command queue 800 and the skipped commands from read set 1 (3-read D0) to form the current read set:
[0118] Read set 2: 3-read D0, 7-read D2, 10-read D3, 12-read D1
[0119] Skipped commands: 6 - Read D0, 8 - Read D2, 9 - Read D2, 11 - Read D0
[0120] Reference again Fig.11 , at step 1110, a sense command is executed for the current read set (read set 2), and a transfer is executed for the previous read set (read set 1). Fig. 8A , the controller 116 executes the sensing commands of the read set 2 (3-Read D0, 7-Read D2, 10-Read D3, 12-Read D1) and performs the transfer of the read set 1.
[0121] Reference again Fig.12 , at time t c to h The example read set 2 described above is implemented between. In particular, at time t c to d In the meantime, controller 116 performs firmware overhead functions necessary to execute the various read commands specified in Read Set 2.
[0122] At time t d to g In between, the read sensing of the memory die 102-0 (command 3), the read sensing of the memory die 102-1 (command 12), the read sensing of the memory die 102-2 (command 7), and the read sensing of the memory die 102-3 (command 10) are performed in parallel.
[0123] In addition, at time t d to e Between time t and t, data read out of the memory cells in memory die 102-0 (command 1) is transferred from memory die 102-0 to controller 116. e to f Between time t and t, data read from the memory cells in memory die 102-1 (command 2) is transferred from memory die 102-1 to controller 116. f to gBetween t and t, data read out from the memory cells in memory die 102-2 (command 5) is transferred from memory die 102-2 to controller 116. And at time t g to h In the meantime, data read out from the memory cells in the memory die 102 - 3 (command 4 ) is transferred from the memory die 102 - 3 to the controller 116 .
[0124] Reference again Fig.11 , process 1100 loops back to step 1106 and a determination is made as to whether any more host commands are pending. Figures 8A to 8B In the example of , additional commands are pending, so process 1100 proceeds to step 1108, and the current read set is formed by the plurality of host commands and any skipped commands from the previous read set. Figures 8A to 8B , the controller 116 collects multiple commands from the host command queue 800 and the skipped commands from the read set 2 (6-Read D0, 8-Read D2, 9-Read D2, 11-Read D0) to form the current read set:
[0125] Read set 3: 6-read D0, 8-read D2, 13-read D1, 14-read D3
[0126] Skipped commands: 9 - Read D2, 11 - Read D0
[0127] Reference again Fig.11 , at step 1110, a sense command is executed for the current read set (read set 3), and a transfer is executed for the previous read set (read set 2). Fig. 8A , the controller 116 executes the sensing commands of the read set 3 (6-Read D0, 8-Read D2, 13-Read D1, 14-Read D3) and performs the transfer of the read set 2.
[0128] Reference again Fig.12 , at time t h to m The example read set 3 described above is implemented between. In particular, at time t h to i In the meantime, controller 116 performs firmware overhead functions necessary to execute the various read commands specified in Read Set 3.
[0129] At time t i to lIn between, the read sensing of the memory die 102-0 (command 6), the read sensing of the memory die 102-1 (command 13), the read sensing of the memory die 102-2 (command 8), and the read sensing of the memory die 102-3 (command 14) are performed in parallel.
[0130] In addition, at time t i to j Between time t and t, data read from the memory cells in memory die 102-0 (command 3) is transferred from memory die 102-0 to controller 116. j to k Between time t and t, data read from the memory cells in memory die 102-1 (command 12) is transferred from memory die 102-1 to controller 116. k to l Between t and t, data read out from the memory cells in memory die 102-2 (command 7) is transferred from memory die 102-2 to controller 116. And at time t l to m In the meantime, data read out (command 10) from the memory cells in the memory die 102-3 is transferred from the memory die 102-3 to the controller 116.
[0131] Reference again Fig.11 , process 1100 loops back to step 1106 and a determination is made as to whether any more host commands are pending. Figures 8A to 8B In the example of , additional commands are pending, so process 1100 proceeds to step 1108, and the current read set is formed by the plurality of host commands and any skipped commands from the previous read set. Figures 8A to 8B , the controller 116 collects multiple commands from the host command queue 800 and the skipped commands from the read set 3 (9-read D2, 11-read D0) to form the current read set:
[0132] Read set 4: 9-read D2, 11-read D0, 15-read D3
[0133] Skipped commands: None
[0134] Reference again Fig.11 , at step 1110, a sense command is executed for the current read set (read set 4), and a transfer is executed for the previous read set (read set 3). Fig. 8A , the controller 116 executes the sensing commands of the read set 4 (9-read D2, 11-read D0, 15-read D3) and performs the transfer of the read set 3.
[0135] Reference again Fig.12, at time t m to r The example read set 4 described above is implemented between. In particular, at time t m to n In the meantime, the controller 116 performs firmware overhead functions necessary to execute the various read commands specified in Read Set 4.
[0136] At time t n to q In between, the read sensing of the memory die 102-0 (command 11), the read sensing of the memory die 102-2 (command 9), and the read sensing of the memory die 102-3 (command 15) are performed in parallel.
[0137] In addition, at time t n to o Between time t and t, data read from the memory cells in memory die 102-0 (command 6) is transferred from memory die 102-0 to controller 116. o to p Between time t and t, data read from the memory cells in memory die 102-1 (command 13) is transferred from memory die 102-1 to controller 116. p to q Between t and t, data read from the memory cells in memory die 102-2 (command 8) is transferred from memory die 102-2 to controller 116. And at time t q to r In the meantime, data read out (command 14) from the memory cells in the memory die 102-3 is transferred from the memory die 102-3 to the controller 116.
[0138] Reference again Fig.11 , process 1100 loops back to step 1106 and a determination is made as to whether any more host commands are pending. Figures 8A to 8B In the example of , no additional commands are pending, so process 1100 proceeds to step 1112 and a transfer is performed for the previous read set (read set 4). Fig. 8A , the controller 116 transmits for read set 4.
[0139] Reference again Fig.12 , at time t r to v The transfer of the read set 4 described above is performed between. Specifically, at time t r to sIn between, controller 116 performs firmware overhead functions necessary to perform the various transfers of data from read set 4.
[0140] In addition, at time t s to t Between time t and t, data read from the memory cells in memory die 102-0 (command 11) is transferred from memory die 102-0 to controller 116. t to u Between t and t, data read from the memory cells in memory die 102-2 (command 9) is transferred from memory die 102-2 to controller 116. And at time t u to v Between, the data read out from the memory cell in the memory die 102-3 (command 15) is transferred from the memory die 102-3 to the controller 116. Referring again to Fig.11 , process 1100 then terminates.
[0141] Using the example processing times specified above, Fig.11 The example process takes 510 microseconds to complete fifteen commands, which is faster than Fig. 9 The example process takes 16.4% less time. Therefore, it is considered Fig.11 The process and Fig. 9 In fact, without wishing to be bound by any particular theory, it is believed that Fig.11 The process and Fig. 9 The random IOPS of the process can have a random IOPS improvement of between about 15 to 20%.
[0142] One embodiment includes an apparatus including a plurality of memory dies and a controller coupled to the plurality of memory dies. The controller is configured to selectively process a plurality of random read commands to shorten and preferably minimize an overall time required to execute the random read commands.
[0143] One embodiment includes a method that includes receiving, at a memory device, a random read command from a host and adaptively processing the random read command at the memory device to increase and preferably maximize the number of random input-output operations processed per second by the memory device, the memory device comprising a plurality of memory dies.
[0144] One embodiment includes a system including a memory device including a plurality of memory dies and a controller coupling each of the plurality of memory dies via a single command pipeline. The controller is configured to receive a random read command from a host and includes means for repeatedly forming and executing a plurality of read sets including a first read set and a current read set, the first read set including the plurality of random read commands and skipping random read commands that would cause multiple sense operations to the same memory die, the current read set including the skipped random read commands.
[0145] The means for repeatedly forming and executing a plurality of read sets may be implemented by a microprocessor, a microcontroller, a state machine, an FPGA or other type of processor and decoders, sense amplifiers, voltage and current sources and Fig.11 For example, the means for repeatedly forming and executing multiple read sets may include executing Fig.11 The process Figure 1A , 2 and 8A control circuit 106, decoder 110 / 112, read / write circuit 108, controller 116 and processor 802. In some embodiments, the means for repeatedly forming and executing multiple read sets may be included with or without a memory die (e.g. Figure 1A The memory die 102 is supported by circuits on the memory die 102. Fig.11 The process of the controller 116 and the processor 802.
[0146] For the purposes of this document, references in the specification to "an embodiment," "one embodiment," "some embodiments," or "another embodiment" may be used to describe different embodiments or the same embodiment.
[0147] For purposes of this document, a connection may be a direct connection or an indirect connection (e.g., via one or more other parts). In some cases, when an element is referred to as being connected or coupled to another element, the element may be directly connected to the other element or indirectly connected to the other element via an intervening element. When an element is referred to as being directly connected to another element, there are no intervening elements between the element and the other element. Two devices are "in communication" if they are connected, directly or indirectly, so that the two devices can communicate electronic signals between them.
[0148] For the purposes of this document, the term "based on" may be understood as "based, at least in part, on."
[0149] For the purposes of this document, the use of numerical terms such as a "first" object, a "second" object, and a "third" object, without additional context, may not imply an ordering of the objects, but may instead be used for identification purposes to identify different objects. For example, the terms "first" and "second" in the phrase first register and second register are used as identification marks to distinguish the registers and are not meant to indicate an order or priority.
[0150] For the purposes of this document, the term "set" of targets may refer to a "set" of one or more of the targets.
[0151] The foregoing detailed description has been presented for purposes of illustration and description and is not intended to be exhaustive or limited to the precise form disclosed. In light of the above teachings, many modifications and variations are possible. The described embodiments were chosen to best explain the principles and practical application of the disclosed technology, thereby enabling others skilled in the art to best utilize the technology in various embodiments and in various modifications suitable for the particular use contemplated. The scope of the disclosed technology is defined by the appended claims.
Claims
1. A memory device, comprising: multiple memory dies; as well as a controller coupled to the plurality of memory dies, the controller configured to selectively process a plurality of random read commands to reduce an overall time required to execute the random read commands, wherein the controller is configured to selectively process the plurality of random read commands by forming a plurality of read sets, each read set comprising a single random read command for each memory die, and Where each read set skips random read commands that would cause multiple sense operations to the same memory die.
2. The memory device of claim 1, wherein the controller is configured to selectively process the plurality of random read commands based on a time required for the plurality of memory dies to perform a read sensing operation.
3. The memory device of claim 1, wherein the controller is configured to selectively process the plurality of random read commands by forming a plurality of read sets, each read set including no more than one random read command per memory die.
4. The memory device of claim 1 , wherein the controller is configured to selectively process the plurality of random read commands by: forming a first read set including no more than one random read command per memory die; skipping random read commands that would cause multiple sense operations to the same memory die; and The skipped random read commands are included in a subsequent read set.
5. The memory device of claim 1, wherein the controller comprises a single processor.
6. The memory device of claim 1, wherein the controller is coupled to the plurality of memory dies via a common command pipeline. The memory device of claim 1 , wherein the controller does not include hardware automation.
8. The memory device of claim 1, wherein the controller is separate from and coupled to the plurality of memory dies and is configured to receive the plurality of random read commands from a host.
9. A method of operating a memory device, comprising: receiving, at the memory device, a random read command from a host, the memory device comprising a plurality of memory dies; adaptively processing the random read commands at the memory device to increase the number of random input-output operations processed by the memory device per second; and adaptively processing the plurality of random read commands by forming a plurality of read sets, each read set comprising a single random read command for each memory die, and Where each read set skips random read commands that would cause multiple sense operations to the same memory die.
10. The method of claim 9, further comprising adaptively processing the plurality of random read commands based on a time required for the plurality of memory dies to perform a read sensing operation.
11. The method of claim 9, further comprising adaptively processing the plurality of random read commands by forming a plurality of read sets, each read set containing no more than one random read command per memory die.
12. The method of claim 9, comprising adaptively processing the plurality of random read commands using a single processor.
13. The method of claim 9, wherein the plurality of memory dies receive the plurality of random read commands via a common command pipeline.
14. The method of claim 9, comprising adaptively processing the plurality of random read commands without hardware automation.
15. A storage system comprising: a memory device comprising a plurality of memory dies; as well as a controller coupled to the plurality of memory dies, the controller configured to receive random read commands from a host, the controller comprising means for repeatedly forming and executing a plurality of read sets, the plurality of read sets comprising a first read set comprising a single random read command for each memory die and skipping random read commands that would cause multiple sense operations to the same memory die, and a current read set comprising the skipped random read commands and skipping random read commands that would cause multiple sense operations to the same memory die.
16. The storage system of claim 15, wherein the controller comprises a single processor coupled to the plurality of memory dies via a common command pipeline and does not include hardware automation.
