The present invention relates generally to a storage control system and more particularly to a system for data management.
Data storage, often called storage or memory, refers to computer components and recording media that retain digital data. Data storage is a core function and fundamental component of consumer and industrial electronics, especially devices such as computers, televisions, cellular phones, mobile devices, and digital video cameras.
An information system is generally equipped with a data storage system using a hard disk drive (HDD) as a storage device. The data storage system is accessed from a plurality of higher-level devices (for example, hosts) via a storage area network (SAN). Storage control in the data storage system can be implemented according to a RAID (Redundant Array of Independent (or Inexpensive)) technology. As a result, a highly reliable information system can be realized.
The data storage system can include a flash memory that is installed instead of or in addition to an HDD and data that will be read out or written into a higher-level device are stored in the flash memory. It can be anticipated that the data storage system having the same storage capacity as a storage system based on HDD will be realized by providing a large number of flash memories. As the capacity and a number of the flash memories increase, data stored in the flash memories must be properly managed to order to improve reliability of the data storage system.
Thus, a need still remains for better data management. In view of the increasing demand for improved data management, it is increasingly critical that answers be found to these problems. In view of the ever-increasing commercial competitive pressures, along with growing consumer expectations and the diminishing opportunities for meaningful product differentiation in the marketplace, it is critical that answers be found for these problems. Additionally, the need to reduce costs, improve efficiencies and performance, and meet competitive pressures adds an even greater urgency to the critical necessity for finding answers to these problems.
Solutions to these problems have been long sought but prior developments have not taught or suggested any solutions and, thus, solutions to these problems have long eluded those skilled in the art.
The present invention provides a method of operation of a storage control system, including: generating encoded data having a proportional data distribution for writing to a memory device; identifying a marginal block when an erase block is read from the memory device; and generating a marginal tag for the marginal block, the marginal tag having a non-proportional data distribution different from the proportional data distribution.
The present invention provides a storage control system, including: a data generation module for generating encoded data having a proportional data distribution for writing to a memory device; a block identification module for identifying a marginal block when an erase block is read from the memory device; and a tag generation module for generating a marginal tag for the marginal block, the marginal tag having a non-proportional data distribution different from the proportional data distribution.
Certain embodiments of the invention have other steps or elements in addition to or in place of those mentioned above. The steps or elements will become apparent to those skilled in the art from a reading of the following detailed description when taken with reference to the accompanying drawings.
The following embodiments are described in sufficient detail to enable those skilled in the art to make and use the invention. It is to be understood that other embodiments would be evident based on the present disclosure, and that system, process, or mechanical changes may be made without departing from the scope of the present invention.
In the following description, numerous specific details are given to provide a thorough understanding of the invention. However, it will be apparent that the invention may be practiced without these specific details. In order to avoid obscuring the present invention, some well-known circuits, system configurations, and process steps are not disclosed in detail.
The term “module” referred to herein can include software, hardware, or a combination thereof in the present invention in accordance with the context in which the term is used. For example, the software can be machine code, firmware, embedded code, and application software. Also for example, the hardware can be circuitry, processor, computer, integrated circuit, integrated circuit cores, a microelectromechanical system (MEMS), passive devices, environmental sensors including temperature sensors, or a combination thereof.
Referring now to
The memory controller 104 provides data control and management of the memory array 106. The memory controller 104 interfaces with the host system 108 and controls the memory array 106 to transfer data between the host system 108 and the memory array 106.
The memory array 106 can include an array of memory devices 110. The memory array 106 can include pages of data or information. The host system 108 can request the memory controller 104 for reading, writing, and deleting data from or to a logical address space of a storage device including the memory array 106. For example, the memory devices 110 can represent a non-volatile memory including a flash memory device or a reprogrammable storage device. As a specific example, the memory devices 110 can represent a non-volatile memory including a NAND type device, a flash memory, and a multi-level cell (MLC) memory.
Referring now to
The control unit 202 can be implemented in a number of different manners. For example, the control unit 202 can be a processor, an embedded processor, a microprocessor, a hardware control logic, a hardware finite state machine (FSM), a digital signal processor (DSP), or a combination thereof.
The control interface 210 can be used for communication between the control unit 202 and other functional units in the memory controller 104. The control interface 210 can also be used for communication that is external to the memory controller 104.
The control interface 210 can receive information from the other functional units or from external sources, or can transmit information to the other functional units or to external destinations. The external sources and the external destinations refer to sources and destinations external to the memory controller 104.
The control interface 210 can be implemented in different ways and can include different implementations depending on which functional units or external units are being interfaced with the control interface 210. For example, the control interface 210 can be implemented with dedicated hardware including an application-specific integrated circuit (ASIC), configurable hardware including a Field programmable Gate Array (FPGA), a discrete electronic hardware, or a combination thereof.
The storage unit 204 can include hardware for storing the software 212 including control firmware. The storage unit 204 can include a volatile memory, a nonvolatile memory, an internal memory, an external memory, or a combination thereof. For example, the storage unit 204 can be a nonvolatile storage such as non-volatile random access memory (NVRAM), Flash memory, disk storage, or a volatile storage such as static random access memory (SRAM).
The storage unit 204 can include a storage interface 214. The storage interface 214 can also be used for communication that is external to the memory controller 104. The storage interface 214 can receive information from the other functional units or from external sources, or can transmit information to the other functional units or to external destinations. The external sources and the external destinations refer to sources and destinations external to the memory controller 104.
The storage interface 214 can include different implementations depending on which functional units or external units are being interfaced with the storage unit 204. The storage interface 214 can be implemented with technologies and techniques similar to the implementation of the control interface 210.
The memory interface unit 206 can enable external communication to and from the memory controller 104. For example, the memory interface unit 206 can permit the memory controller 104 to communicate with the memory array 106 of
The memory interface unit 206 can include a memory interface 216. The memory interface 216 can be used for communication between the memory interface unit 206 and other functional units in the memory controller 104. The memory interface 216 can receive information from the other functional units or can transmit information to the other functional units.
The memory interface 216 can include different implementations depending on which functional units are being interfaced with the memory interface unit 206. The memory interface 216 can be implemented with technologies and techniques similar to the implementation of the control interface 210.
The host interface unit 208 allows the host system 108 of
The control unit 202 can operate the host interface unit 208 to send control or status information generated by the memory controller 104 to the host system 108. The control unit 202 can also execute the software 212 for the other functions of the memory controller 104. The control unit 202 can further execute the software 212 for interaction with the memory array 106 via the memory interface unit 206.
The functional units in the memory controller 104 can work individually and independently of the other functional units. For illustrative purposes, the memory controller 104 is described by operation of the memory controller 104 with the host system 108 and the memory array 106. It is understood that the memory controller 104, the host system 108, and the memory array 106 can operate any of the modules and functions of the memory controller 104.
Referring now to
Reliability of a solid-state disk (SSD) can degrade as the memory devices 110 in the SSD are used. During normal operations, erase blocks 312 can become marginal or not usable for a number of reasons due to failure conditions. For example, the failure conditions can include an oxide layer does not hold charge in multiple cells, an uncorrectable ECC error, and an excessive bit dropout due to read disturbs. For example, the failure conditions can be determined based on age, bit error rate (BER), write cycle counts, program/erase (P/E) cycles, time to program the memory devices 110, or time to erase the erase blocks 312.
The memory sub-system 102 of
The memory devices 110 can be operated with steps to allow them to have correct endurance and retention properties. One of the steps can include generating data to be stored in the memory devices 110 are uncorrelated from page to page within an erase block. The term “uncorrelated” refers to data that are randomized and not related to each other.
The uncorrelated data can be generated by performing a scrambling process or an encryption process on incoming data from the host system 108 of
The memory controller 104 can include a data generation module 302 to generate encoded data 304. The encoded data 304 are defined as data generated by scrambling or encrypting host data 306 sent from the host system 108. The term “scrambling” or “encrypting” refers to an operation or a technique of manipulating original data to generate random data, which include approximately equal distribution of binary-zero digits and binary-one digits.
The binary-zero digits and the binary-one digits refer to binary values ‘0’ and ‘1’, respectively. The distribution of the binary-one digits (1's) to the binary-zero digits (0's) in the encoded data 304 in each of data pages 310 can be based on a percentage with a predetermined tolerance. The closer a ratio of the binary-one digits (1's) or the binary-zero digits (0's) to a sum of the binary-one digits and the binary-zero digits is to 50%, the more evenly the memory devices 110 would age. For example, the predetermined tolerance can include +/−1% of 1's and +/−1% of 0's. As a specific example, the encoded data 304 in each of the data pages 310 can include the distribution with a ratio of the binary-one digits (1's) or the binary-zero digits (0's) to a sum of the binary-one digits and the binary-zero digits in an approximate range of 49% to 51%.
The encoded data 304 can be presented using a binary numeral system, which is a base-2 number system that represents numerical values using two symbols: 0 and 1. The term “symbols” refers to a number of bits of information or data. For example, the symbols can represent binary values 0 and 1 in a binary (base 2) numeral system or hexadecimal values from “00” to “FF” in a hexadecimal (base 16) numeral system.
The encoded data 304 can include a proportional data distribution 308, which is defined as a pattern with an approximately equal distribution of the symbols. For example, the encoded data 304 can include approximately fifty percents (50%) of the binary-zero digits and approximately fifty percents (50%) of the binary-one digits. The term “approximately equal distribution” refers to a distribution that is within a range of 50% plus/minus a percentage indicated by the predetermined tolerance mentioned above.
The encoded data 304 can be written to a number of the data pages 310 in one of the erase blocks 312 in the memory devices 110. Each of the data pages 310 is defined as a portion of one of the erase blocks 312 that is used to store the encoded data 304. Each of the data pages 310 can include a fixed number of bytes depending on a type of the memory devices 110. Each of the data pages 310 can represent a portion of one of the erase blocks 312 that the memory controller 104 accesses for reading and programming memory cells. For example, the data pages 310 can represent NAND pages.
Each of the erase blocks 312 is defined as a portion of one of the memory devices 110 that the memory controller 104 accesses for erasing memory cells. Each of the erase blocks 312 can include a predetermined size in number of bytes depending on a type of the memory devices 110. The erase blocks 312 can be erased before the data pages 310 are stored or written. The erase blocks 312 can represent storage blocks including a NAND block or any other memory block.
The encoded data 304 stored in the data pages 310 can include a data binary-zero distribution 314 and a data binary-one distribution 316. The data binary-zero distribution 314 is defined as a number of the binary-zero digits. The data binary-one distribution 316 is defined as a number of the binary-one digits. The data binary-zero distribution 314 and the data binary-one distribution 316 represent a total number of the binary-zero digits and the binary-one digits in each of the data pages 310. The data binary-zero distribution 314 can be approximately equal to the data binary-one distribution 316.
Each of the data binary-zero distribution 314 and the data binary-one distribution 316 can be approximately fifty percents (50%). In other words, the data binary-zero distribution 314 and the data binary-one distribution 316 can be 50%+/−a percentage indicated by the predetermined tolerance.
For example, there can be a number of main reasons for scrambling or randomization of the host data 306 to generate and write the encoded data 304 to the memory devices 110. A first reason can be related to even flash wear. Randomization of the host data 306 can cause endurance of all of the erase blocks 312 in the memory devices 110 to be more consistent with respect to a number of program/erase (P/E) cycles. Large groups of the host data 306 or pages that are written and biased to bit values of all 0's can shorten endurance of the erase blocks 312 with respect to pages that are written and biased to bit values of all 1's.
A second reason can be related to bit line program disturbs. Groups of pages within one of the erase blocks 312 with the same data repeated from one page to the next page can cause bit line disturbs in pages that have been previously written. This can manifest itself as a high bit error rate (BER) on the first read after write operations. Additional reads can cause additional bit errors including bit flips in the pages throughout the erase blocks 312.
A third reason can be related to user data encryption. Encryption of the host data 306 to generate the encoded data 304 can be performed for end user data. Encryption processes including Advanced Encryption Standard (AES) encryption or any other encryption process can produce high entropy data. In a statistically weighted tagging approach, an encrypted page can be identified by its high entropy characteristic, allowing tagged blocks to be differentiated from normal data blocks.
The data generation module 302 can be implemented with the control unit 202 of
The memory controller 104 can include a block identification module 318 to determine the erase blocks 312 that are marginal or not usable. Once the erase blocks 312 are unusable, the erase blocks 312 can be cataloged or marked in such a way that the erase blocks 312 can be identified. Identifying the erase blocks 312 that are bad or marginal can be performed so that the erase blocks 312 are not used in normal operations. Like factory defect marked blocks, the erase blocks 312 that are marginal can be identifiable via a scan process. This is in case an alternate method for cataloging the erase blocks 312 that are marginal fails.
When the block identification module 318 in the memory sub-system 102 has determined that a marginal instance of the erase blocks 312 is not be used again, the marginal instance can be placed or stored into a persistence list, which identifies which instances of the erase blocks 312 are bad, marginal, or unusable. For example, the persistence list can represent a non-use list.
The persistence list can be stored in a predetermined portion of the memory devices 110. The predetermined portion can be in one of the erase blocks 312. The persistence list can also be stored in a secondary storage device including an on-board memory, such as a Serial Peripheral Interface (SPI) device, a NOR flash device, or an external memory. If the secondary storage device fails, the scan process can be used to find and identify the instances of the erase blocks 312 that are bad or marginal.
Database or information associated with the erase blocks 312 that are marginal can be held or stored in the predetermined portion of the memory devices 110. The database or the information can also be held or stored in the secondary storage device. Since the erase blocks 312 can be identified as marginal during run-time operations, a list of the erase blocks 312 would not be found in an off-drive database, which can usually be generated at manufacturing time.
When one of the erase blocks 312 has been determined to be put or stored into the persistence list, it can be tagged so that it can be identified by the scan process including a software scanning technique. Normal in-use pages either can be in an erased state or can include an amount of data that has been written with a valid error correction code (ECC). With the scrambling process performed on the normal in-use pages, the normal in-use pages can be identifiable.
If valid pages in the erase blocks 312 have lost ECC integrity and have become uncorrectable, the valid pages can still include a ratio of 1's or 0's to a sum of 1's and 0's that matches that of data scrambled using the data scrambling process. The valid pages that are uncorrectable can be marked as unusable or marginal. The valid pages can be tagged with a data pattern with a 1's or 0's ratio of less than 50%. For example, the data pattern can have 25% 1's and 75% 0's. There can be a number of different ways to generate and write a tagged data pattern as described in a subsequent section.
The block identification module 318 identifies marginal blocks 320 when the erase blocks 312 are read from the memory devices 110. Each of the marginal blocks 320 is defined as a portion of one of the memory devices 110 that is unusable. For example, the marginal blocks 320 can represent tagged erase blocks that are marked as unusable.
The marginal blocks 320 can be identified when a number of the data pages 310 are unreliably read from the erase blocks 312 based on a block error 322, which is defined as failure that occurs when expected data is not detected. The block error 322 can be detected by the block identification module 318 based on a number of the failure conditions.
For example, the block error 322 can be detected when a voltage level or a level of charge measured is not correct based on an expected level. During a refresh cycle, the erase blocks 312 can be erased, written with all 0's, and read. If the voltage level is not correct when data is read from the data pages 310 of one of the erase blocks 312, the erase blocks 312 are determined as unreliable and thus identified as the marginal blocks 320.
The block identification module 318 can be implemented with the control unit 202, the storage unit 204, the memory interface unit 206, or a combination thereof. For example, the control unit 202, the storage unit 204, and the memory interface unit 206 can be used for identifying the marginal blocks 320.
The memory controller 104 can include a tag generation module 324 to generate a marginal tag 326 for a number of the marginal blocks 320. The marginal tag 326 can be stored in a number of the data pages 310 in the marginal blocks 320. The marginal tag 326 is defined as information that is used to identify if the data pages 310 are unusable such that the data pages 310 cannot be reliably used for storing the encoded data 304. For example, the marginal tag 326 can represent tag data that indicate if the data pages 310 unusable.
The marginal tag 326 can be generated with a non-proportional data distribution 328 different from the proportional data distribution 308. The non-proportional data distribution 328 is defined as a pattern with an unequal distribution of the binary-zero digits and the binary-one digits. The marginal tag 326 can include less than or greater than, but not equal to, 50% of the binary-zero digits or the binary-one digits. The term “unequal distribution” refers to a distribution that is outside a range of 50% plus/minus a percentage indicated by the predetermined tolerance mentioned above.
The marginal tag 326 can include a tag binary-zero distribution 330 and a tag binary-one distribution 332. The tag binary-zero distribution 330 is defined as a number of the binary-zero digits. The tag binary-one distribution 332 is defined as a number of the binary-one digits. The tag binary-zero distribution 330 and the tag binary-one distribution 332 represent a total number of the binary-zero digits and the binary-one digits in each of the marginal tag 326.
The tag binary-zero distribution 330 can be different from the tag binary-one distribution 332, the data binary-zero distribution 314, and the data binary-one distribution 316. The tag binary-one distribution 332 can be different from the tag binary-zero distribution 330, the data binary-zero distribution 314, and the data binary-one distribution 316. A ratio of the tag binary-one distribution 332 or the tag binary-zero distribution 330 to a sum of the tag binary-one distribution 332 and the tag binary-zero distribution 330 can be any percentage that is not 50%.
For example, the tag binary-zero distribution 330 can include less than 50% of the binary-zero digits and the tag binary-one distribution 332 can include greater than 50% of the binary-one digits. Also for example, a ratio of the tag binary-one distribution 332 or the tag binary-zero distribution 330 to a sum of the tag binary-one distribution 332 and the tag binary-zero distribution 330 can be in an approximate range of greater than 25% and less than 50% or in an approximate range of greater than 50% and less than 75%.
The tag generation module 324 can be implemented with the control unit 202, the storage unit 204, the memory interface unit 206, or a combination thereof. For example, the control unit 202, the storage unit 204, and the memory interface unit 206 can be used for generating the marginal tag 326.
The memory controller 104 can include a code generation module 334 to generate a tag correction code 336, which is defined as redundancy information used to detect or correct a number of symbols. The tag correction code 336 can represent an error correction code (ECC).
The tag correction code 336 can be generated to detect or correct a memory read error when the marginal tag 326 is read from one of the marginal blocks 320. The tag correction code 336 can be generated with a tag correction rate 338 of at least fifty percents. The tag correction rate 338 is defined as a number of the symbols that are correctable over a total number of the symbols of data protected by an error correction code.
At the point where the erase blocks 312 are moved to the persistence list, the erase blocks 312 most likely would be unable to retain correctable data via an error correction code (ECC) method. If the erase blocks 312 have enough endurance left to use an ECC correction factor, the tag correction code 336 for the marginal tag 326 can include an increase in order of magnitude larger than runtime data. The tag correction code 336 can be able to correct every bit in a code word of the marginal tag 326.
The runtime data can have a restriction on how many bytes in a given page that can be used for ECC due to the economics of capacity versus ECC strength. For example, normal data pages can have approximately 5%-10% capacity for ECC. Also for example, ECC methods can include a type of ECC including symbol-based, bit-based, interleaved Reed-Solomon (RS) codes, and Bose-Chaudhuri-Hocquenghem (BHC) codes.
As an example, there can be a correction level of approximately 100 symbols correctable out of 2000 symbols stored because the memory devices 110 can have pages with extra storage erase blocks. For example, the extra storage erase blocks can include 640 bytes for an 8K-byte page with 8192 bytes. This allows a normal operation and use of the memory devices 110 tolerate a bit error rate (BER) that yields an endurance and retention level per capacity that is cost effective. When tagging the marginal blocks 320, there can be no useful user or internal metadata information and therefore no restriction on the efficiency of storage.
The marginal blocks 320 that are tagged can use the tag correction code 336 that allows the tag correction rate 338 of at least 50% based on the type of ECC used. The tag correction rate 338 of at least 50% correction factor can allow at least 1000 symbols of correction out of 2000 symbols. The erase blocks 312 with extremely high BER can be tagged as the marginal blocks 320, which can be recognized and identified far past what would be used for normal host and metadata.
The code generation module 334 can be implemented with the control unit 202, the storage unit 204, the memory interface unit 206, or a combination thereof. For example, the control unit 202, the storage unit 204, and the memory interface unit 206 can be used for generating the tag correction code 336.
The memory controller 104 can include a tag-writing module 340 to write the marginal tag 326 and the tag correction code 336 to a number of tag pages 342. The tag pages 342 are defined as portions in the marginal blocks 320 that are marked as unusable with the marginal tag 326. The tag-writing module 340 can write the marginal tag 326 to the tag pages 342 to mark the tag pages 342 as unusable. The tag pages 342 can be determined as unusable when the marginal tag 326 is read from the tag pages 342. The tag-writing module 340 can write the tag correction code 336 to the tag pages 342 so that the memory read error in the marginal tag 326 could be detected or corrected when the marginal tag 326 is read from the tag pages 342.
As the marginal blocks 320 age, there can be bit flips in the marginal tag 326. However, a weighted ratio of the binary-one digits (1's) or the binary-zero digits (0's) in the marginal tag 326 when the marginal blocks 320 are read can remain relatively the same. In other words, the weighted ratio can remain relatively the same as a ratio of the binary-one digits or the binary-zero digits to a sum of the binary-one digits and the binary-zero digits based on the non-proportional data distribution 328 determined at the time when the marginal tag 326 is first generated and stored with the tag pages 342. The weighted ratio can be outside of an approximate range of 50%+/−the predetermined tolerance. Bit flipping refers to a binary digit ‘0’ or a binary digit “1” unintentionally reversed to 1 or 0, respectively. For example, bit flipping can be a result of drifting effects, program-disturb errors, or read-disturb errors.
The marginal tag 326 can be written to the tag pages 342 in the marginal blocks 320. Locations of the tag pages 342 can be predetermined in the marginal blocks 320. The tag pages 342 can be written to a number of first pages 344. The first pages 344 are defined as portions of the marginal blocks 320 that are at the beginning of the marginal blocks 320 based on physical addresses of the memory devices 110.
The tag pages 342 can include at least 50% capacity of storage space for the tag correction code 336. For example, the tag pages 342 can include approximately 50% capacity for the marginal tag 326 and approximately 50% capacity for the tag correction code 336.
The tag pages 342 can be written to fast pages 346 in the marginal blocks 320 of the memory devices 110. The fast pages 346 are defined as portions of the marginal blocks 320 that have less time to program compared to slow pages 348. The fast pages 346 can function similarly to single-level cell (SLC) mode pages.
The term “fast” and “slow” refer to a fast bit and a slow bit, respectively, of a memory cell in the memory devices 110. A number of the fast bit and a number of the slow bit make up the fast pages 346 and the slow pages 348, respectively. The fast bit and the slow bit provide four possible states for the memory cell with each state determined by a threshold voltage that represents an amount of the charges stored inside a floating gate of the memory devices 110.
The fast pages 346 can be programmed in a time that is at least four times less than that of the slow pages 348. Thus, the fast pages 346 can be programmed with less power than that for the slow pages 348. For example, the fast pages 346 and the slow pages 348 can represent least-significant bit (LSB) pages and most-significant bit (MSB) pages, respectively, in the MLC flash memories. Also for example, by taking advantage of characteristics of MLC NAND devices, there can be an increase in a number of the tag pages 342 since the MLC NAND devices have larger block sizes for the erase blocks 312 and thus more pages to write compare to SLC NAND devices.
Even after a retention period, the marginal tag 326 in the tag pages 342 of the marginal blocks 320 can be distinctly different from a normal valid data page, an erased page, or a factory defect marked page. Additional steps can be used to increase data retention of the erase blocks 312 that are marked as the marginal blocks 320.
The tag pages 342 of the marginal blocks 320 that cannot be reliably read or determined as tagged pages can be determined as completely failed pages. In this case, the tag pages 342 can include all 0's or all 1's digits as background data values.
In the memory devices 110 with an MLC structure, a set of pages within one of the marginal blocks 320 can be used as those with an SLC structure by not using sibling pages, which share the same memory cell as the set of the pages. The set of the pages and the sibling pages can represent the fast pages 346 and the slow pages 348, respectively. The set of the pages can also represent primary or least significant bit (LSB) pages that can be used to store the marginal tag 326 as tagging information resulting in increased retention if the sibling pages are not written.
Another method or technique can include changing programming characteristics of the tag pages 342. The programming characteristics can be changed via test modes. The programming characteristics can be changed so that the tag pages 342 can have high retention properties. The method of changing the programming characteristics coupled together with the use of only the fast pages 346 can be used only for tagging the erase blocks 312 as the marginal blocks 320. The marginal blocks 320 can be tagged with this technique to extend the useful life of the marginal blocks 320 by sacrificing or reducing half (½) of the capacity of the marginal blocks 320.
The memory controller 104 can include a tag correction module 350 to detect or correct a tag correctable error 352, which is defined as the memory read error that occurs when a number of the symbols are incorrect. The tag correctable error 352 in the marginal blocks 320 can be detected and corrected with the tag correction code 336 when the tag pages 342 are read from the marginal blocks 320.
The tag correction module 350 can be implemented with the control unit 202, the storage unit 204, the memory interface unit 206, or a combination thereof. For example, the control unit 202, the storage unit 204, and the memory interface unit 206 can be used for correcting the tag correctable error 352 in the marginal blocks 320.
The memory controller 104 can include a tag detection module 354 to generate a read tag 356. The read tag 356 is defined as a numerical value that is used to determine whether the tag pages 342 are unusable when the tag pages 342 are read. The read tag 356 can be generated based on the marginal tag 326, the tag correction code 336, or a combination thereof.
The read tag 356 can include a read binary-zero distribution 358 and a read binary-one distribution 360. The read binary-zero distribution 358 is defined as a number of the binary-zero digits. The read binary-one distribution 360 is defined as a number of the binary-one digits. The read binary-zero distribution 358 and the read binary-one distribution 360 represent a total number of the binary-zero digits and the binary-one digits associated with each of the tag pages 342.
The read tag 356 can be generated based on the marginal tag 326. The read tag 356 can be assigned with a numerical value read from one of the tag pages 342. As an example, the tag detection module 354 can determine that the one of the tag pages 342 is unusable when the read tag 356 includes a ratio of the read binary-one distribution 360 or the read binary-zero distribution 358 to a sum of the read binary-one distribution 360 and the read binary-zero distribution 358 not equal to approximately 50%. As a specific example, the ratio is less than 50% minus the predetermined tolerance or greater than 50% plus the predetermined tolerance. As such, the ratio indicates that the one of the tag pages 342 is unusable and is different from the data pages 310 that have valid data.
Detection of the marginal blocks 320 that are tagged as unusable can optionally not rely on an actual numerical value of the marginal tag 326 read from the tag pages 342. The detection can also optionally not rely on an error correction code (ECC) correctable value with the tag correction code 336 when the tag pages 342 are read from the marginal blocks 320. Instead, the detection can be based on a statistical distribution of the read binary-one distribution 360 to the read binary-zero distribution 358 to determine a difference between the marginal blocks 320 that are tagged as unusable and the data pages 310 that have valid data but have become uncorrectable due to varying wear or failure problems.
Detection of the marginal blocks 320 can optionally not rely on the actual numerical value of the marginal tag 326. This is because the marginal tag 326 in the tag pages 342 can vary over time and thus does not retain a numerical value of the marginal tag 326 determined when the marginal tag 326 is initially generated and written to the tag pages 342. However, the memory controller 104 can include data retention capability that retains the marginal tag 326 having the non-proportional data distribution 328. As such, the read tag 356 can include the non-proportional data distribution 328.
For example, the read tag 356 can retain the non-proportional data distribution 328 at a gross or overall level in an approximate range of 25% to 75%, but not 50%, for a ratio of the binary-one digits (1's) or the binary-zero digits (0's) to a sum of the binary-one digits and the binary-zero digits. Also for example, when the data pages 310, the tag pages 342, or a combination thereof completely fail, numerical values in the data pages 310, the tag pages 342, or a combination thereof can include entirely the binary-zero digits (0's) or entirely the binary-one digits (1's). These numerical values can represent background data value.
Detection of the marginal blocks 320 can optionally be based on the marginal tag 326 and the tag correction code 336 when the tag pages 342 are read from the marginal blocks 320. After the tag correction module 350 detects the tag correctable error 352, the tag detection module 354 can assign the read tag 356 to the marginal tag 326 that has been corrected with the tag correction code 336.
The read tag 356 can indicate that the tag pages 342 are unusable based on a ratio of the read binary-one distribution 360 to the read binary-zero distribution 358. When the ratio is approximately the same as a ratio of the tag binary-one distribution 332 to the tag binary-zero distribution 330 determined when the marginal tag 326 is initially generated and written to the tag pages 342, the tag pages 342 are determined as unusable. Even though these ratios are the same, the read binary-zero distribution 358 and the read binary-one distribution 360 can be different from the tag binary-zero distribution 330 and the tag binary-one distribution 332, respectively, since the marginal tag 326 can vary over time.
The tag detection module 354 can be implemented with the control unit 202, the storage unit 204, the memory interface unit 206, or a combination thereof. For example, the control unit 202, the storage unit 204, and the memory interface unit 206 can be used to generate the read tag 356 and compare a ratio of the read binary-one distribution 360 to the read binary-zero distribution 358 to a ratio of the tag binary-one distribution 332 to the tag binary-zero distribution 330.
The modules described above can be implemented in hardware as a hardware accelerator within the control unit 202 or as a hardware implementation in the storage control system 100 of
It has been discovered that the encoded data 304 having the proportional data distribution 308 provides improved maintenance capability of the storage control system 100 since the encoded data 304 includes approximately 50% of the binary-zero digits and approximately 50% of the binary-one digits thereby allowing the marginal blocks 320 to be identifiable.
It has also been discovered that the marginal blocks 320 identified based on the block error 322 provides improved reliability of the storage control system 100 since the erase blocks 312 that are degrading and thus unusable are not used to store the encoded data 304 in normal operations.
It has further been discovered that the marginal tag 326 having the non-proportional data distribution 328 different from the proportional data distribution 308 provides ease of maintenance in the storage control system 100 because the non-proportional data distribution 328 allows the marginal blocks 320 to be tagged directly and identifiable without relying on the secondary storage device.
It has further been discovered that the tag correction code 336 provides improved reliability of the storage control system 100 since the tag correction code 336 provides the tag correction rate 338 of at least fifty percents to correct the tag correctable error 352 when the tag pages 342 are read from the marginal blocks 320.
It has further been discovered that the tag pages 342 written to the first pages 344 and the fast pages 346 provide improved read reliability for the marginal tag 326 since the first pages 344 and the fast pages 346 are programmed with less time and thus less power than that for the slow pages 348. The tag pages 342 written to the first pages 344 and the fast pages 346 have high retention. The first pages 344 and the fast pages 346 function more like single-level cell (SLC) pages since their connected sibling pages, which shared the same field-effect transistor (FET) storage device, are not written and there are only two voltage levels, instead of four voltage levels, to differentiate. This will result in the tag pages 342 having tag values with greater retention capability than other tag values that are not stored in the first pages 344 and the fast pages 346.
It has further been discovered that the read tag 356 provides reliable detection of the marginal tag 326. The read tag 356 having a ratio of the read binary-one distribution 360 to the read binary-zero distribution 358 approximately the same as a ratio of the tag binary-one distribution 332 to the tag binary-zero distribution 330 allows the tag pages 342 to be reliably identified as unusable.
It has further been discovered that even though the read binary-zero distribution 358 and the read binary-one distribution 360 are different from the tag binary-zero distribution 330 and the tag binary-one distribution 332, respectively, the read tag 356 still provides reliable detection of the marginal tag 326. The reliable detection is provided because the read tag 356 includes the non-proportional data distribution 328 with a ratio of the read binary-one distribution 360 to the read binary-zero distribution 358 greater than 25% and less than 50% minus the predetermined tolerance or greater than 50% plus the predetermined tolerance and less than 75%.
Referring now to
The data pages 310 can be identifiable as a normal data page with the encoded data 304. The encoded data 304 can be associated with the host data 306 of
Referring now to
The first exemplary diagram depicts the marginal tag 326 for the data pages 310 of
The tag generation module 324 of
The contiguous binary-zero digits 504 are defined as the binary-zero digits that are grouped together having the same binary value ‘0’ in one location. The contiguous binary-one digits 506 are defined as the binary-one digits that are grouped together having the same binary value ‘1’ in another location. The contiguous binary-zero digits 504 and the contiguous binary-one digits 506 can represent 75% of the binary-zero digits and 25% of the binary-one digits, respectively.
The lump pattern 502 can include the tag binary-zero distribution 330 with the contiguous binary-zero digits 504 and the tag binary-one distribution 332 with the contiguous binary-one digits 506. The tag binary-zero distribution 330 can be different from the tag binary-one distribution 332, the data binary-zero distribution 314 of
The encoded data 304 of
The lump pattern 502 having the contiguous binary-zero digits 504 and the contiguous binary-one digits 506 can be written to the tag pages 342 by the tag-writing module 340 of
The lump pattern 502 can include the contiguous binary-zero digits 504 immediately followed by the contiguous binary-one digits 506 or the contiguous binary-one digits 506 immediately followed by the contiguous binary-zero digits 504. For example, the first exemplary diagram depicts the contiguous binary-one digits 506 with 25% of the binary-one digits immediately followed by the contiguous binary-zero digits 504 with 75% of the binary-zero digits.
It has been discovered that the tag pages 342 identified with the lump pattern 502 provides improved quality since the lump pattern 502 reliably indicates that the marginal blocks 320 are unusable. The marginal blocks 320 are reliably indicated as unusable because the lump pattern 502 includes the contiguous binary-zero digits 504 and the contiguous binary-one digits 506 that are unique and thus different from the encoded data 304.
Referring now to
The second exemplary diagram depicts the marginal tag 326 for the data pages 310 of
The tag generation module 324 of
The marginal tag 326 can be generated with the contiguous sequence 602 of a number of one of the tag identifiers 604. The marginal tag 326 can be generated with a repetition of only one of the tag identifiers 604. Each of the tag identifiers 604 can include a unique tag value such that the tag identifiers 604 are different from each other. The tag identifiers 604 can be used to indicate a reason why the erase blocks 312 are determined as the marginal blocks 320. The tag identifiers 604 can include a number of predetermined hexadecimal values to identify a number of the failure conditions.
The second exemplary diagram depicts one of the tag identifiers 604 with a hexadecimal value of “03”. For illustrative purposes, the one of the tag identifiers 604 is shown as a byte, although it is understood that each of the tag identifiers 604 can include any number of bytes.
The contiguous sequence 602 of the tag identifiers 604 can be written to the tag pages 342 by the tag-writing module 340 of
The second exemplary diagram depicts the marginal tag 326 having approximately 25% of the binary-one digits (1's) evenly distributed throughout an entirety of the tag pages 342 in the marginal blocks 320. This has an advantage over the lump pattern 502 of
The tag-writing module 340 can be implemented with the control unit 202 of
It has been discovered that the tag pages 342 identified with the contiguous sequence 602 of a number of the tag identifiers 604 provide improved quality since the tag identifiers 604 indicate not only the marginal blocks 320 are unusable but also why the erase blocks 312 are retired and marked as the marginal blocks 320.
Referring now to
The third exemplary diagram depicts the marginal tag 326 for the data pages 310 of
The tag generation module 324 of
The storage control system 100 of
Referring now to
Thus, it has been discovered that the storage control system of the present invention furnishes important and heretofore unknown and unavailable solutions, capabilities, and functional aspects for a storage control system with data management mechanism. The resulting method, process, apparatus, device, product, and/or system is straightforward, cost-effective, uncomplicated, highly versatile, accurate, sensitive, and effective, and can be implemented by adapting known components for ready, efficient, and economical manufacturing, application, and utilization.
Another important aspect of the present invention is that it valuably supports and services the historical trend of reducing costs, simplifying systems, and increasing performance.
These and other valuable aspects of the present invention consequently further the state of the technology to at least the next level.
While the invention has been described in conjunction with a specific best mode, it is to be understood that many alternatives, modifications, and variations will be apparent to those skilled in the art in light of the aforegoing description. Accordingly, it is intended to embrace all such alternatives, modifications, and variations that fall within the scope of the included claims. All matters hithertofore set forth herein or shown in the accompanying drawings are to be interpreted in an illustrative and non-limiting sense.
Number | Name | Date | Kind |
---|---|---|---|
4048481 | Bailey et al. | Sep 1977 | A |
4839587 | Flatley et al. | Jun 1989 | A |
5311395 | McGaha et al. | May 1994 | A |
5479638 | Assar et al. | Dec 1995 | A |
5930504 | Gabel | Jul 1999 | A |
5949785 | Beasley | Sep 1999 | A |
5963983 | Sakakura et al. | Oct 1999 | A |
6091652 | Haehn et al. | Jul 2000 | A |
6275436 | Tobita et al. | Aug 2001 | B1 |
6345367 | Sinclair | Feb 2002 | B1 |
6356447 | Scafidi | Mar 2002 | B2 |
6381670 | Lee et al. | Apr 2002 | B1 |
6412080 | Fleming et al. | Jun 2002 | B1 |
6529997 | Debiez et al. | Mar 2003 | B1 |
6552581 | Gabara | Apr 2003 | B1 |
6587915 | Kim | Jul 2003 | B1 |
6618249 | Fairchild | Sep 2003 | B2 |
6728913 | Parker | Apr 2004 | B1 |
6763424 | Conley | Jul 2004 | B2 |
6775792 | Ulrich et al. | Aug 2004 | B2 |
6778387 | Fairchild | Aug 2004 | B2 |
6850443 | Lofgren et al. | Feb 2005 | B2 |
6854070 | Johnson et al. | Feb 2005 | B2 |
6903972 | Lasser et al. | Jun 2005 | B2 |
6906961 | Eggleston et al. | Jun 2005 | B2 |
6975028 | Wayburn et al. | Dec 2005 | B1 |
7082495 | DeWhitt et al. | Jul 2006 | B2 |
7107389 | Inagaki et al. | Sep 2006 | B2 |
7139864 | Bennett et al. | Nov 2006 | B2 |
7233497 | Simon et al. | Jun 2007 | B2 |
7243186 | Liang et al. | Jul 2007 | B2 |
7330927 | Reeve et al. | Feb 2008 | B1 |
7333364 | Yu et al. | Feb 2008 | B2 |
7350101 | Nguyen et al. | Mar 2008 | B1 |
7355896 | Li et al. | Apr 2008 | B2 |
7434122 | Jo | Oct 2008 | B2 |
7441067 | Gorobets et al. | Oct 2008 | B2 |
7516267 | Coulson et al. | Apr 2009 | B2 |
7613871 | Tanaka et al. | Nov 2009 | B2 |
7620769 | Lee et al. | Nov 2009 | B2 |
7639532 | Roohparvar et al. | Dec 2009 | B2 |
7661054 | Huffman et al. | Feb 2010 | B2 |
7679948 | Park et al. | Mar 2010 | B2 |
7738502 | Chang et al. | Jun 2010 | B2 |
7743216 | Lubbers et al. | Jun 2010 | B2 |
7818525 | Frost et al. | Oct 2010 | B1 |
7827348 | Lee et al. | Nov 2010 | B2 |
7830164 | Earle et al. | Nov 2010 | B2 |
7979614 | Yang | Jul 2011 | B1 |
8001135 | Perlmutter et al. | Aug 2011 | B2 |
8010738 | Chilton et al. | Aug 2011 | B1 |
8028123 | Kilzer et al. | Sep 2011 | B2 |
8046645 | Hsu et al. | Oct 2011 | B2 |
8051241 | Feldman et al. | Nov 2011 | B2 |
8072805 | Chou et al. | Dec 2011 | B2 |
8095724 | Ji et al. | Jan 2012 | B2 |
8095765 | Asnaashari et al. | Jan 2012 | B2 |
8117396 | Fair et al. | Feb 2012 | B1 |
8127202 | Cornwell et al. | Feb 2012 | B2 |
8145984 | Sommer et al. | Mar 2012 | B2 |
8154921 | Mokhlesi et al. | Apr 2012 | B2 |
8169825 | Shalvi et al. | May 2012 | B1 |
8219724 | Caruso et al. | Jul 2012 | B1 |
8219776 | Forhan et al. | Jul 2012 | B2 |
8228701 | Sokolov et al. | Jul 2012 | B2 |
8245101 | Olbrich et al. | Aug 2012 | B2 |
8254172 | Kan | Aug 2012 | B1 |
8259506 | Sommer et al. | Sep 2012 | B1 |
8289801 | Smith et al. | Oct 2012 | B2 |
8332578 | Frickey, III et al. | Dec 2012 | B2 |
8363413 | Paquette et al. | Jan 2013 | B2 |
8369141 | Sommer et al. | Feb 2013 | B2 |
8386700 | Olbrich et al. | Feb 2013 | B2 |
8407409 | Kawaguchi | Mar 2013 | B2 |
8464106 | Filor et al. | Jun 2013 | B2 |
8612804 | Kang et al. | Dec 2013 | B1 |
20020159285 | Morley et al. | Oct 2002 | A1 |
20030046603 | Harari et al. | Mar 2003 | A1 |
20030074592 | Hasegawa | Apr 2003 | A1 |
20030163633 | Aasheim et al. | Aug 2003 | A1 |
20040080985 | Chang et al. | Apr 2004 | A1 |
20040252670 | Rong et al. | Dec 2004 | A1 |
20050021904 | Iaculo et al. | Jan 2005 | A1 |
20050038792 | Johnson | Feb 2005 | A1 |
20050073884 | Gonzalez et al. | Apr 2005 | A1 |
20060020745 | Conley et al. | Jan 2006 | A1 |
20060136682 | Haridas et al. | Jun 2006 | A1 |
20060143365 | Kikuchi | Jun 2006 | A1 |
20060253641 | Gatzemeier et al. | Nov 2006 | A1 |
20060256624 | Eggleston et al. | Nov 2006 | A1 |
20060282644 | Wong | Dec 2006 | A1 |
20060294574 | Cha | Dec 2006 | A1 |
20070061511 | Faber | Mar 2007 | A1 |
20070083779 | Misaka et al. | Apr 2007 | A1 |
20070234004 | Oshima et al. | Oct 2007 | A1 |
20070260811 | Merry, Jr. et al. | Nov 2007 | A1 |
20070276973 | Tan et al. | Nov 2007 | A1 |
20080046630 | Lasser | Feb 2008 | A1 |
20080052446 | Lasser et al. | Feb 2008 | A1 |
20080082736 | Chow et al. | Apr 2008 | A1 |
20080183918 | Dhokia et al. | Jul 2008 | A1 |
20080313505 | Lee et al. | Dec 2008 | A1 |
20090019321 | Radke | Jan 2009 | A1 |
20090083587 | Ng et al. | Mar 2009 | A1 |
20090089485 | Yeh | Apr 2009 | A1 |
20090138654 | Sutardja | May 2009 | A1 |
20090146721 | Kurooka et al. | Jun 2009 | A1 |
20090157948 | Trichina et al. | Jun 2009 | A1 |
20090164702 | Kern | Jun 2009 | A1 |
20090172262 | Olbrich et al. | Jul 2009 | A1 |
20090228761 | Perlmutter et al. | Sep 2009 | A1 |
20090259819 | Chen et al. | Oct 2009 | A1 |
20090259896 | Hsu et al. | Oct 2009 | A1 |
20090323419 | Lee et al. | Dec 2009 | A1 |
20090327581 | Coulson | Dec 2009 | A1 |
20090327591 | Moshayedi | Dec 2009 | A1 |
20100017650 | Chin et al. | Jan 2010 | A1 |
20100023674 | Aviles | Jan 2010 | A1 |
20100050053 | Wilson et al. | Feb 2010 | A1 |
20100138592 | Cheon | Jun 2010 | A1 |
20100169541 | Freikorn | Jul 2010 | A1 |
20100174845 | Gorobets et al. | Jul 2010 | A1 |
20100217898 | Priborsky et al. | Aug 2010 | A1 |
20100217915 | O'Connor et al. | Aug 2010 | A1 |
20100228928 | Asnaashari et al. | Sep 2010 | A1 |
20100262792 | Hetzler et al. | Oct 2010 | A1 |
20100262795 | Hetzler et al. | Oct 2010 | A1 |
20100262875 | Hetzler et al. | Oct 2010 | A1 |
20100287328 | Feldman et al. | Nov 2010 | A1 |
20100293367 | Berke et al. | Nov 2010 | A1 |
20100312954 | Jeon et al. | Dec 2010 | A1 |
20100318719 | Keays et al. | Dec 2010 | A1 |
20100332726 | Wang | Dec 2010 | A1 |
20110055468 | Gonzalez et al. | Mar 2011 | A1 |
20110066788 | Eleftheriou et al. | Mar 2011 | A1 |
20110131365 | Zhang et al. | Jun 2011 | A1 |
20110131447 | Prakash et al. | Jun 2011 | A1 |
20110132000 | Deane et al. | Jun 2011 | A1 |
20110145473 | Maheshwari | Jun 2011 | A1 |
20110190963 | Glassl et al. | Aug 2011 | A1 |
20110191522 | Condict et al. | Aug 2011 | A1 |
20110191649 | Lim et al. | Aug 2011 | A1 |
20110238892 | Tsai et al. | Sep 2011 | A1 |
20110320687 | Belluomini et al. | Dec 2011 | A1 |
20120047320 | Yoo et al. | Feb 2012 | A1 |
20120047409 | Post et al. | Feb 2012 | A1 |
20120124046 | Provenzano | May 2012 | A1 |
20120124273 | Goss et al. | May 2012 | A1 |
20120151260 | Zimmermann et al. | Jun 2012 | A1 |
20120216085 | Weingarten et al. | Aug 2012 | A1 |
20120239858 | Melik-Martirosian | Sep 2012 | A1 |
20120266048 | Chung et al. | Oct 2012 | A1 |
20120331207 | Lassa et al. | Dec 2012 | A1 |
20130007380 | Seekins et al. | Jan 2013 | A1 |
20130007543 | Goss et al. | Jan 2013 | A1 |
20130073788 | Post et al. | Mar 2013 | A1 |
20130080691 | Weingarten et al. | Mar 2013 | A1 |
20130100600 | Yin et al. | Apr 2013 | A1 |
20130124792 | Melik-Martirosian et al. | May 2013 | A1 |
20140108891 | Strasser et al. | Apr 2014 | A1 |
Number | Date | Country |
---|---|---|
1 990 921 | Nov 2008 | EP |
WO 2009042298 | Apr 2009 | WO |
Entry |
---|
Ulinktech, “ATA Command Table (in Alphabetic Order),” Feb. 6, 2011, https://web.archive.org/web/20110206060820/http://www.ulinktech.com/downloads/AT, 6 pages. |
International Search Report and Written Opinion dated May 14, 2014, received in International Patent Application No. PCT/US2014/017168, which corresponds to U.S. Appl. No. 14/076,115, 6 pages (Fitzpatrick). |
International Search Report and Written Opinion dated May 14, 2014, received in International Patent Application No. PCT/US2014/017169, which corresponds to U.S. Appl. No. 14/076,148, 6 pages (Fitzpatrick). |
International Search Report dated Mar. 25, 2014, received in International Patent Application No. PCT/US2013/072400, which corresponds to U.S. Appl. No. 13/690,337, 3 pages (Ellis). |
International Search Report and Written Opinion dated Jun. 12, 2014, received in PCT/US2014/018972, which corresponds to U.S. Appl. No. 13/779,352, 12 pages (Schmier). |
Invitation to Pay Additional Fees dated Jul. 25, 2014, received in International Patent Application No. PCT/US2014/021290, which corresponds to U.S. Appl. No. 13/791,797, 8 pages (Dean). |
International Search Report and Written Opinion dated Jul. 31, 2014, received in International Patent Application No. PCT/US2014/031465, which corresponds to U.S. Appl. No. 13/851,928, 13 pages (Ellis). |
International Search Report and Written Opinion dated Jul. 31, 2014, received in International Patent Application No. PCT/US2014/033876, which corresponds to U.S. Appl. No. 13/861,326, 9 pages (Fitzpatrick). |
International Search Report for PCT Application No. PCT/US2013/045282 dated Dec. 20, 2013. |
Cooke, “Introduction to Flash Memory (T1A),” Flash Memory Summit, Aug. 22, 2008, Micron Technology, Inc., 102 pages. |
Gal et al., “Algorithms and Data Structures for Flash Memories,” ACM Computing Surveys, Jun. 2005, vol. 37, No. 2, 30 pages. |
O'Brien, “SMART Storage Systems Optimus SAS Enterprises SSD Review,” SMART Storage Systems, Oct. 9, 2012, 44 pages. |
Spanjer, “Flash Management—Why and How?” Smart Modular Technologies, Nov. 2009, http://www.scantec.de/fileadmin/pdf/Smart—Modular/Flash-Management.pdf, 14 pages. |
IBM Corporation, Systems Management Controlling System Shutdown Using a Power-Handling Program, Version 5, Release 4, 9th Edition, pp. 1-21, Feb. 2006. |
Texas Instruments, Power Management IC for Digital Set Top Boxes, SLVSA10A, pp. 1-22, Sep. 2009. |
Number | Date | Country | |
---|---|---|---|
20130332796 A1 | Dec 2013 | US |