Adjusted Scan Event Threshold
By adjusting the scan event threshold of the memory unit group, the problem of uneven distribution of scan and fold events in read interference error processing in the prior art is solved, and the performance and reliability of the memory system are improved.
Patent Information
- Application Number
- CN202210609998.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-21
- Filing Date
- 2019-09-19
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2039-09-19
AI Technical Summary
When existing memory systems handle read disturbance errors, the uneven distribution of scan and fold events causes performance bottlenecks, affecting overall system performance.
By adjusting the scan event threshold of the memory unit group to be less than the target threshold, scan events are allocated on the memory device in a timely manner, ensuring that the number of scan and fold events is reduced within a given time period and improving system performance.
It effectively reduces the read count and bit error rate, improves the performance and reliability of the memory system, and avoids frequent performance bottlenecks.
Smart Images

Figure CN114911422B_ABST
Abstract
Description
[0001] Information about divisional applications
[0002] This case is a divisional application. The parent case of this divisional application is a Chinese invention patent application with the invention name “Adjusted Scanning Event Threshold”, the application date is September 19, 2019, and the application number is 201980070789.9.
[0003] Priority application
[0004] This application claims the benefit of priority to U.S. Application No. 16 / 138,334, filed on September 21, 2018, which is incorporated herein by reference in its entirety. Technical Field
[0005] Embodiments of the present disclosure relate generally to memory subsystems, and more particularly, to adjusting scan event thresholds for groups of memory cells. Background Art
[0006] The memory system may be a storage system, such as a solid state drive (SSD), and may include one or more memory components that store data. For example, the memory system may include memory devices such as non-volatile memory devices and volatile memory devices. In general, a host system may utilize the memory system to store data at the memory devices of the memory system and retrieve data stored at the memory system. Summary of the invention
[0007] One aspect of the present invention relates to a system comprising: a memory device comprising a plurality of groups of memory cells, the groups comprising a first group of memory cells and a second group of memory cells, the first group and the second group being configured to store information with the same bit capacity of each memory cell; and a processing device operably coupled to the memory device, the processing device being configured to: adjust a scan event threshold for one of the first or second groups of memory cells to a threshold value less than a target scan event threshold for the first and second groups of memory cells to timely distribute scan events on the memory device.
[0008] Another aspect of the present invention relates to a method comprising: using a processing device to adjust a scan event threshold for one of a first group of memory cells or a second group of memory cells of a memory device to a threshold value that is less than a target scan event threshold for the first and second groups of memory cells to timely distribute scan events on the memory device, wherein the memory device comprises a plurality of groups of memory cells, including the first and second groups of memory cells, and wherein the first and second groups of memory cells are configured to store information with the same bit capacity of each memory cell.
[0009] Another aspect of the present invention relates to a system comprising: a memory device comprising a plurality of groups of memory cells, the groups comprising a first group of memory cells and a second group of memory cells, the first group and the second group being configured to store information with the same bit capacity of each memory cell; and a processing device operably coupled to the memory device, the processing device being configured to: adjust a folding event threshold for one of the first or second groups of memory cells to a threshold value less than a target folding event threshold for the first and second groups of memory cells to distribute folding events in a timely manner on the memory device. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The present disclosure will be more fully understood from the detailed description given below and the accompanying drawings of various embodiments of the present disclosure.
[0011] Figure 1 An example computing environment including a memory system according to some examples of the present disclosure is described.
[0012] Figures 2 to 4 An example relationship between read count and time for different scan events according to some embodiments of the present disclosure is illustrated.
[0013] Figure 5 A flow chart illustrating an example method according to some embodiments of the present disclosure that includes scheduling scan events for first and second groups of memory cells.
[0014] Figure 6 An example computer system is described in which embodiments of the present disclosure may operate. DETAILED DESCRIPTION
[0015] Aspects of the present disclosure relate to scheduling or executing scan or fold events, or adjusting scan or fold event thresholds for different groups of memory cells (e.g., blocks, pages, etc.) in a memory system. An example of a memory system is a storage system, such as a solid state drive (SSD). In some embodiments, the memory system is a hybrid memory / storage system. In general, a host system may utilize a memory system that includes one or more memory devices. The memory device may include a non-volatile memory device, such as a "NAND". The host system may provide write requests to store data at a memory device of the memory system, and may provide read requests to retrieve data stored at the memory system (e.g., stored in one or more memory cell arrays).
[0016] A memory device, such as a flash-based device, may experience one or more errors during operation. For example, a memory cell may degrade due to repeated reading, writing, and erasing of the memory cell. Likewise, errors may be introduced in the operation of a memory system. Reading data from a memory cell in a block of memory cells in a memory device may cause nearby memory cells (e.g., memory cells in a block, page, or group of memory cells or in some instances, surrounding blocks, pages, groups, or strings of memory cells) to change over time (e.g., threshold voltage changes, etc.), an effect known as read disturb. For example, a read disturb error occurs when a punch-through voltage (Vpass) that shifts the charge distribution in the cell to which it is applied is applied to a memory cell near the memory cell being read. If the magnitude of the distribution is large enough, a value different from the stored value may be read from the memory cell.
[0017] To ensure reliable data storage and recovery, the memory system may have one or more error detection and one or more error correction mechanisms. For example, a memory cell may have an error correction code (ECC) that is generated when the memory cell is written by inputting the value to be stored in the memory device into a mathematical formula to generate an ECC value that is also stored. Later, when reading the memory cell, the same or complementary mathematical formula is applied to the value read from the memory cell. The ECC generated when the value is written to the memory cell can be compared with the ECC generated when the value is read from the memory cell to determine the error. For example, if the ECC generated when the value is written to the memory device does not match the ECC generated when the value is read from the memory device, then an error has occurred in the memory cell. Example ECC processes may include parity checks, Hamming codes, checksums, cyclic redundancy checks (CRCs), cryptographic hashes, block codes, convolutional codes, turbo codes, low-density parity checks (LDPCs), and the like.
[0018] When an error is detected, a variety of error handling mechanisms may allow the memory device to correct the value read from the memory cell. An error handling mechanism may be a hardware or software-based process that the memory system uses to attempt to correct the error. An error handling mechanism may be a general error handling mechanism that may work on all types of errors, or may be targeted to correct certain error conditions in the memory system. For example, a read disturbance error handling mechanism targets to recover read disturbance read disturbance. An example error handling mechanism for correcting read disturbance errors is converting the read voltage to a higher voltage to compensate for the shift in charge distribution. Multiple error handling mechanisms may be attempted for a given error. For example, there may be multiple error handling mechanisms targeted to resolve read disturbance errors. Each error handling mechanism may perform different operations, and therefore may cost different amounts of error handling overhead.
[0019] In some instances, the error is not obvious to the memory system. The memory system may only know that an error detection mechanism (e.g., ECC) has detected an error. Because multiple error handling mechanisms may exist for a given problem, and because the cause of the error may be unknown, the memory system may try multiple error handling mechanisms to correct the error. In some instances, the memory system may try one or more of these correction mechanisms in an order specified by a predefined error handling sequence. The error handling sequence may be programmed into the device in hardware, software, or a combination of hardware and software when the device is manufactured.
[0020] Error handling sequences are developed by the manufacturer based on expected usage conditions and environments and historical expected success rates, latency, and controller utilization statistics for various error handling mechanisms. The predefined error handling sequences amount to an educated guess by the memory system designer as to the best sequence for correcting errors, given the time and resource costs associated with each specific error handling mechanism and the expected error types associated with the expected usage conditions.
[0021] A controller configured to control operations associated with a memory device (e.g., reads, writes, etc.) may count the number of reads (read counts) associated with a memory cell or group of memory cells (e.g., a block or page of memory cells, etc.). When the read count for a memory cell or group of memory cells reaches a first scan threshold (e.g., a read count for a block of memory cells without an intervening write, erase, etc., or a total read count for a block of memory cells, etc.), the controller may scan the block of memory cells for read disturb errors. In an example, a scan event for the group of memory cells may include a read disturb scan configured to determine a threshold voltage distribution for the group of memory cells. If the threshold voltage distribution changes, or if the number of read disturb errors in the memory cell or group of memory cells reaches a first error threshold, or the read count reaches a first read threshold, the controller may refresh the data in the memory cell or group of memory cells in a folding event. In one example, a folding event may include writing data to different memory cells or different groups of memory cells (e.g., reading data from a first block of memory cells and writing it to a second block of memory cells, etc.), or otherwise refreshing data in a memory cell or group of memory cells. A folding event may be triggered by a read count, raw bit error rate (RBER), read disturb errors, or one or more other indications that the stored data should be refreshed.
[0022] Drive performance may be defined in terms of read operations (e.g., random or sequential) spanning a given time interval (e.g., 1 second, etc.). However, in certain operating conditions (e.g., test conditions, 4k virtual reality operations, loading images or galleries, or other sequential data operations, etc.), groups of memory cells (e.g., blocks of memory cells) may experience the same or similar number of read counts or read disturbances, triggering drive management operations (e.g., scans, folds, etc.) for multiple blocks or groups of memory cells within a time period (e.g., overlapping in time, or within a threshold time, such as 1 second, etc.), thereby affecting the performance of the associated memory system. While a scan event may take a relatively small amount of time (e.g., microseconds), a fold event may take a substantially larger amount of time (e.g., tens of milliseconds). If several scans or folds are triggered in a time period, then memory system performance and, therefore, overall system performance may be affected.
[0023] In one example, in a system including multiple groups (e.g., blocks, memory devices, etc.) of memory cells, the read count scan thresholds may be staggered, dispersed, or spread out in time or thresholds so that drive management events (e.g., scanning, folding, etc.) are distributed and ungrouped. For example, instead of setting the same read count scan threshold for each group of memory cells, the threshold may be randomized, skewed, or adjusted so that under consistent usage conditions, the number of groups of memory cells that reach the read count scan threshold is reduced at any time. In other examples, when multiple groups of memory cells are converging toward the read count scan threshold, one or more groups of memory cells may be pre-scanned in some examples depending on memory system usage, workload, etc. In some examples, folding events may be similarly distributed by adjusting the read count threshold or raw bit error rate (RBER) used to trigger the folding event.
[0024] Figure 1 An example computing environment 100 including a memory system 110 is illustrated according to some examples of the present disclosure. The memory system 110 may include media, such as memory devices 112A-112N. The memory devices 112A-112N may be volatile memory devices, non-volatile memory devices, or a combination of such devices. In some embodiments, the memory system is a storage system. An example of a storage system is an SSD. In some embodiments, the memory system 110 is a hybrid memory / storage system. In general, the computing environment 100 may include a host system 120 that uses the memory system 110. In some implementations, the host system 120 may write data to the memory system 110 and read data from the memory system 110.
[0025] The host system 120 may be a computing device, such as a desktop computer, a laptop computer, a network server, a mobile device, or such computing devices including a memory and a processing device. The host system 120 or the memory system 110 may be included in a variety of products such as IoT devices (e.g., refrigerators or other appliances, sensors, motors or actuators, mobile communication devices, cars, drones, etc.) to support processing, communication, or control of the products. The host system 120 may include a processor, a memory card reader, or one or more other electronic devices external to the memory system 110. The host system 120 may include or be coupled to the memory system 110 so that the host system 120 can read data from the memory system 110 or write data to the memory system. The host system 120 may be coupled to the memory system 110 via a physical host interface. As used herein, "coupled to" generally refers to a connection between components, which may be an indirect communication connection or a direct communication connection (e.g., without an intermediate component), whether wired or wireless, including connections such as electrical connections, optical connections, magnetic connections, etc. Examples of physical host interfaces include, but are not limited to, Serial Advanced Technology Attachment (SATA) interfaces, Peripheral Component Interconnect Express (PCIe) interfaces, Universal Serial Bus (USB) interfaces, Fibre Channel, Serial Attached SCSI (SAS), eMMC TM The physical host interface may be used to transmit data between the host system 120 and the memory system 110. When the memory system 110 is coupled to the host system 120 through a PCIe interface, the host system 120 may further utilize an NVM Express (NVMe) interface to access the memory devices 112A to 112N. The physical host interface may provide an interface for transferring control, address, data, and other signals between the memory system 110 and the host system 120.
[0026] As an example, a memory system 110 is shown that includes a memory system controller 115 and media such as memory devices 112A to 112N. Memory devices 112A to 112N may include any combination of different types of non-volatile memory devices and / or volatile memory devices. Examples of non-volatile memory devices include NAND-type flash memory. Each of memory devices 112A to 112N may include one or more arrays of memory cells, such as single-level cells (SLC) or multi-level cells (MLC) (e.g., triple-level cells (TLC) or quad-level cells (QLC)). In some implementations, a particular memory device may include both an SLC portion and an MLC portion of memory cells (e.g., memory cells having different bit capacities per cell). Each of the memory cells may store data bits (e.g., data blocks) used by a host system 120. Although non-volatile memory devices such as NAND-type flash memory are described, memory devices 112A to 112N may be based on any other type of memory, such as volatile memory. In some implementations, the memory devices 112A to 112N may be, but are not limited to, random access memory (RAM), read-only memory (ROM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), phase change memory (PCM), magnetic random access memory (MRAM), or non-(NOR) flash memory, electrically erasable programmable read-only memory (EEPROM), and a cross-point array of non-volatile memory cells. The cross-point array of non-volatile memory may be combined with a stackable cross-grid data access array to perform bit storage based on changes in body resistance. Additionally, in contrast to many flash-based memories, cross-point non-volatile memories may perform write-in-place operations, where non-volatile memory cells may be programmed without previously erasing the non-volatile memory cells. Furthermore, the memory cells of the memory device 320 may be grouped into a number of devices, planes, sub-blocks, blocks, or pages, which may refer to cells of a memory device for storing data.
[0027] In one example, memory system 110 can be a discrete memory and / or storage device component of host system 120. In other examples, memory system 110 can be part of an integrated circuit (e.g., a system on a chip (SOC), etc.) that is stacked or otherwise included with one or more other components of host system 120.
[0028] Each of the media devices 112A- 112N may include a media controller (eg, media controllers 130A- 130N) that manages the memory cells of the memory devices 112A- 112N.
[0029] The memory system 110 may include a memory system controller 115 that may communicate with the memory devices 112A to 112N to perform operations such as reading data, writing data, or erasing data at the memory devices 112A to 112N and other such operations. The memory system controller 115 may include hardware, such as one or more integrated circuits and / or discrete components, buffer memory, or a combination thereof. The memory system controller 115 may be a microcontroller, a dedicated logic circuit system (e.g., a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc.), or other suitable processor. The memory system controller 115 may include a processor (processing device) 117 configured to execute instructions stored in a local memory 119. In the illustrated example, the local memory 119 of the memory system controller 115 includes an embedded memory configured to store instructions for executing various processes, operations, logic flows, and routines that control the operation of the memory system 110, including handling communications between the memory system 110 and the host system 120. In some embodiments, the local memory 119 may include memory registers that store, for example, memory pointers, fetched data, etc. Local memory 119 may also include read-only memory (ROM) for storing microcode. Figure 1 The example memory system 110 in FIG. 1 has been shown as including a memory system controller 115, but in another embodiment of the present disclosure, the memory system 110 may not include the memory system controller 115, and may instead rely on external control (e.g., provided by an external host, or by a processor or controller separate from the memory system).
[0030] In general, the memory system controller 115 may receive commands or operations from the host system 120, and may convert the commands or operations into instructions or appropriate commands to achieve the desired access to the memory devices 112A to 112N. The memory system controller 115 may be responsible for other operations such as wear leveling operations (e.g., garbage collection operations, reclamation), error detection and error correction code (ECC) operations, encryption operations, cache operations, block retirement, and address translation between logical block addresses and physical block addresses associated with the memory devices 112A to 112N. The memory system controller 115 may further include a host interface circuit system to communicate with the host system 120 via a physical host interface. The host interface circuit system may convert commands received from the host system into command instructions to access the memory devices 112A to 112N, and convert responses associated with the memory devices 112A to 112N into information for the host system 120.
[0031] The memory system controller 115 may include a set of management tables to maintain various information associated with one or more components of the memory system 110. For example, the information may be associated with the memory devices 112A to 112N or one or more memory cells coupled to the memory system controller 115. For example, the management table may include information about the block age, block erase count, error history, or one or more error counts (e.g., write operation error count, read bit error count, read operation error count, erase error count, etc.) of one or more memory cell blocks coupled to the memory system controller 115. In some examples, if the number of errors detected for one or more of the error counts is above a threshold, the bit error may be referred to as an uncorrectable bit error. Among other things, the management table may maintain counts of correctable or uncorrectable bit errors.
[0032] The memory system controller 115 may detect or correct errors associated with writing data to or reading data from one or more memory cells of the memory devices 112A to 112N. The memory system controller 115 may efficiently detect and recover from error events (e.g., bit errors, operational errors, etc.) associated with various operations or data storage, while maintaining the integrity of data transferred between the host system 120 and the memory system 110, or maintaining the integrity of stored data (e.g., using redundant array of independent disks (RAID) storage, etc.), and may remove (e.g., retire) failed memory resources (e.g., memory cells, memory arrays, pages, blocks, etc.) to prevent future errors.
[0033] The memory system controller 115 may calculate the ECC after writing a value to the memory devices 112A-112N and store this value in different locations in the memory devices 112A-112N. After reading a value from the memory devices 112A-112N, the memory system controller 115 may calculate an ECC value for the read value and compare the ECC value to the stored ECC value. If the ECC values do not match, the memory system controller 115 may determine that an error has occurred. The memory system controller 115 may execute one or more error handling mechanisms in an order specified according to an error handling sequence to attempt to correct the error. The error handling sequence may be stored in a data structure on a component of the memory system 110. The memory system controller 115 may continue to try the error handling mechanism until the error is corrected or the error handling sequence no longer exists.
[0034] The memory system controller 115 may track one or more error handling metrics. Examples include one or more of the number of times an error handling mechanism is needed (e.g., EH_COUNTER), the number of times each particular error handling metric is used, the number of times each error handling mechanism successfully resolves errors, the latency of each error handling mechanism, etc. In some examples, the memory system controller 115 tracks the total latency—that is, how much time the system takes to correct errors each time the system needs to correct an error. The collected metrics may be stored in the same or different data structure as the error handling sequence.
[0035] The memory system 110 may include a scan event component 113 (e.g., circuitry, a processing device, dedicated logic, programmable logic, firmware, etc.) to perform the operations described herein, such as one or more scan or fold events described herein. In one example, the scan event component 113 may be configured to adjust scan or fold event thresholds for one or more groups of memory cells so as to distribute the scan or fold events in a timely manner across the memory device to limit the number of scan or fold events that occur in a given time period.
[0036] The memory system 110 may also include additional circuitry or components not shown. In some implementations, the memory system 110 may include a cache or buffer (e.g., DRAM) and address circuitry (e.g., row decoders and column decoders) that may receive addresses from the controller 115 and decode the addresses to access the memory devices 112A-112N.
[0037] Figure 2 An example relationship 200 between read counts 201 and time (t) 202 for different scan events is illustrated, including first, second, third, and fourth scan events 210-213 at respective first, second, third, and fourth read count thresholds 205-208. Under a consistent or nearly consistent read workload, the read count for each group of memory cells will increase linearly or nearly linearly with time (t), such as illustrated as a first cumulative read count 203.
[0038] The fourth scan threshold 208 may illustrate a target read count threshold (e.g., an ideal read count threshold determined for a group of memory cells given typical operating conditions). In typical operation, each group of memory cells (e.g., a block of memory cells) is scanned at the target threshold without adjusting the scan threshold. In certain examples, multiple groups of memory cells may be scanned at the fourth scan event 213, thereby affecting memory device performance. To avoid scanning multiple groups of memory cells simultaneously or within a given time period, the read count thresholds of different groups of memory cells may be skewed or adjusted from the target read count threshold to one or more other thresholds (e.g., above or below the target read count threshold).
[0039] For example, the first, second and third scan event thresholds 205 to 207 are offset, skewed or adjusted from the fourth scan event threshold 208. In one example, different groups of memory cells may be assigned different thresholds. In some examples, each group of memory cells may have a unique read count threshold. In other examples, several groups of memory cells may share corresponding thresholds so that the number of groups of memory cells scanned at a certain time or threshold is reduced. The first group (A) of memory cells may have a first scan event threshold 205 and be scanned at a first scan event 210. The second group (B) of memory cells may have a second scan event threshold 206 and be scanned at a second scan event 211. The third group of memory cells (C) may have a third scan event threshold 207 and be scanned at a third scan event 212. The fourth group (D) of memory cells may have a fourth scan event threshold 208 and be scanned at a fourth scan event 213. In one example, only 1 block may be scanned at a given scan event or within a given time period (e.g., 1 second, etc.). In one example, if more than one group of memory cells reaches a respective or target threshold at a given time, the groups can be queued and scanned at the next available scan interval (e.g., in the order received) with respect to read counts, etc. In one example, the scan event can include a read disturb scan.
[0040] Figure 3 An example relationship 300 between a read count 301 and a time (t) 302 for different scan events including a first, second, third, and fourth scan events 310-313 at a scan threshold 308 is illustrated. Figure 2 In an example, the scan threshold is adjusted for different groups of memory cells, where the read counts for different groups of memory cells are intentionally skewed or staggered to be higher or lower than their actual read counts. In an example, to ensure that all groups of memory cells are scanned at or around the scan threshold 308, the read counts can be adjusted to be higher than their actual read counts.
[0041] exist Figure 3 At the origin of the time (t) 302 axis in Figure 3 , different cumulative read counts (e.g., first, second, third, and fourth read counts 303-306) are shown, illustrating different initial read counts for different groups of memory cells. In one example, the read counts for different groups of memory cells can be adjusted (e.g., start with a non-zero number, or skewed, etc.) so that under consistent usage (e.g., read operations) conditions, different groups of memory cells will reach the scan threshold 308 at different times. In other examples, if the non-zero read counts are increasing at a steady rate for different groups of memory cells, or if consistent usage conditions are detected, then the read counts for one or more of those groups can be increased or adjusted from the actual read counts.
[0042] In one example, a first group of memory cells reaches scan threshold 308 at a first time and is scanned at a first scan event 310. A second group of memory cells reaches scan threshold 308 at a second time and is scanned at a second scan event 311. A third group of memory cells reaches scan threshold 308 at a third time and is scanned at a third scan event 312. A fourth group of memory cells reaches scan threshold 308 at a fourth time and is scanned at a fourth scan event 313. Without adjusting the read counts for different groups (e.g., blocks) of memory cells, the first, second, and third groups of memory cells would trigger a scan at the fourth scan event 313, adversely affecting performance.
[0043] Figure 4 An example relationship 400 between read counts 401 and time (t) 402 for different scan events is illustrated, the scan events including first, second, third, and fourth scan events 410-413, each scan event within a threshold zone 404. In one example, the accumulated read counts 403 of the first, second, third, and fourth groups of memory cells may increase at the same or substantially similar rates. When the accumulated read counts 403 of one or more (or two or more) groups of memory cells reach a preliminary condition (e.g., threshold zone 404), a subset of the groups of memory cells in the threshold zone 404 may be scanned at periodic intervals (e.g., time intervals, etc.). In certain examples, the threshold zone 404 may include an upper threshold similar to or equal to a scan threshold 408 (e.g., a target threshold, etc.) and a lower threshold or sub-threshold below the scan threshold 408. The groups of memory cells may be scanned sequentially, randomly, hierarchically by erase count, or one or more other predetermined health indexes or parameters.
[0044] A first group of memory cells may be scanned at a first scan event 410. A second group of memory cells may be scanned at a second scan event 411. A third group of memory cells may be scanned at a third scan event 412. A fourth group of memory cells may be scanned at a fourth scan event 413. In an example, only one group of memory cells is scanned at a time or in a time interval (e.g., 1 second, etc.). In the absence of threshold region 404, each of the first, second, third, and fourth groups of memory cells would be scanned at a fourth scan event 413 at a scan threshold 408.
[0045] Similar to Figures 2 to 4 A scan event may be performed when the read count reaches a certain threshold or when the raw bit error rate (RBER), read disturbance errors, or one or more other indicators reach a threshold in response to the scan event, and the group of memory cells may be collapsed or refreshed. In some examples, where the read count alone is used to trigger the scan event, Figures 2 to 4 The scan event in the example of can be replaced by a fold event. In other examples, Figures 2 to 4 The read count metric may be replaced with RBER, read disturb errors, or one or more other indications in response to a scan event.
[0046] Due to NAND scaling, block sizes are increasing. Therefore, the number of pages required for scanning continues to increase, thereby increasing the probability that multiple scans or folds can be triggered simultaneously. In addition, because QLC NAND has less read disturbance capabilities (e.g., compared to SLC / MLC / TLC counterparts), such memories can trigger scans or folds more frequently. As the amount of scanning and folding work increases, device performance under read-intensive workloads may be affected. Therefore, scan and fold events should be distributed to avoid frequent performance bottlenecks. In one example, a target scan event threshold for QLC NAND may include 100k reads. The adjusted scan event threshold may include, for example, 75% of the target scan event threshold (e.g., 75k reads), and the staggered scan event threshold may include, for example, 75%, 83.3%, 91.6%, etc. of the target scan event threshold (e.g., 75k reads, 83.3k reads, 91.6k reads, etc.). In one example, the random scan event threshold may include one or more of the staggered scan event thresholds. In other examples, one or more of the target, adjusted, staggered, or random scan event thresholds may include one or more other read counts, etc.
[0047] Figure 5An example method 500 is described that includes adjusting, using a processing device operably coupled to a memory device, a scan event threshold for one of a first or second group of memory cells (e.g., a block of memory cells or one or more other groups of memory cells of the memory device) to a threshold that is less than a target scan event threshold to distribute scan events on the memory device in a timely manner.
[0048] At 505, a first scan event may be scheduled for a first group of memory cells at a first scan event threshold. The first scan event threshold may include a target scan event threshold, or one or more thresholds below the target scan event threshold. In one example, the first scan event threshold may be adjusted from the target scan event threshold, for example, by a processing device.
[0049] A second scan event may be scheduled for a second group of memory cells at a second scan event threshold at 510. Unlike the first scan event threshold, the second scan event threshold may include a target scan event threshold, or one or more thresholds below the target scan event threshold.
[0050] In one example, the first and second groups of memory cells may be configured to store information with the same bit capacity per memory cell (e.g., two blocks QLC, etc.). At the same time, the bit capacity of the memory cells for the first and second groups of memory cells may be a selectable level in a plurality of levels. For example, the first and second groups of memory cells may selectively include SLC, MLC, TLC, or QLC. Different level cells may include different scan event thresholds. In one example, adjusting the scan event threshold for one of the first or second groups of memory cells may refer to adjusting the scan event threshold for the level relative to other memory cells of a particular level, such as to distribute scan events on the memory device in a timely manner during a period of sustained heavy use (e.g., high bandwidth operation, test conditions, etc.). This is different from adjusting the read count threshold due to wear leveling or P / E cycling or temperature. Those adjustments are made to ensure data retention. In one example, these adjustments may be made to avoid multiple scan events within a specified time period, thereby improving device performance by distributing scan or folding events on the memory device in a timely manner.
[0051] Figure 6 An example machine of a computer system 600 is illustrated within which a set of instructions for causing the machine to perform any one or more of the methodologies discussed herein may be executed. In some embodiments, the computer system 600 may correspond to a computer system that includes or utilizes a memory system (e.g., Figure 1 A host system (eg, a memory system 110) Figure 1 host system 120), or can be used to perform operations of the controller (for example, execute an operating system to perform operations corresponding to Figure 1 In some embodiments, the machine may be connected (e.g., using a network) to other machines in a LAN, an intranet, an extranet, and / or the Internet. The machine may operate in the capacity of a server or a client machine in a client-server network environment, or in the capacity of a peer machine in a peer-to-peer (or distributed) network environment, or in the capacity of a server or a client machine in a cloud computing infrastructure or environment.
[0052] The machine may be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a cellular phone, a network appliance, a server, a network router, a switch or a bridge, or any machine capable of executing (sequentially or otherwise) a set of instructions that specify actions to be taken by the machine. Further, while a single machine is described, the term "machine" should also be construed to include any collection of machines that individually or collectively execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.
[0053] 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.
[0054] The processing device 602 represents one or more general-purpose processing devices, such as a microprocessor, a central processing unit, and the like. More specifically, the processing device may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor that implements other instruction sets, or a processor that implements a combination of instruction sets. The processing device 602 may 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), a network processor, and the like. The processing device 602 is configured to execute instructions 626 for performing the operations and steps discussed herein. The computer system 600 may further include a network interface device 608 to communicate over a network 620.
[0055] The data storage system 618 may include a machine-readable storage medium 624 (also referred to as a computer-readable medium) having stored thereon one or more sets of instructions or software 626 embodying any one or more of the methodologies or functions described herein. The instructions 626 may 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, the data storage system 618, and / or the main memory 604 may correspond to Figure 1 A memory system 110 is provided.
[0056] In one embodiment, instructions 626 include instructions for implementing instructions corresponding to a write parameter handler (e.g., Figure 1 113) of the scanning event component 113). Although the machine-readable storage medium 624 is shown as a single medium in the example embodiment, the term "machine-readable storage medium" should be considered to include a single medium or multiple media storing one or more sets of instructions. The term "machine-readable storage medium" should also be considered to include any medium capable of storing or encoding a set of instructions for machine execution and causing the machine to perform any one or more of the methods of the present disclosure. Therefore, the term "machine-readable storage medium" should be considered to include, but not limited to, solid-state memory, optical media, and magnetic media.
[0057] Some portions of the previous detailed description 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 means by which those skilled in the art of data processing can most effectively convey the substance of their work to other persons skilled in the art. An algorithm is here and generally considered to be a self-consistent sequence of operations that result in a desired result. An operation is an operation that requires physical manipulation of physical quantities. These quantities are typically, but not necessarily, in the form of electrical or magnetic signals that can be stored, combined, compared, and otherwise manipulated. Sometimes, primarily for general reasons, it has proven convenient to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
[0058] It should be borne in mind, however, that all of these and similar terms should be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. The present disclosure may refer to the actions 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's memories or registers or other such information storage systems.
[0059] The present disclosure also relates to an apparatus for performing the operations described herein. This apparatus may be specially constructed for the intended purpose, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may 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 memory (ROM), random access memory (RAM), EPROM, EEPROM, magnetic or optical cards, or any type of medium suitable for storing electronic instructions, each coupled to a computer system bus.
[0060] The algorithms and displays presented herein are not inherently related to any particular computer or other device. Various general purpose systems may be used with the program according to the teachings herein, or it may prove convenient to construct a more specialized device to perform the method. The structures of a variety of these systems will be presented as set forth in the description below. In addition, the present disclosure is described without reference to any particular programming language. It should be appreciated that a variety of programming languages may be used to implement the teachings of the present disclosure as described herein.
[0061] The present disclosure may be provided as a computer program product or software, which may include a machine-readable medium having stored thereon instructions that can be used to program a computer system (or other electronic device) to perform a process according to the present disclosure. The machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer). In some embodiments, the machine-readable (e.g., computer-readable) medium includes a machine (e.g., computer) readable storage medium, such as a read-only memory ("ROM"), a random access memory ("RAM"), a magnetic disk storage medium, an optical storage medium, a flash memory device, etc.
[0062] In the foregoing description, embodiments of the present disclosure have been described with reference to specific example embodiments thereof. It will be apparent that various modifications may be made thereto without departing from the broader spirit and scope of embodiments of the present disclosure as set forth in the appended claims. Accordingly, the description and drawings should be viewed in an illustrative rather than a restrictive sense.
[0063] Examples
[0064] An instance (e.g., “Instance 1”) of a subject matter (e.g., a system) may include: a memory device comprising multiple groups of memory cells, the groups comprising a first group of memory cells and a second group of memory cells, the first group and the second group being configured to store information with the same bit capacity of each memory cell; and a processing device operably coupled to the memory device, the processing device being configured to adjust a scan event threshold for one of the first or second groups of memory cells to a threshold that is less than a target scan event threshold for the first and second groups of memory cells to distribute scan events on the memory device in a timely manner.
[0065] In Example 2, the subject matter of Example 1 may optionally be configured such that a scan event for a group of memory cells includes a read disturbance scan for a group of memory cells, and wherein the scan event threshold includes a read count threshold, and wherein the target scan event threshold for a first group of memory cells is the same as the target scan event threshold for a second group of memory cells.
[0066] In Example 3, the subject matter of any one or more of Examples 1-2 may optionally be configured such that the bit capacity for memory cells in the first and second groups of memory cells is a selectable level among a plurality of levels, and the groups of memory cells include blocks of memory cells, each block including a plurality of pages of memory cells.
[0067] In Example 4, the subject matter of any one or more of Examples 1 to 3 may optionally be configured such that a scan event threshold for a group of memory cells includes a time after a preliminary condition is reached, and the preliminary condition includes a read count threshold or sub-threshold for the group of memory cells that is less than a target scan event threshold.
[0068] In Example 5, the subject matter of any one or more of Examples 1 to 4 may optionally be configured such that in order to adjust the scan event threshold for one of the first or second groups of memory cells, the processing device is configured to randomly assign a scan event threshold for one of the first or second groups of memory cells within a range of scan event thresholds that is less than or equal to the target scan event threshold for the first and second groups of memory cells, or to stagger the scan event threshold for the first group of memory cells relative to the scan event threshold for the second group of memory cells.
[0069] In Example 6, the subject matter of any one or more of Examples 1 to 5 may optionally be configured such that to adjust the scan event threshold for one of the first or second groups of memory cells, the processing device is configured to increase the read count for the first group of memory cells by a first amount in addition to the number of reads for the first group of memory cells, wherein the scan event threshold for the first group of memory cells includes an effective scan event threshold taking into account the increased read count.
[0070] In Example 7, the subject matter of any one or more of Examples 1 to 6 may optionally be configured such that in order to adjust a scan event threshold for one of the first or second groups of memory cells, the processing device is configured to schedule scan events for the first and second groups of memory cells at different times after a scan event sub-threshold below a scan event upper threshold is reached.
[0071] In Example 8, the subject matter of any one or more of Examples 1 to 7 may optionally be configured such that the processing device is configured to: perform a scan event including a read disturbance scan for one of the first or second groups of memory cells with an adjusted scan event threshold; and schedule a folding event for one of the first or second groups of memory cells in response to the scan event.
[0072] An instance (e.g., “Example 9”) of a subject matter (e.g., a method) may include using a processing device to adjust a scan event threshold for one of a first group of memory cells or a second group of memory cells of a memory device to a threshold that is less than a target scan event threshold for the first and second groups of memory cells to distribute scan events in a timely manner on the memory device, wherein the memory device includes multiple groups of memory cells, including first and second groups of memory cells, and wherein the first and second groups of memory cells are configured to store information with the same bit capacity of each memory cell.
[0073] In Example 10, the subject matter of Example 9 may optionally be configured such that a scan event for a group of memory cells includes a read disturb scan for a group of memory cells, wherein the scan event threshold includes a read count threshold, and the target scan event threshold for a first group of memory cells is the same as the target scan event threshold for a second group of memory cells.
[0074] In Example 11, the subject matter of any one or more of Examples 9-10 may optionally be configured such that the bit capacity for memory cells in the first and second groups of memory cells is a selectable level in a plurality of levels, and the groups of memory cells include blocks of memory cells, each block including multiple pages of memory cells.
[0075] In Example 12, the subject matter of any one or more of Examples 9 to 11 may optionally be configured such that a scan event threshold for a group of memory cells includes a time after a preliminary condition is reached, and the preliminary condition includes a read count threshold or sub-threshold for the group of memory cells that is less than a target scan event threshold.
[0076] In Example 13, the subject matter of any one or more of Examples 9 to 12 may optionally be configured such that adjusting the scan event threshold includes: randomly assigning a scan event threshold to one of the first or second groups of memory cells within a range of scan event thresholds that is less than or equal to a target scan event threshold for the first and second groups of memory cells; or staggering the scan event threshold for the first group of memory cells relative to the scan event threshold for the second group of memory cells.
[0077] In Example 14, the subject matter of any one or more of Examples 9 to 13 may optionally be configured such that adjusting the scan event threshold includes increasing the read count for the first group of memory cells by a first amount in addition to the number of reads of the first group of memory cells, and the scan event threshold for the first group of memory cells includes an effective scan event threshold in view of the increased read count.
[0078] In Example 15, the subject matter of any one or more of Examples 9 to 14 may optionally be configured such that adjusting the scan event threshold includes scheduling scan events for the first and second groups of memory cells at different times after reaching a scan event sub-threshold below a scan event upper threshold.
[0079] In Example 16, the subject matter of any one or more of Examples 9 to 15 may optionally be configured to include: performing a scan event including a read disturb scan for one of the first or second groups of memory cells with an adjusted scan event threshold; and scheduling a folding event for one of the first or second groups of memory cells in response to the scan event.
[0080] An instance (e.g., “Instance 17”) of a subject matter (e.g., a system) may include: a memory device comprising multiple groups of memory cells, the groups comprising a first group of memory cells and a second group of memory cells, the first group and the second group being configured to store information with the same bit capacity of each memory cell; and a processing device operably coupled to the memory device, the processing device being configured to: adjust a folding event threshold for one of the first or second groups of memory cells to a threshold that is less than a target folding event threshold for the first and second groups of memory cells to distribute folding events in a timely manner across the memory device.
[0081] In Example 18, the subject matter of Example 17 may optionally be configured such that a folding event for a group of memory cells comprises writing data from the group of memory cells to another group of memory cells, wherein the folding event threshold comprises a read count threshold, and the target folding event threshold for the first group of memory cells is the same as the target folding event threshold for the second group of memory cells.
[0082] In Example 19, the subject matter of any one or more of Examples 17-18 may optionally be configured such that the bit capacity for memory cells in the first and second groups of memory cells is a selectable level in a plurality of levels, and the groups of memory cells include blocks of memory cells, each block including multiple pages of memory cells.
[0083] In Example 20, the subject matter of any one or more of Examples 17 to 19 may optionally be configured such that the fold event threshold for the group of memory cells includes a time after a preliminary condition is reached, and the preliminary condition includes a read count threshold or sub-threshold for the group of memory cells that is less than the target fold event threshold.
[0084] An instance (e.g., “Instance 21”) of a subject matter (e.g., a system) may include: a memory device comprising multiple groups of memory cells, the groups comprising a first group of memory cells and a second group of memory cells; and a processing device operably coupled to the memory device, the processing device being configured to schedule scan events for the first and second groups of memory cells at different times after a scan event sub-threshold below a scan event upper threshold is reached.
[0085] An instance (e.g., “Instance 22”) of a subject matter (e.g., a system) may include: a memory device comprising multiple groups of memory cells, the groups comprising a first group of memory cells and a second group of memory cells; and a processing device operably coupled to the memory device, the processing device configured to increase a read count for the first group of memory cells by a first amount in addition to a read count for the first group of memory cells.
[0086] An instance (e.g., “Instance 23”) of a subject matter (e.g., a system) may include: a memory device comprising multiple groups of memory cells, the groups comprising a first group of memory cells and a second group of memory cells; and a processing device operably coupled to the memory device, the processing device configured to schedule folding events for the first and second groups of memory cells with different folding event thresholds.
[0087] In Example 24, the subject matter of Example 23 may optionally be configured such that in order to schedule folding events for the first and second groups of memory cells, the processing device is configured to schedule scanning events for the first and second groups of memory cells at different times after reaching a folding event sub-threshold below a folding event upper threshold.
[0088] In Example 25, the subject matter of any one or more of Examples 23-24 can optionally be configured such that the folding event threshold is a read count threshold for the first and second groups of memory cells, or a read disturb scan error rate threshold for the first and second groups of memory cells in response to a read disturb scan.
[0089] An instance (e.g., “Instance 26”) of a subject matter (e.g., a system) may include: a memory device comprising multiple groups of memory cells, the groups comprising a first group of memory cells and a second group of memory cells; and a processing device operably coupled to the memory device, the processing device being configured to schedule scan events for the first and second groups of memory cells with different scan event thresholds.
[0090] In Example 27, the subject matter of Example 26 may optionally be configured such that in order to schedule scan events for a first and second group of memory cells, the processing device is configured to: schedule scan events for the first group of memory cells with a first scan event threshold; and schedule scan events for the second group of memory cells with a second scan event threshold that is different from the first scan event threshold.
[0091] An instance (e.g., “instance 28”) of a subject matter (e.g., a system or apparatus) may optionally combine any portion or combination of any one or more of instances 1-27 to include a “component” for performing any portion of any one or more of the functions or methods of instances 1-27, or a “machine-readable medium” (e.g., non-transitory, etc.) comprising instructions that, when executed by a machine, cause the machine to perform any portion of any one or more of the functions or methods of instances 1-27.
Claims
1. A memory system, comprising: a memory device comprising a first group of memory cells and a second group of memory cells, the first group of memory cells being separate from the second group of memory cells, each of the first group of memory cells and the second group of memory cells being configured to store information with a same bit capacity of each memory cell; and a processing device operably coupled to the memory device, the processing device configured to perform operations including: skew a first read count value of the first group of memory cells from a first actual read count value of the first group of memory cells; triggering at least one of a first scan event or a first folding event of the first group of memory cells based on the skewed first read count value and an event threshold; as well as At least one of a second scan event or a second folding event of the second group of memory cells is triggered based on a second read count value and the event threshold, the second read count value comprising a second actual read count value of the second group of memory cells.
2. The memory system of claim 1 , wherein triggering at least one of the first scan event or the first folding event based on the skewed first read count value and the event threshold comprises: At least one of the first scan event or the first folding event is triggered a time period after the skewed first read count value is less than a target read count threshold. 3 . The memory system of claim 1 , wherein the skewed first read count value is greater than the first actual read count value. 4 . The memory system of claim 1 , wherein the skewed first read count value is smaller than the first actual read count value.
5. The memory system of claim 1, wherein the first scan event comprises a read disturb scan configured to determine a threshold voltage distribution of the first group of memory cells.
6. The memory system of claim 1, wherein the first folding event comprises writing data from the first group of memory cells to another group of memory cells of the memory device.
7. The memory system of claim 1 , wherein the first group and the second group of memory cells are configured to store information with a same bit capacity of each memory cell, wherein the same bit capacity of each memory cell of the first group and the second group of memory cells is selectable one of a plurality of levels, and wherein the first group of memory cells comprises a block of memory cells.
8. A method of operating a memory device, the method comprising: skew, by a processing device, a first read count value of a first group of memory cells of a memory device from a first actual read count value of the first group of memory cells; triggering, by the processing device, at least one of a first scan event or a first folding event of the first group of memory cells based on the skewed first read count value and an event threshold; as well as At least one of a second scan event or a second folding event of a second group of memory cells of the memory device is triggered by the processing device based on a second read count value and the event threshold, wherein the second read count value includes a second actual read count value of the second group of memory cells.
9. The method of claim 8, wherein triggering at least one of the first scan event or the first folding event based on the skewed first read count value and the event threshold comprises: At least one of the first scan event or the first folding event is triggered a time period after the skewed first read count value is less than a target read count threshold. 10 . The method of claim 8 , wherein the skewed first read count value is greater than the first actual read count value. The method of claim 8 , wherein the skewed first read count value is smaller than the first actual read count value.
12. The method of claim 8, wherein the first scan event comprises a read disturb scan configured to determine a threshold voltage distribution of the first group of memory cells.
13. The method of claim 8, wherein the first folding event comprises writing data from the first group of memory cells to another group of memory cells of the memory device.
14. The method of claim 8, wherein the first group and the second group of memory cells are configured to store information with a same bit capacity of each memory cell, wherein the same bit capacity of each memory cell of the first group and the second group of memory cells is selectable one of a plurality of levels, and wherein the first group of memory cells comprises a block of memory cells.
15. At least one non-volatile machine-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising: skew a first read count value for a first group of memory cells of a memory device from a first actual read count value for the first group of memory cells; triggering at least one of a first scan event or a first folding event of the first group of memory cells based on the skewed first read count value and an event threshold; as well as At least one of a second scan event or a second fold event of a second group of memory cells of the memory device is triggered based on a second read count value and an event threshold, the second read count value comprising a second actual read count value of the second group of memory cells.
16. The at least one non-volatile machine-readable storage medium of claim 15, wherein triggering at least one of the first scan event or the first fold event based on the skewed first read count value and the event threshold comprises: At least one of the first scan event or the first folding event is triggered a time period after the skewed first read count value is less than a target read count threshold.
17. The at least one non-volatile machine-readable storage medium of claim 15, wherein the skewed first read count value is greater than the first actual read count value.
18. The at least one non-volatile machine-readable storage medium of claim 15, wherein the skewed first read count value is less than the first actual read count value.
19. The at least one non-volatile machine-readable storage medium of claim 15, wherein the first scan event comprises a read disturb scan configured to determine a threshold voltage distribution of the first group of memory cells.
20. The at least one non-volatile machine-readable storage medium of claim 15, wherein the first folding event comprises writing data from the first group of memory cells to another group of memory cells of the memory device.
Citation Information
Patent Citations
Adjusted scan event thresholds
US20200097211A1
Non-volatile storage device and control method thereof
CN101645309A
Controller and method for providing read status and spare block management information in flash memory system
CN102473126A
Storage system
CN103858110A
Memory management method, memory storage device and memory controlling circuit unit
CN106155576A
