Field
Advancements in accessing of flash memory are needed to provide improvements in performance, efficiency, and utility of use.
Related Art
Unless expressly identified as being publicly or well known, mention herein of techniques and concepts, including for context, definitions, or comparison purposes, should not be construed as an admission that such techniques and concepts are previously publicly known or otherwise part of the prior art. All references cited herein (if any), including patents, patent applications, and publications, are hereby incorporated by reference in their entireties, whether specifically incorporated or not, for all purposes.
The invention may be implemented in numerous ways, including as a process, an article of manufacture, an apparatus, a system, a composition of matter, and a computer readable medium such as a computer readable storage medium (e.g. media in an optical and/or magnetic mass storage device such as a disk, or an integrated circuit having non-volatile storage such as flash storage) or a computer network wherein program instructions are sent over optical or electronic communication links. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. The Detailed Description provides an exposition of one or more embodiments of the invention that enable improvements in performance, efficiency, and utility of use in the field identified above. The Detailed Description includes an Introduction to facilitate the more rapid understanding of the remainder of the Detailed Description. The Introduction includes Example Embodiments of one or more of systems, methods, articles of manufacture, and computer readable media in accordance with the concepts described herein. As is discussed in more detail in the Conclusions, the invention encompasses all possible modifications and variations within the scope of the issued claims.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures illustrating selected details of the invention. The invention is described in connection with the embodiments. The embodiments herein are understood to be merely exemplary, the invention is expressly not limited to or by any or all of the embodiments herein, and the invention encompasses numerous alternatives, modifications, and equivalents. To avoid monotony in the exposition, a variety of word labels (including but not limited to: first, last, certain, various, further, other, particular, select, some, and notable) may be applied to separate sets of embodiments; as used herein such labels are expressly not meant to convey quality, or any form of preference or prejudice, but merely to conveniently distinguish among the separate sets. The order of some operations of disclosed processes is alterable within the scope of the invention. Wherever multiple embodiments serve to describe variations in process, method, and/or program instruction features, other embodiments are contemplated that in accordance with a predetermined or a dynamically determined criterion perform static and/or dynamic selection of one of a plurality of modes of operation corresponding respectively to a plurality of the multiple embodiments. Numerous specific details are set forth in the following description to provide a thorough understanding of the invention. The details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of the details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
This introduction is included only to facilitate the more rapid understanding of the Detailed Description; the invention is not limited to the concepts presented in the introduction (including explicit examples, if any), as the paragraphs of any introduction are necessarily an abridged view of the entire subject and are not meant to be an exhaustive or restrictive description. For example, the introduction that follows provides overview information limited by space and organization to only certain embodiments. There are many other embodiments, including those to which claims will ultimately be drawn, discussed throughout the balance of the specification.
Elsewhere herein various shorthand abbreviations, or acronyms, refer to certain elements. The descriptions of at least some of the acronyms follow.
Some types of NAND flash memory use an array of floating gate transistors to store information. Each bit cell (e.g. floating gate transistor) is enabled to store a single bit of information, known as SLC, or alternatively multiple bits of information, known as MLC. Downward scaling of CMOS technology reduces how many electrons are stored in the floating gates. Increasing storage capacity and/or density increases how many bits are stored per cell. Therefore, relatively smaller voltage ranges represent values stored in cells as technology scales down. Uncertainties in sensing and/or changes over time in how many stored electrons there are increase data read errors. In some implementations and/or usage scenarios, an ECC enables correct retrieval of otherwise corrupted data.
Some types of SSDs use flash memory to provide non-volatile storage (e.g., information is retained without application of power). Some SSDs are compatible with form-factors, electrical interfaces, and/or protocols used by magnetic and/or optical non-volatile storage, such as HDDs, CD drives, and DVD drives. Some SSDs use RS and/or BCH codes for error correction.
A Solid-State Disk (SSD) controller uses Low Density Parity Check (LDPC) decoding to enable flash memory accesses with improved latency and/or error correction capabilities. In some embodiments, if Single-Level Cell (SLC) technology flash memory has a raw Bit Error Rate (BER) less than a predetermined value, then the SSD controller uses a 1-bit read (single read) hard-decision LDPC decoder to access the flash memory. If the hard-decision LDPC decoder detects an uncorrectable error, then the SSD controller uses a 1.5-bit read (two reads) erasure-decision LDPC decoder to access the flash memory. In some embodiments, if the flash memory has a raw BER between two other predetermined values, then the SSD controller omits the use of the hard-decision LDPC decoder and uses only the erasure-decision LDPC decoder to access the flash memory. Variations of the SSD controller use similar techniques to access Multi-Level Cell (MLC) technology flash memory. Some SSD controllers dynamically switch between hard-decision and erasure-based decoders based on dynamic decoder selection criteria. The criteria include number of program/erase cycles, read disturb event count(s), write disturb event count(s), previous correctable error counts, and/or previous uncorrectable error counts.
In concluding the introduction to the detailed description, what follows is a collection of example embodiments, including at least some explicitly enumerated as “ECs” (Example Combinations), providing additional description of a variety of embodiment types in accordance with the concepts described herein; these examples are not meant to be mutually exclusive, exhaustive, or restrictive; and the invention is not limited to these example embodiments but rather encompasses all possible modifications and variations within the scope of the issued claims.
EC1) A system comprising:
EC2) The system of EC154 wherein the flash memory comprises Single-Level Cell (SLC) technology flash memory, the initial reads are one in number, the additional reads are two in number, and each of the additional reads is at a respective read voltage.
EC3) The system of ECError! Bookmark not defined. further comprising a means for providing respective voltage specifiers for each of the additional reads.
EC4) The system of ECError! Bookmark not defined. wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC5) The system of EC154 wherein the flash memory comprises Multi-Level Cell (MLC) technology flash memory.
EC6) The system of EC154 wherein the receiving is compatible with one or more of a plurality of interface standards, the interface standards comprising
a Serial Advanced Technology Attachment (SATA) interface standard,
a Serial Attached Small Computer System Interface (SAS) interface standard,
a Peripheral Component Interconnect express (PCIe) interface standard,
a Fibre Channel interface standard, and
an Ethernet interface standard.
EC7) The system of EC154 wherein the means for requesting initial reads and the means for requesting additional reads are via a controller, the controller and the flash memory are comprised in a storage sub-system implemented as one of a plurality of non-volatile storage component types, and the non-volatile storage component types comprise
a Universal Serial Bus (USB) storage component type,
a Compact Flash (CF) storage component type,
a MultiMediaCard (MMC) storage component type,
a Secure Digital (SD) storage component type,
a Memory Stick storage component type, and
an xD-picture card storage component type.
EC8) A method comprising:
EC9) The method of ECError! Bookmark not defined. wherein the flash memory comprises Single-Level Cell (SLC) technology flash memory, the initial reads are one in number, the additional reads are two in number, and each of the additional reads is at a respective read voltage.
EC10) The method of ECError! Bookmark not defined. further comprising providing respective voltage specifiers for each of the additional reads.
EC11) The method of ECError! Bookmark not defined. wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC12) The method of ECError! Bookmark not defined. wherein the flash memory comprises Multi-Level Cell (MLC) technology flash memory.
EC13) The method of ECError! Bookmark not defined. wherein the receiving is compatible with one or more of a plurality of interface standards, the interface standards comprising
a Serial Advanced Technology Attachment (SATA) interface standard,
a Serial Attached Small Computer System Interface (SAS) interface standard,
a Peripheral Component Interconnect express (PCIe) interface standard,
a Fibre Channel interface standard, and
an Ethernet interface standard.
EC14) The method of ECError! Bookmark not defined. wherein the requesting initial reads and the requesting additional reads are via a controller, the controller and the flash memory are comprised in a storage sub-system implemented as one of a plurality of non-volatile storage component types, and the non-volatile storage component types comprise
a Universal Serial Bus (USB) storage component type,
a Compact Flash (CF) storage component type,
a MultiMediaCard (MMC) storage component type,
a Secure Digital (SD) storage component type,
a Memory Stick storage component type, and
an xD-picture card storage component type.
EC15) A system comprising:
an interface; and
a controller enabled to
EC16) The system of ECError! Bookmark not defined. wherein the flash memory comprises Single-Level Cell (SLC) technology flash memory, the initial reads are one in number, the additional reads are two in number, and each of the additional reads is at a respective read voltage.
EC17) The system of ECError! Bookmark not defined. wherein the controller is further enabled to provide respective voltage specifiers for each of the additional reads.
EC18) The system of ECError! Bookmark not defined. wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC19) The system of ECError! Bookmark not defined. wherein the flash memory comprises Multi-Level Cell (MLC) technology flash memory.
EC20) The system of ECError! Bookmark not defined. wherein the controller and the flash memory are comprised in a storage sub-system implemented as one of a plurality of non-volatile storage component types, and the non-volatile storage component types comprise
a Universal Serial Bus (USB) storage component type,
a Compact Flash (CF) storage component type,
a MultiMediaCard (MMC) storage component type,
a Secure Digital (SD) storage component type,
a Memory Stick storage component type, and
an xD-picture card storage component type.
EC21) A tangible computer readable medium having a set of instructions stored therein that when executed by a processing element cause the processing element to perform operations comprising:
EC22) The tangible computer readable medium of EC21 wherein the flash memory comprises Single-Level Cell (SLC) technology flash memory, the initial reads are one in number, the additional reads are two in number, and each of the additional reads is at a respective read voltage.
EC23) The tangible computer readable medium of EC22 wherein the operations further comprise providing respective voltage specifiers for each of the additional reads.
EC24) The tangible computer readable medium of EC23 wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC25) The tangible computer readable medium of EC21 wherein the flash memory comprises Multi-Level Cell (MLC) technology flash memory.
EC26) The tangible computer readable medium of EC21 wherein the receiving is compatible with one or more of a plurality of interface standards, the interface standards comprising
a Serial Advanced Technology Attachment (SATA) interface standard,
a Serial Attached Small Computer System Interface (SAS) interface standard,
a Peripheral Component Interconnect express (PCIe) interface standard,
a Fibre Channel interface standard, and
an Ethernet interface standard.
EC27) The tangible computer readable medium of EC21 wherein the processing element is comprised in a controller, the controller and the flash memory are comprised in a storage sub-system implemented as one of a plurality of non-volatile storage component types, and the non-volatile storage component types comprise
a Universal Serial Bus (USB) storage component type,
a Compact Flash (CF) storage component type,
a MultiMediaCard (MMC) storage component type,
a Secure Digital (SD) storage component type,
a Memory Stick storage component type, and
an xD-picture card storage component type.
EC28) A system comprising:
EC29) The system of EC28 wherein the flash memory comprises Single-Level Cell (SLC) technology flash memory, the initial reads are one in number, and the additional reads are two in number.
EC30) The system of EC29 wherein each of the additional reads is at a respective read voltage.
EC31) The system of EC30 further comprising a means for providing respective voltage specifiers for each of the additional reads.
EC32) The system of EC31 wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC33) The system of EC28 wherein the flash memory comprises Multi-Level Cell (MLC) technology flash memory.
EC34) The system of EC33 wherein each of the initial reads is at a respective read voltage.
EC35) The system of EC34 further comprising a means for providing respective voltage specifiers for each of the initial reads.
EC36) The system of EC35 wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC37) The system of EC28 wherein the receiving is compatible with one or more of a plurality of interface standards, the interface standards comprising
a Serial Advanced Technology Attachment (SATA) interface standard,
a Serial Attached Small Computer System Interface (SAS) interface standard,
a Peripheral Component Interconnect express (PCIe) interface standard,
a Fibre Channel interface standard, and
an Ethernet interface standard.
EC38) The system of EC28 wherein the means for requesting initial reads and the means for requesting additional reads are via a controller, the controller and the flash memory are comprised in a storage sub-system implemented as one of a plurality of non-volatile storage component types, and the non-volatile storage component types comprise
a Universal Serial Bus (USB) storage component type,
a Compact Flash (CF) storage component type,
a MultiMediaCard (MMC) storage component type,
a Secure Digital (SD) storage component type,
a Memory Stick storage component type, and
an xD-picture card storage component type.
EC39) The system of EC28 further comprising a means for interfacing the initial reads and the additional reads to the flash memory via a flash memory interface.
EC40) The system of EC39 wherein the flash memory interface comprises one or more of
an asynchronous interface,
a synchronous interface,
a Double-Data-Rate (DDR) synchronous interface,
an Open NAND Flash Interface (ONFI) compatible interface, and
a Toggle-mode compatible flash interface.
EC41) The system of EC28 wherein the data request is from a host.
EC42) The system of EC41 wherein the host comprises one or more of
a computer,
a workstation computer,
a server computer,
a storage server,
a Personal Computer (PC),
a laptop computer,
a notebook computer,
a netbook computer,
a Personal Digital Assistant (PDA),
a media player,
a media recorder,
a digital camera,
a cellular handset,
a cordless telephone handset, and
an electronic game.
EC43) A method comprising:
EC44) The method of EC43 wherein the flash memory comprises Single-Level Cell (SLC) technology flash memory, the initial reads are one in number, and the additional reads are two in number.
EC45) The method of EC44 wherein each of the additional reads is at a respective read voltage.
EC46) The method of EC45 further comprising providing respective voltage specifiers for each of the additional reads.
EC47) The method of EC46 wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC48) The method of EC43 wherein the flash memory comprises Multi-Level Cell (MLC) technology flash memory.
EC49) The method of EC48 wherein each of the initial reads is at a respective read voltage.
EC50) The method of EC49 further comprising providing respective voltage specifiers for each of the initial reads.
EC51) The method of EC50 wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC52) The method of EC43 wherein the receiving is compatible with one or more of a plurality of interface standards, the interface standards comprising
a Serial Advanced Technology Attachment (SATA) interface standard,
a Serial Attached Small Computer System Interface (SAS) interface standard,
a Peripheral Component Interconnect express (PCIe) interface standard,
a Fibre Channel interface standard, and
an Ethernet interface standard.
EC53) The method of EC43 wherein the requesting initial reads and the requesting additional reads are via a controller, the controller and the flash memory are comprised in a storage sub-system implemented as one of a plurality of non-volatile storage component types, and the non-volatile storage component types comprise
a Universal Serial Bus (USB) storage component type,
a Compact Flash (CF) storage component type,
a MultiMediaCard (MMC) storage component type,
a Secure Digital (SD) storage component type,
a Memory Stick storage component type, and
an xD-picture card storage component type.
EC54) The method of EC43 further comprising interfacing the initial reads and the additional reads to the flash memory via a flash memory interface.
EC55) The method of EC54 wherein the flash memory interface comprises one or more of
an asynchronous interface,
a synchronous interface,
a Double-Data-Rate (DDR) synchronous interface,
an Open NAND Flash Interface (ONFI) compatible interface, and
a Toggle-mode compatible flash interface.
EC56) The method of EC43 wherein the data request is from a host.
EC57) The method of EC56 wherein the host comprises one or more of
a computer,
a workstation computer,
a server computer,
a storage server,
a Personal Computer (PC),
a laptop computer,
a notebook computer,
a netbook computer,
a Personal Digital Assistant (PDA),
a media player,
a media recorder,
a digital camera,
a cellular handset,
a cordless telephone handset, and
an electronic game.
EC58) A system comprising:
an interface; and
a controller enabled to
EC59) The system of EC58 wherein the flash memory comprises Single-Level Cell (SLC) technology flash memory, the initial reads are one in number, and the additional reads are two in number.
EC60) The system of EC59 wherein each of the additional reads is at a respective read voltage.
EC61) The system of EC60 wherein the controller is further enabled to provide respective voltage specifiers for each of the additional reads.
EC62) The system of EC61 wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC63) The system of EC58 wherein the flash memory comprises Multi-Level Cell (MLC) technology flash memory.
EC64) The system of EC63 wherein each of the initial reads is at a respective read voltage.
EC65) The system of EC64 wherein the controller is further enabled to provide respective voltage specifiers for each of the initial reads.
EC66) The system of EC65 wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC67) The system of EC58 wherein the interface is compatible with one or more of a plurality of interface standards, the interface standards comprising
a Serial Advanced Technology Attachment (SATA) interface standard,
a Serial Attached Small Computer System Interface (SAS) interface standard,
a Peripheral Component Interconnect express (PCIe) interface standard,
a Fibre Channel interface standard, and
an Ethernet interface standard.
EC68) The system of EC58 wherein the controller and the flash memory are comprised in a storage sub-system implemented as one of a plurality of non-volatile storage component types, and the non-volatile storage component types comprise
a Universal Serial Bus (USB) storage component type,
a Compact Flash (CF) storage component type,
a MultiMediaCard (MMC) storage component type,
a Secure Digital (SD) storage component type,
a Memory Stick storage component type, and
an xD-picture card storage component type.
EC69) The system of EC58 wherein the interface is a host interface and further comprising a flash memory interface enabled to provide the initial reads and the additional reads to the flash memory.
EC70) The system of EC69 wherein the flash memory interface comprises one or more of
an asynchronous interface,
a synchronous interface,
a Double-Data-Rate (DDR) synchronous interface,
an Open NAND Flash Interface (ONFI) compatible interface, and
a Toggle-mode compatible flash interface.
EC71) The system of EC58 wherein the interface is enabled to communicate the data request from a host.
EC72) The system of EC71 wherein the host comprises one or more of
a computer,
a workstation computer,
a server computer,
a storage server,
a Personal Computer (PC),
a laptop computer,
a notebook computer,
a netbook computer,
a Personal Digital Assistant (PDA),
a media player,
a media recorder,
a digital camera,
a cellular handset,
a cordless telephone handset, and
an electronic game.
EC73) A tangible computer readable medium having a set of instructions stored therein that when executed by a processing element cause the processing element to perform operations comprising:
EC74) The tangible computer readable medium of EC73 wherein the flash memory comprises Single-Level Cell (SLC) technology flash memory, the initial reads are one in number, and the additional reads are two in number.
EC75) The tangible computer readable medium of EC74 wherein each of the additional reads is at a respective read voltage.
EC76) The tangible computer readable medium of EC75 wherein the operations further comprise providing respective voltage specifiers for each of the additional reads.
EC77) The tangible computer readable medium of EC76 wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC78) The tangible computer readable medium of EC73 wherein the flash memory comprises Multi-Level Cell (MLC) technology flash memory.
EC79) The tangible computer readable medium of EC78 wherein each of the initial reads is at a respective read voltage.
EC80) The tangible computer readable medium of EC79 wherein the operations further comprise providing respective voltage specifiers for each of the initial reads.
EC81) The tangible computer readable medium of EC80 wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC82) The tangible computer readable medium of EC73 wherein the receiving is compatible with one or more of a plurality of interface standards, the interface standards comprising
a Serial Advanced Technology Attachment (SATA) interface standard,
a Serial Attached Small Computer System Interface (SAS) interface standard,
a Peripheral Component Interconnect express (PCIe) interface standard,
a Fibre Channel interface standard, and
an Ethernet interface standard.
EC83) The tangible computer readable medium of EC73 wherein the processing element is comprised in a controller, the controller and the flash memory are comprised in a storage sub-system implemented as one of a plurality of non-volatile storage component types, and the non-volatile storage component types comprise
a Universal Serial Bus (USB) storage component type,
a Compact Flash (CF) storage component type,
a MultiMediaCard (MMC) storage component type,
a Secure Digital (SD) storage component type,
a Memory Stick storage component type, and
an xD-picture card storage component type.
EC84) The tangible computer readable medium of EC73 wherein the initial reads and the additional reads are interfaced to the flash memory via a flash memory interface.
EC85) The tangible computer readable medium of EC84 wherein the flash memory interface comprises one or more of
an asynchronous interface,
a synchronous interface,
a Double-Data-Rate (DDR) synchronous interface,
an Open NAND Flash Interface (ONFI) compatible interface, and
a Toggle-mode compatible flash interface.
EC86) The tangible computer readable medium of EC73 wherein the data request is from a host.
EC87) The tangible computer readable medium of EC86 wherein the host comprises one or more of
a computer,
a workstation computer,
a server computer,
a storage server,
a Personal Computer (PC),
a laptop computer,
a notebook computer,
a netbook computer,
a Personal Digital Assistant (PDA),
a media player,
a media recorder,
a digital camera,
a cellular handset,
a cordless telephone handset, and
an electronic game.
EC88) A system comprising:
EC89) The system of EC88 further comprising:
EC90) The system of EC88 further comprising:
EC91) The system of EC88 further comprising at least a portion of the flash memory.
EC92) The system of EC91 wherein the flash memory comprises Multi-Level Cell (MLC) technology.
EC93) A method comprising:
EC94) The method of EC93 further comprising:
EC95) The method of EC93 further comprising:
EC96) The method of EC93 further comprising at least a portion of the flash memory.
EC97) The method of EC96 wherein the flash memory comprises Multi-Level Cell (MLC) technology.
EC98) A system comprising:
EC99) The system of EC98 further comprising:
EC100) The system of EC98 further comprising:
EC101) The system of EC98 further comprising at least a portion of the flash memory.
EC102) The system of EC101 wherein the flash memory comprises Multi-Level Cell (MLC) technology.
EC103) A system comprising:
EC104) The system of EC103 further comprising a means for requesting a third read of the flash memory at the particular location in response to a request for data stored at the particular location.
EC105) The system of EC104 wherein the third read precedes the first and the second reads and the first and the second reads are requested in response to an uncorrectable error resulting from the third read.
EC106) The system of EC105 further comprising a means for performing a hard-decision based LDPC decoding based on a result of the third read.
EC107) The system of EC106 wherein the means for performing the hard-decision based LDPC decoding determines whether the uncorrectable error has occurred.
EC108) The system of EC103 wherein the flash memory comprises Multi-Level Cell (MLC) technology.
EC109) A system comprising:
an interface to a computing host;
an interface to flash memory; and
a controller enabled to
EC110) The system of EC109 wherein the controller is further enabled to request a third read of the flash memory at the particular location in response to a request for data stored at the particular location, the request being received via the interface to a computing host.
EC111) The system of EC110 wherein the third read precedes the first and the second reads and the first and the second reads are requested in response to an uncorrectable error resulting from the third read.
EC112) The system of EC109 further comprising a computing host coupled to the computing host interface.
EC113) The system of EC109 further comprising a flash memory coupled to the flash memory interface.
EC114) The system of EC113 wherein the flash memory comprises Multi-Level Cell (MLC) technology.
EC115) The system of EC113 wherein the first and the second read requests provide respective voltage specifiers.
EC116) The system of EC115 wherein at least one of the voltage specifiers is one of an explicit voltage level, an identifier of one of a plurality of predetermined voltage levels, and a unique identification of one of a plurality of read request types.
EC117) The system of EC109 wherein interfaces and the controller are comprised in a Solid-State Disk (SSD).
EC118) The system of EC109 further comprising the flash memory and a storage sub-system control element that comprises the interfaces and the controller, and wherein the flash memory and the storage sub-system control element are implemented as one of a plurality of non-volatile storage component types, the non-volatile storage component types comprising
a Universal Serial Bus (USB) storage component type,
a Compact Flash (CF) storage component type,
a MultiMediaCard (MMC) storage component type,
a Secure Digital (SD) storage component type,
a Memory Stick storage component type, and
an xD-picture card storage component type.
EC119) The system of EC109 wherein the interface to a computing host is compatible with one or more of a plurality of interface standards, the interface standards comprising
a Serial Advanced Technology Attachment (SATA) interface standard,
a Serial Attached Small Computer System Interface (SAS) interface standard,
a Peripheral Component Interconnect express (PCIe) interface standard,
a Fibre Channel interface standard, and
an Ethernet interface standard.
EC120) A method comprising:
EC121) The method of EC120 further comprising returning, based on the erasure-based LDPC decoding, data in response to a request for data stored at the particular location.
EC122) The method of EC120 wherein the flash memory comprises Single-Level Cell (SLC) technology.
EC123) The method of EC120 wherein at least part of the erasure-based LDPC decoding is performed in hardware.
EC124) The method of EC123 wherein the hardware comprises at least one hardware exclusive-OR circuit.
EC125) A computer readable medium having a set of instructions stored therein that when executed by a processing element cause the processing element to perform operations comprising:
EC126) A computer readable medium having a set of instructions stored therein that when executed by a processing element cause the processing element to perform operations comprising:
EC127) The computer readable medium of EC126 wherein the operations further comprise selectively controlling the flash memory controller circuit to perform one or more reads of a given location in flash memory, each of the one or more reads using a different read voltage.
EC128) The computer readable medium of EC126 wherein the decoder types further comprise a soft-decision decoder type and the flash memory controller circuit further comprises a decoder circuit corresponding to the soft-decision decoder type.
EC129) The computer readable medium of EC126 wherein one or more of the decoder types is based at least in part on Low Density Parity Check (LDPC) coding.
EC130) The computer readable medium of EC126 wherein all of the decoder types are based at least in part on Low Density Parity Check (LDPC) coding.
EC131) A system comprising:
EC132) The system of EC131 wherein the means are implemented at least in part via a hardware logic block comprised in a Solid-State Disk (SSD).
EC133) A system comprising:
EC134) The system of EC133 wherein the means are implemented at least in part via a hardware logic block comprised in a Solid-State Disk (SSD).
EC135) A method comprising:
EC136) The method of EC135 wherein the acts of decoding are implemented at least in part via a hardware logic block comprised in a Solid-State Disk (SSD).
EC137) A method comprising:
EC138) The method of EC137 wherein the acts of decoding are implemented at least in part via a hardware logic block comprised in a Solid-State Disk (SSD).
EC139) A system comprising:
EC140) The system of EC139 wherein the means for requesting the first read is responsive to a request for all or any portion of data at the location.
EC141) The system of EC139 further comprising means for requesting all or any portion of data at the location.
EC142) A system comprising:
an interface to a computing host;
an interface to flash memory; and
a controller enabled to
EC143) The system of EC142 wherein the computing host interface, the flash memory interface, and the controller are comprised in a Solid-State Disk (SSD).
EC144) The system of EC142 wherein the computing host interface, the flash memory interface, and the controller are comprised in a non-volatile storage component.
EC145) The system of EC144 wherein the non-volatile storage component comprises one or more of a Universal Serial Bus (USB) storage component, a Compact Flash (CF) storage component, a MultiMediaCard (MMC) storage component, a Secure Digital (SD) storage component, a Memory Stick storage component, and an xD storage component.
EC146) The system of EC142 further comprising a computing host coupled to the computing host interface.
EC147) The system of EC146 wherein the computing host is one or any combination of a computer, a workstation computer, a server computer, a storage server, a Personal Computer (PC), a laptop computer, a notebook computer, a netbook computer, a Personal Digital Assistant (PDA), a media player, a media recorder, a digital camera, a cellular handset, a cordless telephone handset, and an electronic game.
EC148) The system of EC142 further comprising a flash memory coupled to the flash memory interface.
EC149) A method comprising:
EC150) The method of EC149 wherein the requesting the first read is in response to a request for data from all or any portion of the location.
EC151) The method of EC149 further comprising requesting all or any portion of data at the location.
EC152) A computer readable medium having a set of instructions stored therein that when executed by a processing element causes the processing element to perform operations comprising:
EC153) The computer readable medium of EC149 wherein the first read requesting is in response to a request for data stored at the location.
EC154) The computer readable medium of EC149 wherein the operations further comprise providing all or any portion of data stored at the location based at least in part on the erasure-based LDPC decoding.
SSD controller 100 is further communicatively coupled via one or more device interfaces 190 to non-volatile memory 199 including one or more storage devices, such as flash devices 192. According to various embodiments, device interfaces 190 are one or more of: an asynchronous interface; a synchronous interface; a DDR synchronous interface; an ONFI compatible interface, such as an ONFI 2.2 or ONFI 3.0 compatible interface; a Toggle-mode compatible flash interface; a non-standard version of any of the preceding interfaces; a custom interface; or any other type of interface used to connect to storage devices.
Flash devices 192 have, in some embodiments, one or more individual flash die 194. According to type of a particular one of flash devices 192, a plurality of flash die 194 in the particular flash device 192 are optionally and/or selectively accessible in parallel. Flash devices 192 are merely representative of one type of storage device enabled to communicatively couple to SSD controller 100. In various embodiments, any type of storage device is usable, such as an SLC NAND flash memory, MLC NAND flash memory, NOR flash memory, read-only memory, static random access memory, dynamic random access memory, ferromagnetic memory, phase-change memory, racetrack memory, or any other type of memory device or storage medium.
According to various embodiments, device interfaces 190 are organized as: one or more busses with one or more flash devices 192 per bus; one or more groups of busses with one or more flash devices 192 per bus, where busses in a group are generally accessed in parallel; or any other organization of flash devices 192 onto device interfaces 190.
Continuing in
Host interface 111 sends and receives commands and/or data via external interface 110, and, in some embodiments, tracks progress of individual commands via tag tracking 113. For example, in some embodiments, host interface 111 is compatible with the SATA protocol and, using NCQ commands, is enabled to have up to 32 pending commands, each with a unique tag represented as a number from 0 to 31. In some embodiments, tag tracking 113 is enabled to associate an external tag for a command received via external interface 110 with an internal tag used to track the command during processing by SSD controller 100.
According to various embodiments, one or more of: data processing 121 optionally and/or selectively processes some or all data sent between buffer 131 and external interfaces 110; and data processing 121 optionally and/or selectively processes data stored in buffer 131. In some embodiments, data processing 121 uses one or more engines 123 to perform one or more of: encrypting; decrypting; compressing; decompressing; formatting; reformatting; transcoding; and any other data processing and/or manipulation task.
Buffer 131 stores data sent to/from external interfaces 110 from/to device interfaces 190. In some embodiments, buffer 131 additionally stores system data, such as some or all map tables, used by SSD controller 100 to manage flash devices 192. In various embodiments, buffer 131 has one or more of: memory 137 used for temporary storage of data; DMA 133 used to control movement of data to and/or from buffer 131; ECC-X 135 used to provide a higher-level error correction function, such as RAID performed across multiple ones of flash devices 192 and/or flash die 194; and other data movement and/or manipulation functions.
According to various embodiments, one or more of: ECC 161 optionally and/or selectively processes some or all data sent between buffer 131 and device interfaces 190; and ECC 161 optionally and/or selectively processes data stored in buffer 131. In some embodiments, ECC 161 implements one or more of: a CRC code; a Hamming code; an RS code; a BCH code; an LDPC code; a Viterbi code; a trellis code; a hard-decision code; a soft-decision code; an erasure-based code; any error detecting and/or correcting code; and any combination of the preceding. In some embodiments, ECC 161 includes one or more decoders (such as LDPC decoders), as illustrated conceptually by Hard-, Soft-, and Erasure-Decision-Based Decoders 169.
Device interface logic 191 controls flash devices 192 via device interfaces 190. Device interface logic 191 is enabled to send data to/from flash devices 192 according to a protocol of flash devices 192. Device interface logic 191 includes scheduling 193 to selectively sequence control of flash devices 192 via device interfaces 190. For example, in some embodiments, scheduling 193 is enabled to queue operations to flash devices 192, and to selectively send the operations to individual ones of flash devices 192 (or flash die 194) as individual flash devices 192 (or flash die 194) are available.
Map 141 is enabled to convert between data addressing used on external interfaces 110 and data addressing used on device interfaces 190. For example, in some embodiments, LBAs used on external interfaces 110 are converted by map 141 to block and/or page addresses targeting one or more flash die 194. In some embodiments, a granularity of map 141 is fixed, such as mapping first fixed-sized logical blocks used on external interfaces 110 to second fixed-sized blocks used on device interfaces 190. In other embodiments, a granularity of map 141 is variable and not all blocks used on either external interfaces 110 or device interfaces 190 are necessarily a same size.
In some embodiments, map 141 uses table 143 to perform and/or to look up translations between addresses used on external interfaces 110 and data addressing used on device interfaces 190. According to various embodiments, table 143 is one or more of: a one-level map; a two-level map; a multi-level map; a map cache; a compressed map; any type of mapping from one address space to another; and any combination of the foregoing. According to various embodiments, table 143 includes one or more of: static random access memory; dynamic random access memory; non-volatile memory (such as flash memory); cache memory; on-chip memory; off-chip memory; and any combination of the foregoing.
In some embodiments, recycler 151 performs garbage collection. For example, in some embodiments, flash devices 192 contain blocks that must be erased before the blocks are re-writeable. Recycler 151 is enabled to determine which portions of flash devices 192 are actively in use, such as by scanning a map maintained by map 141, and to make unused portions of flash devices 192 available for writing by erasing them. In further embodiments, recycler 151 is enabled to move data stored within flash devices 192 to make larger contiguous portions of flash devices 192 available for writing.
CPU 171 controls various portions of SSD controller 100. CPU 171 includes CPU core 172. CPU core 172 is, according to various embodiments, one or more single-core or multi-core processors. The individual processors cores in CPU core 172 are, in some embodiments, multi-threaded. CPU core 172 includes instruction and/or data caches and/or memories. For example, the instruction memory contains instructions to enable CPU core 172 to execute software (sometimes called firmware) to control SSD controller 100. In some embodiments, some or all of the firmware executed by CPU core 172 is stored on flash devices 192.
In various embodiments, CPU 171 further includes: command management 173 to track and control commands received via external interfaces 110 while the commands are in progress; buffer management 175 to control allocation and use of buffer 131; translation management 177 to control map 141; coherency management 179 to control consistency of data addressing and to avoid conflicts such as between external data accesses and recycle data accesses; device management 181 to control device interface logic 191; and optionally other management units. None, any, or all of the management functions performed by CPU 171 are, according to various embodiments, controlled and/or managed by hardware, by software (such as software executing on CPU core 172 or on a host connected via external interfaces 110), or any combination thereof.
In some embodiments, CPU 171 is enabled to perform other management tasks, such as one or more of: gathering and/or reporting performance statistics; implementing SMART; controlling power sequencing, controlling and/or monitoring and/or adjusting power consumption; responding to power failures; controlling and/or monitoring and/or adjusting clock rates; and other management tasks.
Various embodiments comprise a computing-host flash memory controller that is similar to SSD controller 100 and is compatible with operation with various computing hosts, such as via adaptation of host interface 111 and/or external interface 110. The various computing hosts include one or any combination of a computer, a workstation computer, a server computer, a storage server, a PC, a laptop computer, a notebook computer, a netbook computer, a PDA, a media player, a media recorder, a digital camera, a cellular handset, a cordless telephone handset, and an electronic game.
In various embodiments, an SSD controller and/or a computing-host controller in combination with one or more non-volatile memories are implemented as a non-volatile storage component, such as a USB storage component, a CF storage component, an MMC storage component, an SD storage component, a Memory Stick storage component, and an xD storage component.
At a command management 173 level of abstraction, a “read” command initiates one or more read processes to retrieve information from non-volatile memory 199. In the lower-level context of SLC and MLC, the term “read” refers to a cell-level read having a single read voltage. In some embodiments, a flash memory performs multiple cell-level reads at different read voltages (all at the same specified read address) without any explicit control external to the flash memory, e.g. the reads at different voltages are “hidden” within the flash memory. In other embodiments, a control agent external to the flash memory (and operating at a device management 181 level) explicitly directs multiple cell-level reads at different read voltages to occur. In various embodiments, the multiple cell-level reads are additional and/or optional reads to obtain soft-decision and/or erasure-decision information for SLC and/or MLC cells, are to obtain hard-decision information for an MLC cell (e.g. three reads for a 2-bit per cell MLC), or any combination thereof.
Unless explicitly qualified, references to controlling, setting, or adjusting the “read voltage” refer broadly to direct or indirect controlling or setting of a read voltage, such as via one or more voltage specifiers that represent one or more actual read voltage levels or selection of a sequence of a plurality of actual read voltage levels. In various embodiments, a control agent providing the voltage specifier(s) has knowledge of actual read voltage levels, while in various other embodiments, the control agent has no knowledge of the actual read voltage levels. The terms “read voltage” and “sense voltage” are used interchangeably.
Unlike some character-based RS or BCH decoders that use only hard-decision information (e.g. one bit per stored bit) from flash memory as input, some LDPC decoder are enabled to use soft information to enable improved error correction. Thus, the soft-decision information (e.g. more than one bit per stored bit) is read from a flash memory to increase error correction capability. SLC is used as an example to demonstrate how to obtain hard-decision or soft-decision information from the flash memory. The techniques apply to MLC similarly. To obtain hard-decision information from the flash memory, only one read with programmed voltage t0 is performed, as illustrated in
In some embodiments and/or usage scenarios, reading soft-decision information increases access time of a flash memory (such as by a factor of three as described with respect to
In some embodiments and/or usage scenarios, an erasure-based LDPC decoder outperforms a hard-decision decoder when the erasure-based LDPC decoder is provided with hard-decision information and erasure information (e.g., when a bit is undetermined due to high uncertainty). Two reads with voltages t′−1 and t′1 (as in
In various embodiments, a hard-decision LDPC decoder (such as all or any portion of Hard-, Soft-, and Erasure-Decision-Based Decoders 169 of
Some embodiments, with an SSD having an LDPC decoder (e.g. based on the 4 KB LDPC codes illustrated in
In some embodiments, when a hard-decision LDPC is used and an uncorrectable error is detected, the page (or block or whatever unit is being used) is re-read one or more times and correction attempted with another technique (such as erasure-based LDPC as in
In some embodiments, hard-decision decoding is performed as in
In some embodiments, results of a first read (as in
In some embodiments, counting a number of 0's vs. a number of 1's returned in the first read provides a bias used to determine which way charge in the cells in the particular page (for example) have drifted, and if the number of 0's vs. 1's is outside of an expected range, then read voltages for performing the additional reads are adjusted accordingly. For example, in an embodiment where all data written to flash memory is encrypted, given a large page size, the balance of 0's and 1's is close to 50-50. A deviation outside an expected range indicates a charge drift on a particular page that some embodiments compensate for by adjusting the read voltages in
In some embodiments, if erasure-based decoding fails, then further soft-decision decoding is performed. For example, additional reads are used to determine 4-bit soft-decision information, and a 4-bit, fixed-point soft-decision LDPC decoder is used.
In some embodiments, obtaining hard-decision information from an upper page uses three reads, a first read to determine which half of the page, a second read to determine which quarter in the upper half (left quarter vs. right quarter), and a third read to determine which quarter in the lower half (left quarter vs. right quarter). In some MLC embodiments, all cells have a common read voltage, and because some lower page cells are storing zeros and some are storing ones, obtaining information from the upper page includes setting a voltage in each half to determine the value based on what the lower page value is.
Various embodiments use various codes that are usable with erasure-based decoding, for example LDPC, RS, and BCH codes.
In some embodiments, the hard-decision and the erasure-based codes are different.
Various embodiments perform ECC over various units, such as a flash memory page, a portion thereof (of a fixed-size or of a variable size), any multiple of a page (an integer multiple or a non-integer multiple), fixed size, and variable size, and other variations. For example, a variable-sized code is achievable by puncturing and shortening the code.
In some embodiments, various combinations of all or portions of operations performed by a computing-host flash memory controller or an SSD controller (such as SSD controller 100 of
In some embodiments, various combinations of all or portions of operations as described by a computer readable medium having a set of instructions stored therein, are performed by execution and/or interpretation of one or more program instructions, by interpretation and/or compiling of one or more source and/or script language statements, or by execution of binary instructions produced by compiling, translating, and/or interpreting information expressed in programming and/or scripting language statements. The statements are compatible with any standard programming or scripting language (such as C, C++, Fortran, Pascal, Ada, Java, VBscript, and Shell). One or more of the program instructions, the language statements, or the binary instructions, are optionally stored on one or more computer readable storage medium elements. In various embodiments some, all, or various portions of the program instructions are realized as one or more functions, routines, sub-routines, in-line routines, procedures, macros, or portions thereof.
Certain choices have been made in the description merely for convenience in preparing the text and drawings and unless there is an indication to the contrary the choices should not be construed per se as conveying additional information regarding structure or operation of the embodiments described. Examples of the choices include: the particular organization or assignment of the designations used for the figure numbering and the particular organization or assignment of the element identifiers (the callouts or numerical designators, e.g.) used to identify and reference the features and elements of the embodiments.
The words “includes” or “including” are specifically intended to be construed as abstractions describing logical sets of open-ended scope and are not meant to convey physical containment unless explicitly followed by the word “within.”
Although the foregoing embodiments have been described in some detail for purposes of clarity of description and understanding, the invention is not limited to the details provided. There are many embodiments of the invention. The disclosed embodiments are exemplary and not restrictive.
It will be understood that many variations in construction, arrangement, and use are possible consistent with the description, and are within the scope of the claims of the issued patent. For example, interconnect and function-unit bit-widths, clock speeds, and the type of technology used are variable according to various embodiments in each component block. The names given to interconnect and logic are merely exemplary, and should not be construed as limiting the concepts described. The order and arrangement of flowchart and flow diagram process, action, and function elements are variable according to various embodiments. Also, unless specifically stated to the contrary, value ranges specified, maximum and minimum values used, or other particular specifications (such as flash memory technology types; and the number of entries or stages in registers and buffers), are merely those of the described embodiments, are expected to track improvements and changes in implementation technology, and should not be construed as limitations.
Functionally equivalent techniques known in the art are employable instead of those described to implement various components, sub-systems, operations, functions, routines, sub-routines, in-line routines, procedures, macros, or portions thereof. It is also understood that many functional aspects of embodiments are realizable selectively in either hardware (i.e., generally dedicated circuitry) or software (i.e., via some manner of programmed controller or processor), as a function of embodiment dependent design constraints and technology trends of faster processing (facilitating migration of functions previously in hardware into software) and higher integration density (facilitating migration of functions previously in software into hardware). Specific variations in various embodiments include, but are not limited to: differences in partitioning; different form factors and configurations; use of different operating systems and other system software; use of different interface standards, network protocols, or communication links; and other variations to be expected when implementing the concepts described herein in accordance with the unique engineering and business constraints of a particular application.
The embodiments have been described with detail and environmental context well beyond that required for a minimal implementation of many aspects of the embodiments described. Those of ordinary skill in the art will recognize that some embodiments omit disclosed components or features without altering the basic cooperation among the remaining elements. It is thus understood that much of the details disclosed are not required to implement various aspects of the embodiments described. To the extent that the remaining elements are distinguishable from the prior art, components and features that are omitted are not limiting on the concepts described herein.
All such variations in design are insubstantial changes over the teachings conveyed by the described embodiments. It is also understood that the embodiments described herein have broad applicability to other computing and networking applications, and are not limited to the particular application or industry of the described embodiments. The invention is thus to be construed as including all possible modifications and variations encompassed within the scope of the claims of the issued patent.
Priority/benefit claims for this application are made in the accompanying Application Data Sheet. To the extent permitted by the type of the instant application, this application incorporates by reference for all purposes the following applications, all owned by the owner of the instant application: U.S. Non-Provisional application (Docket No. SF-10-01BUS and Ser. No. 13/583,617), filed Jan. 19, 2013, now U.S. Pat. No. 8,935,595, first named inventor Hao Zhong, and entitled LDPC Erasure Decoding for Flash Memories;PCT Application (Docket No. SF-10-01PCTB and Serial No. PCT/US11/28244), filed Mar. 11, 2011, first named inventor Hao Zhong, and entitled LDPC Erasure Decoding for Flash Memories;U.S. Provisional application (Docket No. SF-10-01 and Ser. No. 61/313,681), filed 12 Mar. 2010, first named inventor Hao Zhong, and entitled LDPC Erasure Decoding for Flash Memories.
Number | Date | Country | |
---|---|---|---|
61313681 | Mar 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13583617 | Jan 2013 | US |
Child | 14594165 | US |