Embodiments of the disclosure relate generally to memory sub-systems, and more specifically, relate to multi-tier health status in a memory device of a memory sub-system.
A memory sub-system can include one or more memory devices that store data. The memory devices can be, for example, non-volatile memory devices and volatile memory devices. In general, a host system can utilize a memory sub-system to store data at the memory devices and to retrieve data from the memory devices.
The present disclosure will be understood more fully from the detailed description given below and from the accompanying drawings of various embodiments of the disclosure.
Aspects of the present disclosure are directed to multi-tier health status in a memory device of a memory sub-system. A memory sub-system can be a storage device, a memory module, or a hybrid of a storage device and memory module. Examples of storage devices and memory modules are described below in conjunction with
A memory sub-system can include high density non-volatile memory devices where retention of data is desired when no power is supplied to the memory device. For example, NAND memory, such as 3D flash NAND memory, offers storage in the form of compact, high density configurations. A non-volatile memory device is a package of one or more dice, each including one or more planes. For some types of non-volatile memory devices (e.g., NAND memory), each plane includes of a set of physical blocks. Each block includes of a set of pages. Each page includes of a set of memory cells (“cells”). A cell is an electronic circuit that stores information. Depending on the cell type, a cell can store one or more bits of binary information, and has various logic states that correlate to the number of bits being stored. The logic states can be represented by binary values, such as “0” and “1”, or combinations of such values.
A memory device can be made up of bits arranged in a two-dimensional or a three-dimensional grid. Memory cells are formed onto a silicon wafer in an array of columns (also hereinafter referred to as bitlines) and rows (also hereinafter referred to as wordlines). A wordline can refer to one or more rows of memory cells of a memory device that are used with one or more bitlines to generate the address of each of the memory cells. The intersection of a bitline and wordline constitutes the address of the memory cell. A block hereinafter refers to a unit of the memory device used to store data and can include a group of memory cells, a wordline group, a wordline, or individual memory cells. One or more blocks can be grouped together to form separate partitions (e.g., planes) of the memory device in order to allow concurrent operations to take place on each plane.
One example of a memory sub-system is a solid-state drive (SSD) that includes one or more non-volatile memory devices and a memory sub-system controller to manage the non-volatile memory devices. A given segment of one of those memory devices (e.g., a block) can be characterized based on the programming state of the memory cells associated with wordlines contained within the segment. When data is written to a memory cell of the segment for storage, the memory cell can deteriorate. Accordingly, each memory cell of the segment can handle a finite number of write operations performed before the memory cell is no longer able to reliably store data. Data stored at the memory cells of the segment can be read from the memory device and transmitted to a host system.
Certain memory devices can use one or more internal performance metrics to characterize individual segments of the memory device and can determine, based on that characterization, a corresponding status of each segment. The memory devices can provide an indication of this status to the memory sub-system controller, for example in connection with performing a memory access operation in response to a request or command received from the memory sub-system controller. In response to receiving such status information, the memory sub-system controller perform certain predetermined actions or can modify the way it uses the specific segment of the memory device based on the corresponding status. Many memory devices, however, provide only a binary status information representing one of two possible states (e.g., healthy/damaged, pass/fail). Such binary status information, while helpful for the memory sub-system controller in some respects, may not provide a full representation of the true status of the memory device. For example, the binary status provided by the memory device may indicate that a given segment has passed a health check based on current metrics. Accordingly, the memory sub-system controller may believe that segment is perfectly healthy and continue normal use of that segment. In reality, however, that segment may have only just barely passed the health check and may be extremely likely to fail in the near future. If the memory sub-system controller were aware of this condition, it may decide to use the segment differently that it otherwise would have, and/or may take other action to repair/restore the segment to extend its usability. Such nuance, however, cannot be adequately represented in the binary status information, which can hurt performance in the memory sub-system. This can result in a higher failure rate for segments of the memory device. This can increase the use of an error detection and correction operation (e.g., an error control operation) for subsequent operations (e.g., read and/or write operations) performed on the memory device. In addition, as the error rate for a memory cell or failure rate of a segment (e.g., a block) continues to increase, it may even surpass the error correction capabilities of the memory sub-system, leading to an irreparable loss of the data. Furthermore, as more resources of the memory sub-system are used to perform the error control operation, fewer resources can be used to perform other read operations or write operations.
Aspects of the present disclosure address the above and other deficiencies by implementing a multi-tier health status in a memory device of a memory sub-system. In one embodiment, control logic on the memory device (e.g., a local media controller) determines one of a plurality of possible health statuses for a given segment (e.g., a block) of the memory device, and provides the determined health status to a requestor, such as a memory sub-system controller performing memory access operations on the memory device. To determine the health status, the control logic can utilize various internal health metrics and compare the value of one or more of those health metrics to corresponding thresholds associated with each of the possible health statuses. The possible health statuses for each segment can include a high confidence pass status, a high confidence fail status, and at least one intermediate status, such as a marginal pass status and/or a marginal fail status. The high confidence pass status and the high confidence fail status provide strong indication of the relative health of the segment and indicate, respectively, that either the segment can continue to be used safely or that the segment should be retired and no longer used. The intermediate statuses, however, provide more nuanced information. For example, the marginal pass status can indicate that while the segment passed a health check and can continue to be used with sufficient confidence, the segment may be trending towards failure sometime in the near future, and so the memory sub-system controller may want to monitor the health status and perform additional checks (e.g., health scan operations) going forward. The marginal fail status, for example, can indicate that while the segment failed a health check, it only barely did so, and may be recoverable if the memory sub-system controller can perform some repair/refresh operations on the segment to allow it to continue to be used. Accordingly, upon receiving this health status information, the memory sub-system controller can perform a corresponding action with respect to the segment based on the health status, as described in more detail below. The corresponding action taken can be different for each of the possible health statuses.
Advantages of this approach include, but are not limited to, improved performance in the memory sub-system. By providing multi-tiered health status information for the memory device, the techniques described herein can reduce the risk of data loss by preemptively identifying degraded segments of the memory device and providing the memory sub-system controller an opportunity to address them in advance. Since the memory device can determine the health status independently using internal information, it reduces the impact on the bandwidth of the memory sub-system controller that would normally be allocated to tracking the memory device health status. In addition, the just-in-time fault detection and isolation that is enabled can alleviate the burden on system redundancy (e.g., RAIN), thereby reducing system cost (e.g., by reducing the size of necessary system memory) and improving quality of service provided to host systems.
A memory sub-system 110 can be a storage device, a memory module, or a hybrid of a storage device and memory module. Examples of a storage device include a solid-state drive (SSD), a flash drive, a universal serial bus (USB) flash drive, an embedded Multi-Media Controller (eMMC) drive, a Universal Flash Storage (UFS) drive, a secure digital (SD) card, and a hard disk drive (HDD). Examples of memory modules include a dual in-line memory module (DIMM), a small outline DIMM (SO-DIMM), and various types of non-volatile dual in-line memory modules (NVDIMMs).
The computing system 100 can be a computing device such as a desktop computer, laptop computer, network server, mobile device, a vehicle (e.g., airplane, drone, train, automobile, or other conveyance), Internet of Things (IOT) enabled device, embedded computer (e.g., one included in a vehicle, industrial equipment, or a networked commercial device), or such computing device that includes memory and a processing device.
The computing system 100 can include a host system 120 that is coupled to one or more memory sub-systems 110. In some embodiments, the host system 120 is coupled to different types of memory sub-system 110.
The host system 120 can include a processor chipset and a software stack executed by the processor chipset. The processor chipset can include one or more cores, one or more caches, a memory controller (e.g., NVDIMM controller), and a storage protocol controller (e.g., PCIe controller, SATA controller). The host system 120 uses the memory sub-system 110, for example, to write data to the memory sub-system 110 and read data from the memory sub-system 110.
The host system 120 can be coupled to the memory sub-system 110 via a physical host interface. Examples of a physical host interface include, but are not limited to, a serial advanced technology attachment (SATA) interface, a peripheral component interconnect express (PCIe) interface, universal serial bus (USB) interface, Fibre Channel, Serial Attached SCSI (SAS), a double data rate (DDR) memory bus, Small Computer System Interface (SCSI), a dual in-line memory module (DIMM) interface (e.g., DIMM socket interface that supports Double Data Rate (DDR)), etc. The physical host interface can be used to transmit data between the host system 120 and the memory sub-system 110. The host system 120 can further utilize an NVM Express (NVMe) interface to access the memory components (e.g., memory devices 130) when the memory sub-system 110 is coupled with the host system 120 by the PCIe interface. The physical host interface can provide an interface for passing control, address, data, and other signals between the memory sub-system 110 and the host system 120.
The memory devices 130, 140 can include any combination of the different types of non-volatile memory devices and/or volatile memory devices. The volatile memory devices (e.g., memory device 140) can be, but are not limited to, random access memory (RAM), such as dynamic random access memory (DRAM) and synchronous dynamic random access memory (SDRAM).
Some examples of non-volatile memory devices (e.g., memory device 130) include negative-and (NAND) type flash memory and write-in-place memory, such as three-dimensional cross-point (“3D cross-point”) memory. A cross-point array of non-volatile memory can perform bit storage based on a change of bulk resistance, in conjunction with a stackable cross-gridded data access array. Additionally, in contrast to many flash-based memories, cross-point non-volatile memory can perform a write in-place operation, where a non-volatile memory cell can be programmed without the non-volatile memory cell being previously erased. NAND type flash memory includes, for example, two-dimensional NAND (2D NAND) and three-dimensional NAND (3D NAND).
Each of the memory devices 130 can include one or more arrays of memory cells. One type of memory cell, for example, single level cells (SLC) can store one bit per cell. Other types of memory cells, such as multi-level cells (MLCs), triple level cells (TLCs), and quad-level cells (QLCs), can store multiple bits per cell. In some embodiments, each of the memory devices 130 can include one or more arrays of memory cells such as SLCs, MLCs, TLCs, QLCs, or any combination of such. In some embodiments, a particular memory device can include an SLC portion, and an MLC portion, a TLC portion, or a QLC portion of memory cells. The memory cells of the memory devices 130 can be grouped as pages that can refer to a logical unit of the memory device used to store data. With some types of memory (e.g., NAND), pages can be grouped to form blocks.
Although non-volatile memory components such as a 3D cross-point array of non-volatile memory cells and NAND type flash memory (e.g., 2D NAND, 3D NAND) are described, the memory device 130 can be based on any other type of non-volatile memory, such as read-only memory (ROM), phase change memory (PCM), self-selecting memory, other chalcogenide based memories, ferroelectric transistor random-access memory (FeTRAM), ferroelectric random access memory (FeRAM), magneto random access memory (MRAM), Spin Transfer Torque (STT)-MRAM, conductive bridging RAM (CBRAM), resistive random access memory (RRAM), oxide based RRAM (OxRAM), negative-or (NOR) flash memory, electrically erasable programmable read-only memory (EEPROM).
A memory sub-system controller 115 (or controller 115 for simplicity) can communicate with the memory devices 130 to perform operations such as reading data, writing data, or erasing data at the memory devices 130 and other such operations. The memory sub-system controller 115 can include hardware such as one or more integrated circuits and/or discrete components, a buffer memory, or a combination thereof. The hardware can include a digital circuitry with dedicated (i.e., hard-coded) logic to perform the operations described herein. The memory sub-system controller 115 can be a microcontroller, special purpose logic circuitry (e.g., a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc.), or other suitable processor.
The memory sub-system controller 115 can include a processor 117 (e.g., a processing device) configured to execute instructions stored in a local memory 119. In the illustrated example, the local memory 119 of the memory sub-system controller 115 includes an embedded memory configured to store instructions for performing various processes, operations, logic flows, and routines that control operation of the memory sub-system 110, including handling communications between the memory sub-system 110 and the host system 120.
In some embodiments, the local memory 119 can include memory registers storing memory pointers, fetched data, etc. The local memory 119 can also include read-only memory (ROM) for storing micro-code. While the example memory sub-system 110 in
In general, the memory sub-system controller 115 can receive commands or operations from the host system 120 and can convert the commands or operations into instructions or appropriate commands to achieve the desired access to the memory devices 130. The memory sub-system controller 115 can be responsible for other operations such as wear leveling operations, garbage collection operations, error detection and error-correcting code (ECC) operations, encryption operations, caching operations, and address translations between a logical address (e.g., logical block address (LBA), namespace) and a physical address (e.g., physical block address) that are associated with the memory devices 130. The memory sub-system controller 115 can further include host interface circuitry to communicate with the host system 120 via the physical host interface. The host interface circuitry can convert the commands received from the host system into command instructions to access the memory devices 130 as well as convert responses associated with the memory devices 130 into information for the host system 120.
The memory sub-system 110 can also include additional circuitry or components that are not illustrated. In some embodiments, the memory sub-system 110 can include a cache or buffer (e.g., DRAM) and address circuitry (e.g., a row decoder and a column decoder) that can receive an address from the memory sub-system controller 115 and decode the address to access the memory devices 130.
In some embodiments, the memory devices 130 include local media controllers 135 that operate in conjunction with memory sub-system controller 115 to execute operations on one or more memory cells of the memory devices 130. An external controller (e.g., memory sub-system controller 115) can externally manage the memory device 130 (e.g., perform media management operations on the memory device 130). In some embodiments, a memory device 130 is a managed memory device, which is a raw memory device 130 having control logic (e.g., local controller 135) on the die and a controller (e.g., memory sub-system controller 115) for media management within the same memory device package. An example of a managed memory device is a managed NAND (MNAND) device. Memory device 130, for example, can represent a single die having some control logic (e.g., local media controller 135) embodied thereon. In some embodiments, one or more components of memory sub-system 110 can be omitted.
In one embodiment, memory sub-system 110 includes a memory interface component 113. Memory interface component 113 is responsible for handling interactions of memory sub-system controller 115 with the memory devices of memory sub-system 110, such as memory device 130. For example, memory interface component 113 can send memory access commands corresponding to requests received from host system 120 to memory device 130, such as program commands, read commands, or other commands. In addition, memory interface component 113 can receive data from memory device 130, such as data retrieved in response to a read command, a confirmation that a program command was successfully performed, or an indication of a multi-tiered health status information corresponding to one or more segments of the memory device 130. In some embodiments, the memory sub-system controller 115 includes at least a portion of the memory interface 113. For example, the memory sub-system controller 115 can include a processor 117 (e.g., a processing device) configured to execute instructions stored in local memory 119 for performing the operations described herein. In some embodiments, the memory interface component 113 is part of the host system 110, an application, or an operating system.
In one embodiment, memory device 130 includes local media controller 135 and memory array 104. As described herein, the memory array 104 can be logically or physically divided into a number of segments (e.g., dies, blocks, pages, etc.). In one embodiment, local media controller 135 determines one of a plurality of possible health statuses for a given segment of the memory array 104, and provides the determined health status to a requestor, such as memory interface 113 or other component of memory sub-system controller 115. To determine the health status, local media controller 135 can utilize various internal health metrics and compare the value of one or more of those health metrics to corresponding thresholds associated with each of the possible health statuses. The possible health statuses for each segment can include a high confidence pass status, a high confidence fail status, and at least one intermediate status, such as a marginal pass status and/or a marginal fail status. Upon receiving this health status information, memory sub-system controller 115 can perform a corresponding action with respect to the segment based on the health status, where the corresponding action taken can be different for each of the possible health statuses. Further details with regards to the design and operation of memory sub-system controller 115 and local media controller 135 are described below.
Memory device 130 includes an array of memory cells 104 logically arranged in rows and columns. Memory cells of a logical row are typically connected to the same access line (e.g., a wordline) while memory cells of a logical column are typically selectively connected to the same data line (e.g., a bit line). A single access line may be associated with more than one logical row of memory cells and a single data line may be associated with more than one logical column. Memory cells (not shown in
Row decode circuitry 108 and column decode circuitry 109 are provided to decode address signals. Address signals are received and decoded to access the array of memory cells 104. Memory device 130 also includes input/output (I/O) control circuitry 160 to manage input of commands, addresses and data to the memory device 130 as well as output of data and status information from the memory device 130. An address register 114 is in communication with I/O control circuitry 160 and row decode circuitry 108 and column decode circuitry 109 to latch the address signals prior to decoding. A command register 124 is in communication with I/O control circuitry 160 and local media controller 135 to latch incoming commands.
A controller (e.g., the local media controller 135 internal to the memory device 130) controls access to the array of memory cells 104 in response to the commands and generates status information for the external memory sub-system controller 115, i.e., the local media controller 135 is configured to perform access operations (e.g., read operations, programming operations and/or erase operations) on the array of memory cells 104. The local media controller 135 is in communication with row decode circuitry 108 and column decode circuitry 109 to control the row decode circuitry 108 and column decode circuitry 109 in response to the addresses.
The local media controller 135 is also in communication with a cache register 172. Cache register 172 latches data, either incoming or outgoing, as directed by the local media controller 135 to temporarily store data while the array of memory cells 104 is busy writing or reading, respectively, other data. During a program operation (e.g., write operation), data may be passed from the cache register 172 to the data register 170 for transfer to the array of memory cells 104; then new data may be latched in the cache register 172 from the I/O control circuitry 160. During a read operation, data may be passed from the cache register 172 to the I/O control circuitry 160 for output to the memory sub-system controller 115; then new data may be passed from the data register 170 to the cache register 172. The cache register 172 and/or the data register 170 may form (e.g., may form a portion of) a page buffer of the memory device 130. A page buffer may further include sensing devices (not shown in
Memory device 130 receives control signals at the memory sub-system controller 115 from the local media controller 135 over a control link 132. For example, the control signals can include a chip enable signal CE #, a command latch enable signal CLE, an address latch enable signal ALE, a write enable signal WE #, a read enable signal RE #, and a write protect signal WP #. Additional or alternative control signals (not shown) may be further received over control link 132 depending upon the nature of the memory device 130. In one embodiment, memory device 130 receives command signals (which represent commands), address signals (which represent addresses), and data signals (which represent data) from the memory sub-system controller 115 over a multiplexed input/output (I/O) bus 236 and outputs data to the memory sub-system controller 115 over I/O bus 236.
For example, the commands may be received over input/output (I/O) pins [7:0] of I/O bus 236 at I/O control circuitry 160 and may then be written into command register 124. The addresses may be received over input/output (I/O) pins [7:0] of I/O bus 236 at I/O control circuitry 160 and may then be written into address register 114. The data may be received over input/output (I/O) pins [7:0] for an 8-bit device or input/output (I/O) pins [15:0] for a 16-bit device at I/O control circuitry 160 and then may be written into cache register 172. The data may be subsequently written into data register 170 for programming the array of memory cells 104.
In an embodiment, cache register 172 may be omitted, and the data may be written directly into data register 170. Data may also be output over input/output (I/O) pins [7:0] for an 8-bit device or input/output (I/O) pins [15:0] for a 16-bit device. Although reference may be made to I/O pins, they may include any conductive node providing for electrical connection to the memory device 130 by an external device (e.g., the memory sub-system controller 115), such as conductive pads or conductive bumps as are commonly used.
It will be appreciated by those skilled in the art that additional circuitry and signals can be provided, and that the memory device 130 of
Memory array 104 can be arranged in rows (each corresponding to a wordline 202) and columns (each corresponding to a bit line 204). Each column can include a string of series-connected memory cells (e.g., non-volatile memory cells), such as one of NAND strings 2060 to 206M. Each NAND string 206 can be connected (e.g., selectively connected) to a common source (SRC) 216 and can include memory cells 2080 to 208N. The memory cells 208 can represent non-volatile memory cells for storage of data. The memory cells 208 of each NAND string 206 can be connected in series between a select gate 210 (e.g., a field-effect transistor), such as one of the select gates 2100 to 210M (e.g., that can be source select transistors, commonly referred to as select gate source), and a select gate 212 (e.g., a field-effect transistor), such as one of the select gates 2120 to 212M (e.g., that can be drain select transistors, commonly referred to as select gate drain). Select gates 2100 to 210M can be commonly connected to a select line 214, such as a source select line (SGS), and select gates 2120 to 212M can be commonly connected to a select line 215, such as a drain select line (SGD). Although depicted as traditional field-effect transistors, the select gates 210 and 212 can utilize a structure similar to (e.g., the same as) the memory cells 208. The select gates 210 and 212 can represent a number of select gates connected in series, with each select gate in series configured to receive a same or independent control signal.
A source of each select gate 210 can be connected to common source 216. The drain of each select gate 210 can be connected to a memory cell 2080 of the corresponding NAND string 206. For example, the drain of select gate 2100 can be connected to memory cell 2080 of the corresponding NAND string 2060. Therefore, each select gate 210 can be configured to selectively connect a corresponding NAND string 206 to the common source 216. A control gate of each select gate 210 can be connected to the select line 214.
The drain of each select gate 212 can be connected to the bit line 204 for the corresponding NAND string 206. For example, the drain of select gate 2120 can be connected to the bit line 2040 for the corresponding NAND string 2060. The source of each select gate 212 can be connected to a memory cell 208N of the corresponding NAND string 206. For example, the source of select gate 2120 can be connected to memory cell 208N of the corresponding NAND string 2060. Therefore, each select gate 212 can be configured to selectively connect a corresponding NAND string 206 to the corresponding bit line 204. A control gate of each select gate 212 can be connected to select line 215.
The memory array 104 in
Typical construction of memory cells 208 includes a data-storage structure 234 (e.g., a floating gate, charge trap, and the like) that can determine a data state of the memory cell (e.g., through changes in threshold voltage), and a control gate 236, as shown in
A column of the memory cells 208 can be a NAND string 206 or a number of NAND strings 206 selectively connected to a given bit line 204. A row of the memory cells 208 can be memory cells 208 commonly connected to a given wordline 202. A row of memory cells 208 can, but need not, include all the memory cells 208 commonly connected to a given wordline 202. Rows of the memory cells 208 can often be divided into one or more groups of physical pages of memory cells 208, and physical pages of the memory cells 208 often include every other memory cell 208 commonly connected to a given wordline 202. For example, the memory cells 208 commonly connected to wordline 202N and selectively connected to even bit lines 204 (e.g., bit lines 2040, 2042, 2044, etc.) can be one physical page of the memory cells 208 (e.g., even memory cells) while memory cells 208 commonly connected to wordline 202N and selectively connected to odd bit lines 204 (e.g., bit lines 2041, 2043, 2045, etc.) can be another physical page of the memory cells 208 (e.g., odd memory cells).
Although bit lines 2043-2045 are not explicitly depicted in
In addition, local media controller 135 can determine one of a plurality of possible health statuses for the segment of memory array 104 and store a value corresponding to the determined health status in a status register 350. As illustrated in
In one embodiment, in order to determine the health status for a given segment of memory array 104, local media controller 135 can determine a value of one or more health metric of the segment and compare that value to a set of thresholds associated with the possible health statuses 352. Any number of different health metrics can be used, however, some examples include a charge pump clock monitor (CPCM), lagging plane pulse count (LPC), erase CPCM, quick plane termination (QPT), or wordline short sensor (WLSS). In one embodiment, each of the possible health statuses has a corresponding threshold related to the different health metrics. For purposes of explanation, the high confidence pass status could have a threshold set at 1.0×N, where N is a normal expected value (e.g., under healthy operating conditions) for any of the health metrics described above. Thus, upon detecting any value of the health metric equal to or less than N, the local media controller 135 can determine the high confidence pass status. Continuing with the example, the marginal pass status can have a threshold set at 1.5×N, such that upon detecting any value of the health metric greater than N and equal to or less than 1.5×N, the local media controller 135 can determine the marginal pass status. In addition, the marginal fail status can have a threshold set at 2.0×N, such that upon detecting any value of the health metric greater than 1.5×N and equal to or less than 2.0×N, the local media controller 135 can determine the marginal fail status. Furthermore, the high confidence fail status can have a threshold set at 2.5×N, such that upon detecting any value of the health metric greater than 2.0×N and equal to or less than 2.5×N, the local media controller 135 can determine the high confidence fail status. Depending on the embodiment and on the specific health metric used, these thresholds can vary. For example, for some health metrics, a higher value may be preferrable, such that the threshold values for the fail statuses are lower than the threshold values for the pass statuses.
In one embodiment, in response to the request to perform the memory access operation, the memory device, such as memory device 130, provides the requested data from the page buffers 370 and the health status information from status register 350 to the memory sub-system controller 115. In response to receiving the health status information, the memory sub-system controller can perform a corresponding action with respect to the received data and with respect to the segment of memory array 104 from which that data was received based on the health status. In one embodiment, that corresponding action is different for each of the possible health statuses 352. For example, in response to receiving the high confidence pass status, memory sub-system controller 115 can fully trust the data received from page buffers 370 and can continue using the segment of memory array 104 normally without any corrective action. The marginal pass status can indicate that while the segment passed a health check and can continue to be used with sufficient confidence, the segment may be trending towards failure sometime in the near future, and so the memory sub-system controller 115 can monitor the health status and perform additional checks (e.g., health scan operations) on the segment going forward. The marginal fail status, for example, can indicate that while the segment failed a health check, it only barely did so, and may be recoverable if the memory sub-system controller 115 can perform some repair/refresh operations on the segment to allow it to continue to be used. In response to receiving the high confidence fail status, memory sub-system controller 115 can determine that the data received from page buffers 370 is unusable, can trigger a data recovery operation and can retire the segment of memory array 104 so that it is not used again in the future.
At operation 405, a request is received. For example, control logic (e.g., local media controller 135) can receive, from a requestor, such as memory interface 113 of memory sub-system controller 115, a request to perform a memory access operation on a segment (e.g., a block) of a memory array, such as memory array 104 of memory device 130. In one embodiment, the request includes a request to perform a read operation to read data from a certain segment. In other embodiments, the request can be for some other memory access operation, such as a program operation or an erase operation.
At operation 410, a segment is identified. For example, the control logic can identify the segment from among a plurality of segments of the memory array. In one embodiment, as indicated above, the request includes an identifier or other indication of the segment. In other embodiments, such as when no request is received, the control logic can separately identify the segment in some other manner (e.g., randomly, pseudo-randomly, sequentially).
At operation 415, a memory access operation is performed. For example, the control logic can perform the memory access operation, such as a read operation, on the segment identified in the request. In one embodiment, the control logic causes a read voltage to be applied to one or more wordlines associated with the segment of memory array 104 and determines a corresponding signal on one or more bitlines associated with the segment, where the signal on the bitlines represents the data stored in one or more memory cells of the segment. In one embodiment, the control logic temporarily stores the data in one or more of page buffers 370 of the memory device 130.
At operation 420, a health status is determined. For example, the control logic can determine a health status for the segment from among a number of possible health statuses (e.g., three or more possible health statues). These possible health statuses can include, for example, a high confidence pass status, a high confidence fail status, and at least one intermediate status, such as a marginal pass status and/or a marginal fail status. In one embodiment, in order to determine the health status for a given segment of memory array 104, the control logic can determine a value of one or more health metric of the segment and compare that value to a set of thresholds associated with the possible health statuses. Any number of different health metrics can be used, however, some examples include a charge pump clock monitor (CPCM), lagging plane pulse count (LPC), erase CPCM, quick plane termination (QPT), or wordline short sensor (WLSS). In one embodiment, each of the possible health statuses has a corresponding threshold related to the different health metrics.
At operation 425, information is provided to the requestor. For example, the control logic can provide the data read in response to receiving the request to perform the memory access operation, along with the health status for the segment to the requestor, such as memory sub-system controller 115. In one embodiment, the memory sub-system controller 115 is to perform a corresponding action with respect to the segment based on the health status, and this corresponding action is different for each of the possible health statuses. Additional details with respect to the actions performed by memory sub-system controller 115 are provided below with respect to
At operation 505, a request is sent. For example, processing logic (e.g., memory sub-system controller 115) can send a request to perform a memory access operation on a segment of a memory array, such as memory array 104 of memory device 130. In one embodiment, the request includes a request to perform a read operation to read data from a certain segment. In other embodiments, the request can be for some other memory access operation, such as a program operation or an erase operation.
At operation 510, information is received. For example, the processing logic can receive, in response to the request, the requested data read from the segment of the memory array 104, and a health status for the segment from among a number of possible health statuses (e.g., three or more possible health statues). These possible health statuses can include, for example, a high confidence pass status, a high confidence fail status, and at least one intermediate status, such as a marginal pass status and/or a marginal fail status. In one embodiment, the health status for the segment can be determined as described above with respect to
At operation 515, one or more actions are performed. For example, the processing logic can perform a corresponding action with respect to the segment based on the health status, where the corresponding action is different for each of the possible health statuses. For example, in response to receiving the high confidence pass status, the processing logic can fully trust the data received from page buffers 370 and can continue using the segment of memory array 104 normally without any corrective action. In response to receiving the high confidence fail status, processing logic can determine that the data received from page buffers 370 is unusable, can trigger a data recovery operation and can retire the segment of memory array 104 so that it is not used again in the future.
In one embodiment, the processing logic can perform different operations in response to receiving an indication that the segment has the marginal pass status or the marginal fail status. The marginal pass status can indicate that while the segment passed a health check and can continue to be used with sufficient confidence, the segment may be trending towards failure sometime in the near future, and so the processing logic can monitor the health status and perform additional checks (e.g., health scan operations) on the segment going forward. In one embodiment, the processing logic can quarantine the segment. In order to quarantine the segment, the processing logic can add an indication of the segment to a queue, for example, of segments for which additional monitoring is advisable. In one embodiment, the segments in the queue are not used until a health scan operation can be performed. At some point in the future, such as during an idle time when the processing logic has available bandwidth (i.e., a time when the processing logic is not busy performing host requested memory access operations), the processing logic can perform the health scan to recheck the segment. In one embodiment, the processing logic can sequentially apply a number of different read voltage offsets to see if there is significant sensitivity in a health metric, such as an error rate. In addition, the processing logic can re-read the data from the segment (e.g., using a default or any of the available read voltage offsets) and confirm that the data can pass an error correction operation.
The marginal fail status can indicate that while the segment failed a health check, it only barely did so, and may be recoverable if the processing logic can perform some repair/refresh operations on the segment to allow it to continue to be used. Responsive to receiving such a marginal fail status for the segment, the processing logic can perform a data recovery operation to salvage the segment of the memory array. In one embodiment, the processing logic can re-read the data from the segment (e.g., using the same or a different read voltage offset), re-check the error rate and confirm whether the segment passes or fails the health check. In another embodiment, the processing logic can perform a salvage operation, including moving the data from the segment to another segment in memory device 130, erasing the original segment, re-programming the original segment with some other data, and then performing a health scan on the original segment. If after the salvage operation, the segment passes the health check, the segment can be returned to a pool of usable segments.
The machine can be a personal computer (PC), a tablet PC, a set-top box (STB), a Personal Digital Assistant (PDA), a cellular telephone, a web appliance, a server, a network router, a switch or bridge, or any machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. Further, while a single machine is illustrated, the term “machine” shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.
The example computer system 600 includes a processing device 602, a main memory 604 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM) or Rambus DRAM (RDRAM), etc.), a static memory 606 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage system 618, which communicate with each other via a bus 630.
Processing device 602 represents one or more general-purpose processing devices such as a microprocessor, a central processing unit, or the like. More particularly, the processing device can be a complex instruction set computing (CISC) microprocessor, reduced instruction set computing (RISC) microprocessor, very long instruction word (VLIW) microprocessor, or a processor implementing other instruction sets, or processors implementing a combination of instruction sets. Processing device 602 can also be one or more special-purpose processing devices such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), network processor, or the like. The processing device 602 is configured to execute instructions 626 for performing the operations and steps discussed herein. The computer system 600 can further include a network interface device 608 to communicate over the network 620.
The data storage system 618 can include a machine-readable storage medium 624 (also known as a computer-readable medium) on which is stored one or more sets of instructions 626 or software embodying any one or more of the methodologies or functions described herein. The instructions 626 can also reside, completely or at least partially, within the main memory 604 and/or within the processing device 602 during execution thereof by the computer system 600, the main memory 604 and the processing device 602 also constituting machine-readable storage media. The machine-readable storage medium 624, data storage system 618, and/or main memory 604 can correspond to the memory sub-system 110 of
In one embodiment, the instructions 626 include instructions to implement functionality corresponding to the local media controller 135 of
Some portions of the preceding detailed descriptions have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the ways used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of operations leading to a desired result. The operations are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. The present disclosure can refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage systems.
The present disclosure also relates to an apparatus for performing the operations herein. This apparatus can be specially constructed for the intended purposes, or it can include a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program can be stored in a computer readable storage medium, such as, but not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, each coupled to a computer system bus.
The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general purpose systems can be used with programs in accordance with the teachings herein, or it can prove convenient to construct a more specialized apparatus to perform the method. The structure for a variety of these systems will appear as set forth in the description below. In addition, the present disclosure is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages can be used to implement the teachings of the disclosure as described herein.
The present disclosure can be provided as a computer program product, or software, that can include a machine-readable medium having stored thereon instructions, which can be used to program a computer system (or other electronic devices) to perform a process according to the present disclosure. A machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer). In some embodiments, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., a computer) readable storage medium such as a read only memory (“ROM”), random access memory (“RAM”), magnetic disk storage media, optical storage media, flash memory components, etc.
In the foregoing specification, embodiments of the disclosure have been described with reference to specific example embodiments thereof. It will be evident that various modifications can be made thereto without departing from the broader spirit and scope of embodiments of the disclosure as set forth in the following claims. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense.
This application is a continuation application of co-pending U.S. Patent Application No. 63/435,792, filed Dec. 28, 2022, which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63435792 | Dec 2022 | US |