A method for processing NAND Flash read disturbance in SSD

By recording the number of reads of NAND Flash blocks in the DDR of SSD and processing read interference according to the threshold and probability, the problem of the impact of read interference on data is solved, and the smooth operation of SSD performance is achieved.

CN111797033BActive Publication Date: 2024-11-19SHANDONG SINOCHIP SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010578849.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-23
Publication Date
2024-11-19
Estimated Expiration
2040-06-23

AI Technical Summary

Technical Problem

The read interference phenomenon of NAND Flash has affected data storage, and traditional processing methods seriously affect SSD performance within a certain period of time.

Method used

Record the number of reads of each block in the DDR of the SSD, and update the value when reading the page. Check the number of reads according to the set threshold and probability. If the threshold is reached, copy the data and modify the mapping table, and write the data to the new address , move the remaining data at the maximum value.

Benefits of technology

By smoothly processing read interference, the impact on the data is eliminated, and the SSD performance is maintained, avoiding large-scale performance fluctuations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111797033B_ABST
    Figure CN111797033B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for processing NAND Flash read disturbance in an SSD. The method opens up a part of space in the DDR of the SSD to store the number of reads of each block. When the SSD reads a certain page of the NAND Flash, the value in the corresponding DDR address is increased by 1. When the current page read operation ends, the number of reads of the current block is checked with a certain probability. If the number of reads reaches a set threshold, the read data is copied from the Read Buffer to the Write Buffer, and the mapping table is modified. Finally, the data is written to a new address of the NAND Flash. If the number of reads reaches the maximum value that needs to be processed, all the remaining valid data in the block is moved away. The method performs smooth processing on the data moving operation to avoid triggering the whole block data moving at a certain moment, which can not only eliminate the influence of read disturbance on the data, but also ensure that the overall performance of the SSD will not produce large fluctuations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of NAND Flash reading, and in particular to a method for processing NAND Flash read disturbance in a SSD. Background Art

[0002] NAND Flash reads and writes in pages. When reading a page, a Vpass voltage needs to be added to the control gate of other pages in the current block, which will cause a potential difference between the control gate and the source, resulting in a weak program effect, which will eventually affect the data stored in the NAND. This phenomenon or characteristic is usually called Read Disturb, or RDD for short.

[0003] The conventional way to process RDD is to move the data stored in the current block to a new block when the current block has been read a certain number of times. However, this solution will seriously affect the performance of the SSD for a period of time. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method for processing NAND Flash read disturbance in SSD, which can smooth the data migration operation and avoid triggering the entire block data migration at a certain moment, thereby eliminating the influence of read disturbance on data and ensuring that the overall performance of SSD will not fluctuate greatly.

[0005] In order to solve the above problem, the technical solution adopted by the present invention is: a method for processing NAND Flash read disturbance in SSD. The method opens up a part of space in the DDR of the SSD to save the read times of each block. When the SSD reads a certain page of NAND Flash, the value in the corresponding DDR address is increased by 1. When the current page read operation is completed, the SSD increases the read disturbance by a certain probability P. check Check the read count of the current block. If the read count reaches the set threshold RDC thr When the read count reaches the maximum value RDC, the read data is copied from the Read Buffer to the Write Buffer, and the mapping table is modified, and finally the data is written to the new address of the NAND Flash. max , then all remaining valid data in the block will be moved away.

[0006] Furthermore, , RDC thr =920K.

[0007] Furthermore, P is confirmed by the following formula check 、RDCthr :

[0008] , FCB is the number of DataFrames contained in each block in Flash, is a constant with a value range of (0,99%).

[0009] Furthermore, The value range is (90%, 99%).

[0010] Beneficial effects of the present invention: The present invention fully considers the possible impact of read disturbance processing on performance on the traditional read disturbance processing method, and smoothly processes the NAND Flash read disturbance in a rewriting manner, which can not only eliminate the impact of read disturbance on data, but also ensure that the overall performance of the SSD will not fluctuate greatly. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is a flow chart of Example 1. DETAILED DESCRIPTION

[0012] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0013] Example 1

[0014] This embodiment discloses a method for processing NAND Flash read disturbance in an SSD. This method allocates a portion of space in the DDR built into the SSD to store the number of reads of each block. When the SSD reads a certain page of NAND Flash, it adds 1 to the value in the corresponding DDR address. When the current page read operation is completed, the SSD adds 1 to the value in the DDR address. check Check the read count of the current block. If the read count reaches the set threshold RDC thr When the read data is copied from Read Buffer to Write Buffer, the mapping table is modified, and finally the data is written to the new address of NAND Flash. If the number of reads reaches the maximum value RDC that needs to be processed max , then all remaining valid data in the block will be moved away.

[0015] like Figure 1 As shown, the specific implementation steps of this method are:

[0016] When the Host sends a read command to the SSD, the SSD parses the command and converts the LBA into a PhysicalFlash Adress according to the mapping table.

[0017] Step 1: The SSD reads the NAND Flash according to the parsed command and address, and updates the RDC of the corresponding Block in DDR according to the read Page, and the RDC increases by 1. Then proceed to step 2.

[0018] Step 2: When the Page reading is finished, according to the preset probability value P check , with P check The probability of obtaining the RDC of the corresponding Block in DDR is obtained, and then step 3 is executed.

[0019] Step 3: If the obtained RDC is greater than RDC max Then execute step 4. If the obtained RDC is less than RDC max Then execute step five.

[0020] Step 4: Find a new Block, move all valid data in the current Block to the new Block, and then end the whole process.

[0021] Step 5: If the obtained RDC is greater than or equal to RDC thr Then execute step 6. If RDC is less than RDC thr The whole process ends.

[0022] Step 6: Copy the currently read data from the Read Buffer to the Write Buffer, and the data will eventually be saved to a new location in the NAND Flash.

[0023] In this embodiment, P is obtained by successive tests according to actual conditions. check and RDC thr ,in , RDC thr =920K, thus finding a balance between RDD processing and SSD performance.

[0024] In other embodiments, P is determined by the following formula: check 、RDC thr :

[0025] , FCB is the number of DataFrames contained in each block in Flash, is a constant with a value range of (0,99%). Further, The value range is (90%, 99%). This formula is used to determine a balance point between RDD processing and SSD performance, which can not only eliminate the impact of read disturbance on data, but also ensure that the overall performance of the SSD will not fluctuate greatly.

[0026] This embodiment fully considers the impact that read disturb processing may have on performance in the traditional read disturb processing method, and processes NAND Flash read disturb smoothly in a rewriting manner, which can not only eliminate the impact of read disturb on data, but also ensure that the overall performance of the SSD will not fluctuate greatly.

[0027] The above description is only the basic principle and preferred embodiments of the present invention. Improvements and substitutions made by those skilled in the art based on the present invention belong to the protection scope of the present invention.

Claims

1. A method for processing NAND Flash read disturbance in an SSD, characterized by: This method allocates a part of space in the DDR of the SSD to save the read count of each block. When the SSD reads a page of NAND Flash, it adds 1 to the value in the corresponding DDR address. When the current page read operation ends, the read count of the current block is checked with a certain probability Pcheck. If the read count reaches the set threshold RDCthr, the read data is copied from the Read Buffer to the Write Buffer, and the mapping table is modified. Finally, the data is written to the new address of the NAND Flash. If the read count reaches the maximum value RDCmax that needs to be processed, all the remaining valid data in the block are moved away. Pcheck and RDCthr are confirmed by the following formula: , FCB is the number of Data Frames contained in each block in Flash, is a constant with a value range of (0,99%).

2. The method for processing NAND Flash read disturbance in an SSD according to claim 1, characterized in that: ,RDCthr=920K。 3. The method for processing NAND Flash read disturbance in an SSD according to claim 1, characterized in that: The value range is (90%, 99%).