WO2012082873A1 - Auxiliary interface for non-volatile memory system - Google Patents

Auxiliary interface for non-volatile memory system Download PDF

Info

Publication number
WO2012082873A1
WO2012082873A1 PCT/US2011/064867 US2011064867W WO2012082873A1 WO 2012082873 A1 WO2012082873 A1 WO 2012082873A1 US 2011064867 W US2011064867 W US 2011064867W WO 2012082873 A1 WO2012082873 A1 WO 2012082873A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
data
controller
user data
banks
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US2011/064867
Other languages
French (fr)
Inventor
Dhaval Parikh
Talal Ahwal
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SanDisk Technologies LLC
Original Assignee
SanDisk Technologies LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SanDisk Technologies LLC filed Critical SanDisk Technologies LLC
Priority to CN2011800675054A priority Critical patent/CN103370698A/en
Priority to KR1020137017613A priority patent/KR101861396B1/en
Publication of WO2012082873A1 publication Critical patent/WO2012082873A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1694Configuration of memory controller to different memory types
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0626Reducing size or complexity of storage systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/068Hybrid storage device
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0688Non-volatile semiconductor memory arrays

Definitions

  • This invention pertains generally to the field of architectures for nonvolatile memory systems and, more particularly, to the arrangement of interfaces between the system controller and its memory arrays.
  • Non-volatile memory systems for the storage of user data typically are made up of a set of arrays of non-volatile memory cells, on which the user data is stored, and a controller that controls the transfer of the user data between the arrays and a host and also manages the storage of the user data on the system.
  • Much of this system management data, or meta-data needs also to be retained and is therefore also stored in the non-volatile arrays.
  • An example of such meta-data is the logical to physical translation information by which the physical location of data on an array is associated with the logical address by which the host identifies the data.
  • Other examples can include meta-block linking data and defect remapping data.
  • flash memory controller manufacturers have used static logical to physical mapping algorithms to map user data in non- volatile memory cells. These translation tables were relatively small (on the order of 64KB for 128GB storage capacity) and of fixed size, allowing them easily to be cached on the memory controller. This caching results in good system performance, but has an inherent issue with these static mapping algorithms is their high write amplification ratio. For older generations of flash memory types, such high write amplification ratio was acceptable for a given usage model, since the raw endurance of memory cells was of the order of 50K or more program-erase cycles. However, as the geometry of flash memory chips has continued to shrink, the raw reliability of memory cells is often reduced significantly.
  • a memory system includes multiple banks of non- volatile memory cells and a controller to manage the transfer of user data between a host and the memory system and also to manage the storage of user data from the host in the memory banks.
  • the controller circuit includes a host interface, by which user data is transferred between the host and the controller circuit, an internal bus connected to the host interface, and multiple memory bank interfaces connected to the internal bus, whereby user data and management data is respectively transferred between the controller circuitry and a corresponding one of the memory banks.
  • the controller circuitry also includes a volatile memory connected to the internal bus, in which the controller stores management data for use in managing the storage of user data, and processing circuitry connected to the internal bus, where the processing circuitry dedicates one of the memory banks for the storage of management data and stores user data on the other N memory banks.
  • Figure 1 illustrates a non-volatile memory system using a DRAM memory block and corresponding interface for the storage of metadata.
  • Figure 2 is a non-volatile memory arrangement to show an overlay/paging scheme approach for metadata.
  • Figure 3 is a block diagram of an exemplary embodiment of a memory system with an auxiliary flash interface and corresponding memory
  • the techniques presented here can provide a cost effective non-volatile memory system that also provides high performance. This is done by providing the controller with an auxiliary memory interface for use with an additionally non- volatile memory bank, where the additional memory bank and interface are used for metadata, such as logical to physical translation data, with the user data being kept on the other memory banks.
  • a non-volatile memory could include a controller and (N+l) NAND flash memories, where N of these memories would store user data, but the remaining memory with its own controller interface would be dedicated to the storage of metadata. This allows for the metadata to be kept in nonvolatile memory, but still quite readily accessible relative to the typical paging/overlay arrangement for metadata that is typically used in many non-volatile memory system.
  • a memory device 100 is connected to a host 101 through the physical host interface 103.
  • the memory system is typically a detachable device, such as a memory card, but could also be an embedded device, and the interface is typically a physical connection, but could also be a wireless interface.
  • a few examples for the host interface are SATA (Serial ATA), PATA (Parallel ATA), USB, Secure Digital (SD) and micro-SD ( iSD), Memory Stick (MS), PCIe (PCI Express), and so on.
  • Memory system 100 includes controller 121 and (n+1) nonvolatile memory banks 105-0, 105-n, where n is a non-negative integer, each connected through a corresponding physical interface 107-0, 107-n, here for the example of a NAND flash device.
  • Each of the memory banks may consist of multiple arrays or chips, as indicated by the stacked rectangles.
  • Each of the memory banks 0-n are usually of the same design, where some examples of non-volatile memories chips are described, for example, in United States patent nos. 5,570,315, 5,903,495, 6,046,935 and US patent applications numbers 12/833, 167 filed on July 9, 2010, and 12/635,449 filed on December 10, 2009.
  • Controller 121 is a block diagram of an exemplary controller with some of the relevant elements shown.
  • the controller communicates with the host by way of host interface module 133 and the non-volatile memory banks through the corresponding memory interface module 123-0, . .. , 123-n. including a Flash Control RISC Processor (FR) and a Flash Protocol Sequencer (FPS). These interfaces are then connected along the controller's internal bus structure 131.
  • the controller also has processing circuitry, with an exemplary embodiment including a main processor 151 and a data path manager 153, which is an independent processor integrated in the same controller.
  • the data path manager manages the flow of data once it enters the controller through host interface, directing DMA (Direct Memory Access) engines to transfer data between the various internal memories and managing data overflows and data under-runs.
  • DMA Direct Memory Access
  • the controller usually will also have some amount of volatile SRAM memory to use for various purposes, here including a portion for storing code 141 it uses to operate, a data cache buffer portion 143 where the controller can buffer data begin transferred between the host 101 and the non-volatile memory banks 105-0, 105-n, and a portion 145 for caching management data or metadata, such as logical to physical address translation tables.
  • the memory system of Figure 1 also includes an additional, relatively fast volatile memory, here DRAM memory bank 109, connected though the physical DRAM interface 111 to the controller 121, where it then connects to the internal bus 131 by way of the DRAM interface module 125.
  • DRAM memory bank 109 an additional, relatively fast volatile memory, here DRAM memory bank 109, connected though the physical DRAM interface 111 to the controller 121, where it then connects to the internal bus 131 by way of the DRAM interface module 125.
  • user (or host) data is stored into the nonvolatile memory banks 105-0, 105-n.
  • Metadata such as the translation tables and other control data structures, is stored in the same memory banks as user data and then loaded when the system is run into the DRAM bank 109 which is external to the controller 121.
  • the user controller transfers the data between the host and the non-volatile banks, while the DRAM channel is dedicated to the metadata. Because of this dedicated metadata channel, and the speed of the DRAM, a relatively small metadata cache 145 can be used, saving on the amount of relatively expensive SRAM memory on the controller.
  • the meta-data are mostly arrays of data-structures stored in the DRAM or SRAM and their updates are easily managed in their respective memories (SRAM or DRAM). Periodically, these updated translation tables and other data-structures are written back to non-volatile Flash memory in order to prevent losing them in case of unexpected system power loss.
  • FIG. 1 The arrangement of Figure 1 can provide fast system performance, but has some drawbacks.
  • One is the high relative component cost associated with including a DRAM memory.
  • Another is that what is primarily a non-volatile memory controller 121, typically a NAND flash memory controller, would need a dedicated DRAM interface 111 and module 125 separate form the NAND interfaces to store and retrieve the metadata from DRAM bank 109.
  • any metadata that is held only in the DRAM bank 109 and metadata cache 145, such as updated logical-physical translation data, would be lost.
  • Figure 3 illustrates an exemplary embodiment that can provide a cost-effective solution to store and retrieve the often complicated management metadata or control structure without comprising system performance or throughput.
  • an additional flash memory bank is added and dedicated for the storage of metadata.
  • This auxiliary flash channel is used as an out-of-band storage interface to store and retrieve metadata associated flash management algorithms used to manage user-data.
  • This out-of-band or auxiliary interface can also be used to consume some part of the user-data which may preferably be treated specially.
  • Some examples of such critical data could be OS (Operating System) data, or system log data which have high reliability requirement.
  • a memory device 300 is again connected to a host 301 through the physical host interface 303.
  • the memory system 300 includes controller 321 and (n+1) non-volatile memory banks 305-0, ..., 305-n, where n is a non-negative integer, each connected through a corresponding physical interface 307-0, 307-n, here for the example of a NAND flash device.
  • Each of the memory banks 0-n are usually of the same design, where some examples of non-volatile memories chips are described in for example, in United States patent nos. 5,570,315, 5,903,495, 6,046,935 and US patent applications numbers 12/833,167 filed on July 9, 2010, and 12/635,449 filed on December 10, 2009.
  • the controller circuitry 321 communicates with the host 301 by way of host interface module 333 and the non- volatile memory banks through the corresponding memory interface module 323-0, 323-n, which are in turn connected along the controller's internal bus structure 331.
  • the controller's processing circuitry includes a main processor 151 and a data path manager 153 and the volatile SRAM memory includes a portion for storing code 141 it uses to operate, a data cache buffer portion 143, and a portion 145 for caching management data or metadata. More detail on controllers is presented in U.S. Patent Application Publication Number: US-2006-0140007-A1 on June 29, 2006, for example, and references cited therein.
  • the exemplary embodiment of Figure 3 adds an additional bank 305-(n+l) of flash memory, an auxiliary memory interface 31 l-(n+l) to connect it to the controller 321, and, in the controller, a corresponding interface module 323-(n+l). These elements then form an out-of-band storage interface for address translation data and other meta data.
  • the non-volatile memory bank 305-(n+l) can then store some or all of the metadata that previously needed to be stored in the user data banks 305-0, ..., 305-n and which, at start up, would previously had to have been transferred over to the DRAM bank 109 under the arrangement of Figure 1.
  • control data cache 345 need only be medium sized, where "medium sized” is implementation specific,, saving on the amount of expensive SRAM needed by the controller relative to that (245, Figure 2) of the paging/overlay arrangement.
  • the memory banks are all taken be of the same type, but with one dedicated to metadata.
  • the device used for metadata can be preselected, or determined by the controller when the system is first used, and in the most basic arrangement will be kept fixed, although it could also be rotated for wear leveling or data consolidation reasons.
  • system data often tends to be rewritten more frequently than user data, this could lead to more frequent writes on the dedicated metadata bank; but as these writes are often relatively small (as opposed the large writes of logically contiguous data write common in user data), and bank capacity can be quite large, this should not result in the lifetime of the metadata bank being a limiting factor for the system.
  • the controller could manage it differently than the user data banks based on the different data types (small, non-contiguous writes as opposed to large, logically contiguous writes) or even operate the metadata bank in a binary format, while using multi-state (MLC) storage for user data.
  • MLC multi-state
  • the dedicated bank could, for example, be a Flash memory having a NOR architecture, allows the data to be accessed on a cell by cell basis, while the other banks use a NAND architecture.
  • Figure 3 Even though the arrangement of Figure 3 shown one bank (305-(n+l)) dedicated to metadata, with the other for user data, some metadata may also be stored on the user data banks. This could be the case for metadata that is specific to a particular set of data or to a particular physical location, such as defect re-mapping, the number of program/erase cycle count associated with a given erase block, or indications of write or erase completion.
  • Figure 3 can also be generalized by including additional metadata blocks/channels, which could then all be used in the same manner, or differentially employed with some types of metadata using one such auxiliary channel and other types using another auxiliary channel.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)
  • Memory System (AREA)

Abstract

A non-volatile memory system is formed a plurality of memory banks and a controller, where the controller has an auxiliary memory interface for use with an additionally non-volatile memory bank, where the additional memory bank and interface are used for metadata, such as logical to physical translation data. The other banks are used for user data. In an exemplary embodiment, a non-volatile memory could include a controller and (N+1) NAND flash memories, where N of these memories would store user data, but the remaining memory with its own controller interface would be dedicated to the storage of metadata. This allows for the metadata to be kept in non-volatile memory, but still quite readily accessible relative to the typical paging/overlay arrangement for metadata that is typically used in many non-volatile memory system.

Description

AUXILIARY INTERFACE FOR NON- VOLATILE MEMORY SYSTEM
FIELD OF THE INVENTION
[0001] This invention pertains generally to the field of architectures for nonvolatile memory systems and, more particularly, to the arrangement of interfaces between the system controller and its memory arrays.
BACKGROUND
[0002] Non-volatile memory systems for the storage of user data, such flash memory cards, typically are made up of a set of arrays of non-volatile memory cells, on which the user data is stored, and a controller that controls the transfer of the user data between the arrays and a host and also manages the storage of the user data on the system. Much of this system management data, or meta-data, needs also to be retained and is therefore also stored in the non-volatile arrays. An example of such meta-data is the logical to physical translation information by which the physical location of data on an array is associated with the logical address by which the host identifies the data. Other examples can include meta-block linking data and defect remapping data.
[0003] Historically, flash memory controller manufacturers have used static logical to physical mapping algorithms to map user data in non- volatile memory cells. These translation tables were relatively small (on the order of 64KB for 128GB storage capacity) and of fixed size, allowing them easily to be cached on the memory controller. This caching results in good system performance, but has an inherent issue with these static mapping algorithms is their high write amplification ratio. For older generations of flash memory types, such high write amplification ratio was acceptable for a given usage model, since the raw endurance of memory cells was of the order of 50K or more program-erase cycles. However, as the geometry of flash memory chips has continued to shrink, the raw reliability of memory cells is often reduced significantly. Because of this, many flash memory controller manufacturers have adopted dynamic mapping algorithms which provide fairly low write amplification ratios, thereby extending the life of the storage product; however, an inherent issue with these dynamic mapping algorithms is that the translation tables, used to map logical to physical addresses, can be very large, growing, for example, to the order of 500MB. To optimize performance, the controller would preferably cache the entire translation table in the internal memory of the controller; however, it is extremely expensive to have such large pool of SRAM memory in the controller. Consequently, there is room for improvement in the handling of large and complicated metadata in such memory systems.
SUMMARY OF THE INVENTION
[0004] According to a general aspect of the invention, a memory system includes multiple banks of non- volatile memory cells and a controller to manage the transfer of user data between a host and the memory system and also to manage the storage of user data from the host in the memory banks. The controller circuit includes a host interface, by which user data is transferred between the host and the controller circuit, an internal bus connected to the host interface, and multiple memory bank interfaces connected to the internal bus, whereby user data and management data is respectively transferred between the controller circuitry and a corresponding one of the memory banks. The controller circuitry also includes a volatile memory connected to the internal bus, in which the controller stores management data for use in managing the storage of user data, and processing circuitry connected to the internal bus, where the processing circuitry dedicates one of the memory banks for the storage of management data and stores user data on the other N memory banks.
[0005] Various aspects, advantages, features and embodiments of the present invention are included in the following description of exemplary examples thereof, whose description should be taken in conjunction with the accompanying drawings. All patents, patent applications, articles, other publications, documents and things referenced herein are hereby incorporated herein by this reference in their entirety for all purposes. To the extent of any inconsistency or conflict in the definition or use of terms between any of the incorporated publications, documents or things and the present application, those of the present application shall prevail. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1 illustrates a non-volatile memory system using a DRAM memory block and corresponding interface for the storage of metadata.
[0007] Figure 2 is a non-volatile memory arrangement to show an overlay/paging scheme approach for metadata.
[0008] Figure 3 is a block diagram of an exemplary embodiment of a memory system with an auxiliary flash interface and corresponding memory
DETAILED DESCRIPTION
[0009] The techniques presented here can provide a cost effective non-volatile memory system that also provides high performance. This is done by providing the controller with an auxiliary memory interface for use with an additionally non- volatile memory bank, where the additional memory bank and interface are used for metadata, such as logical to physical translation data, with the user data being kept on the other memory banks. To give a specific example, a non-volatile memory could include a controller and (N+l) NAND flash memories, where N of these memories would store user data, but the remaining memory with its own controller interface would be dedicated to the storage of metadata. This allows for the metadata to be kept in nonvolatile memory, but still quite readily accessible relative to the typical paging/overlay arrangement for metadata that is typically used in many non-volatile memory system. Before describing an exemplary embodiment, discussed below with respect to Figure 3, several alternate embodiments of non- volatile memory system will be considered.
[0010] One approach is to store the translation tables and other control data structures (or "meta-data") in the same memory banks as user data and then load it when the device is run into a DRAM memory that is external to the controller. This is illustrated in Figure 1. As shown there, a memory device 100 is connected to a host 101 through the physical host interface 103. The memory system is typically a detachable device, such as a memory card, but could also be an embedded device, and the interface is typically a physical connection, but could also be a wireless interface. A few examples for the host interface are SATA (Serial ATA), PATA (Parallel ATA), USB, Secure Digital (SD) and micro-SD ( iSD), Memory Stick (MS), PCIe (PCI Express), and so on. Memory system 100 includes controller 121 and (n+1) nonvolatile memory banks 105-0, 105-n, where n is a non-negative integer, each connected through a corresponding physical interface 107-0, 107-n, here for the example of a NAND flash device. Each of the memory banks may consist of multiple arrays or chips, as indicated by the stacked rectangles. Each of the memory banks 0-n are usually of the same design, where some examples of non-volatile memories chips are described, for example, in United States patent nos. 5,570,315, 5,903,495, 6,046,935 and US patent applications numbers 12/833, 167 filed on July 9, 2010, and 12/635,449 filed on December 10, 2009.
[0011] Controller 121 is a block diagram of an exemplary controller with some of the relevant elements shown. The controller communicates with the host by way of host interface module 133 and the non-volatile memory banks through the corresponding memory interface module 123-0, . .. , 123-n. including a Flash Control RISC Processor (FR) and a Flash Protocol Sequencer (FPS). These interfaces are then connected along the controller's internal bus structure 131. The controller also has processing circuitry, with an exemplary embodiment including a main processor 151 and a data path manager 153, which is an independent processor integrated in the same controller. The data path manager manages the flow of data once it enters the controller through host interface, directing DMA (Direct Memory Access) engines to transfer data between the various internal memories and managing data overflows and data under-runs. There could be one or more instances of such processors, each dedicated to manage transfer of data between different controller memory modules. The controller usually will also have some amount of volatile SRAM memory to use for various purposes, here including a portion for storing code 141 it uses to operate, a data cache buffer portion 143 where the controller can buffer data begin transferred between the host 101 and the non-volatile memory banks 105-0, 105-n, and a portion 145 for caching management data or metadata, such as logical to physical address translation tables. The multiple instances of SRAM memory blocks in the controller core optimized for performance, power consumption and to better manage real estate (layout) of the controller core logic, although, for the purposes of this discussion, the SRAM memory can be considered as one logical entity. To address some of the problems described in the Background, the memory system of Figure 1 also includes an additional, relatively fast volatile memory, here DRAM memory bank 109, connected though the physical DRAM interface 111 to the controller 121, where it then connects to the internal bus 131 by way of the DRAM interface module 125.
[0012] Under the arrangement of Figure 1, user (or host) data is stored into the nonvolatile memory banks 105-0, 105-n. Metadata, such as the translation tables and other control data structures, is stored in the same memory banks as user data and then loaded when the system is run into the DRAM bank 109 which is external to the controller 121. When running, the user controller transfers the data between the host and the non-volatile banks, while the DRAM channel is dedicated to the metadata. Because of this dedicated metadata channel, and the speed of the DRAM, a relatively small metadata cache 145 can be used, saving on the amount of relatively expensive SRAM memory on the controller. The meta-data are mostly arrays of data-structures stored in the DRAM or SRAM and their updates are easily managed in their respective memories (SRAM or DRAM). Periodically, these updated translation tables and other data-structures are written back to non-volatile Flash memory in order to prevent losing them in case of unexpected system power loss.
[0013] The arrangement of Figure 1 can provide fast system performance, but has some drawbacks. One is the high relative component cost associated with including a DRAM memory. Another is that what is primarily a non-volatile memory controller 121, typically a NAND flash memory controller, would need a dedicated DRAM interface 111 and module 125 separate form the NAND interfaces to store and retrieve the metadata from DRAM bank 109. Also, if power is lost for the memory system or operation is otherwise interrupted, any metadata that is held only in the DRAM bank 109 and metadata cache 145, such as updated logical-physical translation data, would be lost. Consequently, the various costs associated with the arrangement of may be justified for performance intensive applications, such as solid state storage devices (SSD) or higher end embedded memory applications, but is not optimal for applications such as typical memory cards . [0014] An alternative arrangement, that can be used for storage applications that do not require high system performance, is illustrated with respect to Figure 2. (Such an arrangement is common in many flash memory card applications.) The elements of Figure 2 are largely the same as in Figure 1 , and are similarly numbered, except the DRAM related elements are omitted. Under this arrangement, the metadata is stored on the same memory banks as the user data (105-0, 105-n). Needed meta-data is then transferred to the metadata cache 245 as needed using an overlay or paging arrangement. Although this has the advantage, relative to Figure 1 , of lower system cost and of not needing a DRAM interface, it does provide poorer system performance.
[0015] Figure 3 illustrates an exemplary embodiment that can provide a cost-effective solution to store and retrieve the often complicated management metadata or control structure without comprising system performance or throughput. In addition to the set of flash memory banks used to store user data, an additional flash memory bank is added and dedicated for the storage of metadata. This auxiliary flash channel is used as an out-of-band storage interface to store and retrieve metadata associated flash management algorithms used to manage user-data. This out-of-band or auxiliary interface can also be used to consume some part of the user-data which may preferably be treated specially. Some examples of such critical data could be OS (Operating System) data, or system log data which have high reliability requirement.
[0016] As shown in Figure 3, a memory device 300 is again connected to a host 301 through the physical host interface 303. The memory system 300 includes controller 321 and (n+1) non-volatile memory banks 305-0, ..., 305-n, where n is a non-negative integer, each connected through a corresponding physical interface 307-0, 307-n, here for the example of a NAND flash device. Each of the memory banks 0-n are usually of the same design, where some examples of non-volatile memories chips are described in for example, in United States patent nos. 5,570,315, 5,903,495, 6,046,935 and US patent applications numbers 12/833,167 filed on July 9, 2010, and 12/635,449 filed on December 10, 2009. The controller circuitry 321 communicates with the host 301 by way of host interface module 333 and the non- volatile memory banks through the corresponding memory interface module 323-0, 323-n, which are in turn connected along the controller's internal bus structure 331. The controller's processing circuitry includes a main processor 151 and a data path manager 153 and the volatile SRAM memory includes a portion for storing code 141 it uses to operate, a data cache buffer portion 143, and a portion 145 for caching management data or metadata. More detail on controllers is presented in U.S. Patent Application Publication Number: US-2006-0140007-A1 on June 29, 2006, for example, and references cited therein.
[0017] The exemplary embodiment of Figure 3 adds an additional bank 305-(n+l) of flash memory, an auxiliary memory interface 31 l-(n+l) to connect it to the controller 321, and, in the controller, a corresponding interface module 323-(n+l). These elements then form an out-of-band storage interface for address translation data and other meta data. The non-volatile memory bank 305-(n+l) can then store some or all of the metadata that previously needed to be stored in the user data banks 305-0, ..., 305-n and which, at start up, would previously had to have been transferred over to the DRAM bank 109 under the arrangement of Figure 1. Consequently, in case of power loss or other improper shutdown, only the most recent updates, that were only held in the control data cache 345 and not yet written back to bank 305-(n+l), would be lost. Also, since the meta data has its own channel, the size of control data cache 345 need only be medium sized, where "medium sized" is implementation specific,, saving on the amount of expensive SRAM needed by the controller relative to that (245, Figure 2) of the paging/overlay arrangement.
[0018] Relative to the DRAM approach of Figure 1, the embodiment of Figure 3 is cost effective and the cost per gigabyte of storage on a NAND flash memory chip is much lower, resulting in a significantly lower cost compared to the DRAM based solution. Relative to the paging/overlay arrangement of Figure 2, an embodiment such as presented in Figure 3 provides higher performance. This combination of relatively low cost and relatively high performance makes the use of such an auxiliary non-volatile memory interface suitable for a broad variety of memory system applications, both detachable memory card-type solutions, as well as solid state drives (SSDs) and embedded systems, such as would be found on netbooks, notebooks, set- top boxes, printers, Tablets, SmartBooks, mobile internet devices (MIDs), and so on.
[0019] In the exemplary embodiment, the memory banks are all taken be of the same type, but with one dedicated to metadata. The device used for metadata can be preselected, or determined by the controller when the system is first used, and in the most basic arrangement will be kept fixed, although it could also be rotated for wear leveling or data consolidation reasons. As system data often tends to be rewritten more frequently than user data, this could lead to more frequent writes on the dedicated metadata bank; but as these writes are often relatively small (as opposed the large writes of logically contiguous data write common in user data), and bank capacity can be quite large, this should not result in the lifetime of the metadata bank being a limiting factor for the system. If there are such lifetime concerns for the metadata bank, the controller could manage it differently than the user data banks based on the different data types (small, non-contiguous writes as opposed to large, logically contiguous writes) or even operate the metadata bank in a binary format, while using multi-state (MLC) storage for user data. (More detail on memory systems using both binary and MLC storage is found in US patent application number 12/640,820 filed on December 17, 2009, and US patent applications numbers 12/642,584, 12/642,740, 12/642,611 and 12/642,649, all filed on December 18, 2009.) In other embodiments, the dedicated bank could, for example, be a Flash memory having a NOR architecture, allows the data to be accessed on a cell by cell basis, while the other banks use a NAND architecture.
[0020] Even though the arrangement of Figure 3 shown one bank (305-(n+l)) dedicated to metadata, with the other for user data, some metadata may also be stored on the user data banks. This could be the case for metadata that is specific to a particular set of data or to a particular physical location, such as defect re-mapping, the number of program/erase cycle count associated with a given erase block, or indications of write or erase completion. Figure 3 can also be generalized by including additional metadata blocks/channels, which could then all be used in the same manner, or differentially employed with some types of metadata using one such auxiliary channel and other types using another auxiliary channel.
[0021] The foregoing detailed description of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. The described embodiments were chosen in order to best explain the principles of the invention and its practical application, to thereby enable others skilled in the art to best utilize the invention in various embodiments and with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims appended hereto.

Claims

IT IS CLAIMED:
1. A memory system comprising:
N+1 memory banks of non- volatile memory cells, where N is a non-negative integer; and
a controller circuit to manage the transfer of user data between a host and the memory system and to manage the storage of user data from the host in the memory banks, the controller circuit including:
a host interface whereby user data is transferred between the host and the controller circuit;
an internal bus connected to the host interface;
N+1 memory bank interfaces connected to the internal bus whereby user data and memory management data is respectively transferred between the controller circuit and a corresponding one of the N+1 memory banks; a volatile memory connected to the internal bus, wherein the controller circuit stores memory management data for use in managing the storage of user data;
processing circuitry connected to the internal bus, where the processing circuitry dedicates a first one of said memory banks for the storage of memory management data and stores user data on the other N memory banks.
2. The memory system of claim 1, wherein the memory management data includes logical to physical translation data.
3. The memory system of claim 1, wherein the memory management data includes defect re-mapping data.
4. The memory system of claim 1, wherein the memory management data includes meta-block linking data.
5. The memory system of claim 1, wherein the memory management data includes error correction data.
6. The memory system of claim 1, wherein the processing circuitry further stores user data requiring higher reliability in the first memory bank.
7. The memory system of claim 6, wherein the user data requiring higher reliability includes operating system data.
8. The memory system of claim 6, wherein the user data requiring higher reliability includes system log data.
9. The memory system of claim 1, wherein the controller circuit and each of the memory banks are formed on separate chips.
10. The memory system of claim 9, wherein all of the memory bank chips are formed the same.
11. The memory system of claim 9, wherein the fist of the memory banks is a flash memory having a NOR architecture and the other N memory banks are flash memories of a NAND architecture.
12. The memory system of claim 9, wherein the fist of the memory banks stores data in a binary format and the other N memory banks store data in a multi- state format.
13 The memory system of claim 1, wherein the processing circuitry includes a main processor and a data path manager.
14. The memory system of claim 1, wherein the controller further caches user data in the volatile memory.
15. The memory system of claim 1, wherein the controller further stores code in the volatile memory.
16. A controller formed on an integrated circuit for use with a plurality of N+1 memory banks of non- volatile memory cells, where N is a non-negative integer, to manage the transfer of user data between a host and the memory banks and to manage the storage of user data from the host in the memory banks, the controller comprising:
a host interface whereby user data is transferred between the host and the controller circuit;
an internal bus connected to the host interface;
N+1 memory bank interfaces connected to the internal bus whereby user data and memory management data is respectively transferred between the controller circuit and a corresponding one of the N+1 memory banks;
a volatile memory connected to the internal bus, wherein the controller circuit stores memory management data for use in managing the storage of user data;
processing circuitry connected to the internal bus, where the processing circuitry dedicates a first one of said memory banks for the storage of memory management data and stores user data on the other N memory banks.
17. The controller of claim 16, wherein the memory management data includes logical to physical translation data.
18. The controller of claim 16, wherein the memory management data includes defect re-mapping data.
19. The controller of claim 16, wherein the memory management data includes meta-block linking data.
20. The controller of claim 16, wherein the memory management data includes error correction data.
21. The controller of claim 16, wherein the processing circuitry further stores user data requiring higher reliability in the first memory bank.
22. The controller of claim 21, wherein the user data requiring higher reliability includes operating system data.
23. The controller of claim 21, wherein the user data requiring higher reliability includes system log data.
24 The controller of claim 16, wherein the processing circuitry includes a main processor and a data path manager.
25. The controller of claim 16, wherein the controller further caches user data in the volatile memory.
26. The controller of claim 16, wherein the controller further stores code in the volatile memory.
PCT/US2011/064867 2010-12-15 2011-12-14 Auxiliary interface for non-volatile memory system Ceased WO2012082873A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011800675054A CN103370698A (en) 2010-12-15 2011-12-14 Auxiliary interface for non-volatile memory system
KR1020137017613A KR101861396B1 (en) 2010-12-15 2011-12-14 Auxiliary interface for non- volatile memory system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US12/969,167 2010-12-15
US12/969,167 US20120159040A1 (en) 2010-12-15 2010-12-15 Auxiliary Interface for Non-Volatile Memory System

Publications (1)

Publication Number Publication Date
WO2012082873A1 true WO2012082873A1 (en) 2012-06-21

Family

ID=45531532

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2011/064867 Ceased WO2012082873A1 (en) 2010-12-15 2011-12-14 Auxiliary interface for non-volatile memory system

Country Status (5)

Country Link
US (2) US20120159040A1 (en)
KR (1) KR101861396B1 (en)
CN (1) CN103370698A (en)
TW (1) TW201232273A (en)
WO (1) WO2012082873A1 (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8966191B2 (en) * 2011-03-18 2015-02-24 Fusion-Io, Inc. Logical interface for contextual storage
US9563555B2 (en) 2011-03-18 2017-02-07 Sandisk Technologies Llc Systems and methods for storage allocation
CN104750425B (en) * 2013-12-30 2018-12-18 国民技术股份有限公司 A kind of control method of storage system and its nonvolatile memory
CN104750424B (en) * 2013-12-30 2018-12-18 国民技术股份有限公司 A kind of control method of storage system and its nonvolatile memory
US9582201B2 (en) * 2014-09-26 2017-02-28 Western Digital Technologies, Inc. Multi-tier scheme for logical storage management
US9619165B1 (en) * 2015-10-30 2017-04-11 Sandisk Technologies Llc Convertible leaf memory mapping
KR102466412B1 (en) * 2016-01-14 2022-11-15 삼성전자주식회사 Storage device and operating method of storage device
CN105808378B (en) * 2016-02-26 2018-10-30 华为技术有限公司 Metadata restorative procedure and device
KR102659829B1 (en) * 2016-08-24 2024-04-22 삼성전자주식회사 Methods and systems for controlling Redundant Array of Inexpensive Disks (RAID) operations
US10503635B2 (en) 2016-09-22 2019-12-10 Dell Products, Lp System and method for adaptive optimization for performance in solid state drives based on segment access frequency
US10635617B2 (en) * 2017-05-19 2020-04-28 Western Digital Technologies, Inc. Context-aware dynamic command scheduling for a data storage system
CN108469946B (en) * 2018-03-31 2021-04-20 深圳忆联信息系统有限公司 Chunking method and apparatus for improving SSD write-in efficiency
US10552332B2 (en) 2018-05-10 2020-02-04 Alibaba Group Holding Limited Rapid side-channel access to storage devices
CN108763105B (en) * 2018-05-28 2020-12-01 深圳忆联信息系统有限公司 Method and device for improving writing performance of solid-state storage equipment and computer equipment
US11442628B2 (en) 2018-07-31 2022-09-13 SK Hynix Inc. Apparatus and method for engaging a plurality of memory systems with each other
US11249919B2 (en) 2018-07-31 2022-02-15 SK Hynix Inc. Apparatus and method for managing meta data for engagement of plural memory system to store data
CN110780810B (en) 2018-07-31 2023-06-27 爱思开海力士有限公司 Apparatus and method for interfacing multiple memory systems with each other to store data
US11347644B2 (en) * 2018-10-15 2022-05-31 Texas Instruments Incorporated Distributed error detection and correction with hamming code handoff
US10483978B1 (en) * 2018-10-16 2019-11-19 Micron Technology, Inc. Memory device processing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5570315A (en) 1993-09-21 1996-10-29 Kabushiki Kaisha Toshiba Multi-state EEPROM having write-verify control circuit
US5903495A (en) 1996-03-18 1999-05-11 Kabushiki Kaisha Toshiba Semiconductor device and memory system
US20050216687A1 (en) * 2004-03-28 2005-09-29 Hung-Shiun Fu Data managing method and data access system for storing all management data in management bank of non-volatile memory
US20060140007A1 (en) 2004-12-29 2006-06-29 Raul-Adrian Cernea Non-volatile memory and method with shared processing for an aggregate of read/write circuits
US20090168525A1 (en) * 2007-12-27 2009-07-02 Pliant Technology, Inc. Flash memory controller having reduced pinout

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3614161B2 (en) 2003-05-20 2005-01-26 セイコーエプソン株式会社 Data transfer control device, electronic device, and data transfer control method
US20060282610A1 (en) * 2005-06-08 2006-12-14 M-Systems Flash Disk Pioneers Ltd. Flash memory with programmable endurance
US20090313416A1 (en) * 2008-06-16 2009-12-17 George Wayne Nation Computer main memory incorporating volatile and non-volatile memory
US20100138588A1 (en) * 2008-12-02 2010-06-03 Silicon Storage Technology, Inc. Memory controller and a method of operating an electrically alterable non-volatile memory device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5570315A (en) 1993-09-21 1996-10-29 Kabushiki Kaisha Toshiba Multi-state EEPROM having write-verify control circuit
US5903495A (en) 1996-03-18 1999-05-11 Kabushiki Kaisha Toshiba Semiconductor device and memory system
US6046935A (en) 1996-03-18 2000-04-04 Kabushiki Kaisha Toshiba Semiconductor device and memory system
US20050216687A1 (en) * 2004-03-28 2005-09-29 Hung-Shiun Fu Data managing method and data access system for storing all management data in management bank of non-volatile memory
US20060140007A1 (en) 2004-12-29 2006-06-29 Raul-Adrian Cernea Non-volatile memory and method with shared processing for an aggregate of read/write circuits
US20090168525A1 (en) * 2007-12-27 2009-07-02 Pliant Technology, Inc. Flash memory controller having reduced pinout

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TAL A: "Two Technologies Compared: NOR vs NAND. White Paper", INTERNET CITATION, July 2003 (2003-07-01), XP003012458, Retrieved from the Internet <URL:http://www.m-systems.com/NR/rdonlyres/24795A9E-16F9-404A-857C-IDE2198 6D28/77/NOR_vs_NAND6.psf> [retrieved on 20070101] *

Also Published As

Publication number Publication date
US20120159040A1 (en) 2012-06-21
US20150378948A1 (en) 2015-12-31
KR101861396B1 (en) 2018-05-28
TW201232273A (en) 2012-08-01
KR20140023881A (en) 2014-02-27
CN103370698A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
US20120159040A1 (en) Auxiliary Interface for Non-Volatile Memory System
KR102333297B1 (en) Compressed data and tagged cache
US10102119B2 (en) Garbage collection based on queued and/or selected write commands
US9448946B2 (en) Data storage system with stale data mechanism and method of operation thereof
US20190114272A1 (en) Methods and apparatus for variable size logical page management based on hot and cold data
US20230342055A1 (en) Control method of flash memory controller and associated flash memory controller and storage device
US10289557B2 (en) Storage system and method for fast lookup in a table-caching database
US20170147499A1 (en) Multi-Level Logical to Physical Address Mapping Using Distributed Processors in Non-Volatile Storage Device
US10115437B1 (en) Storage system and method for die-based data retention recycling
CN102792284B (en) Memory devices loss equalization technology
US8954656B2 (en) Method and system for reducing mapping table size in a storage device
US20160188455A1 (en) Systems and Methods for Choosing a Memory Block for the Storage of Data Based on a Frequency With Which the Data is Updated
US8667234B2 (en) Data writing method, memory controller, and memory storage apparatus
US9971514B2 (en) Dynamic logical groups for mapping flash memory
US9323657B1 (en) Memory system and method for improving read latency of a high-priority partition
US10713157B2 (en) Storage system and method for improving read performance using multiple copies of a logical-to-physical address table
CN114510434A (en) Data aggregation in ZNS drivers
CN104126177A (en) System and method for pre-interleaving sequential data
US20200042455A1 (en) Dara storage apparatus capable of varying map cache buffer size
US20240385958A1 (en) Exception list compression for logical-to-physical tables
CN115756299B (en) Storage system and method for storing logical to physical address table entries in codewords in volatile memory
KR101386013B1 (en) Hybrid storage device
US9727453B2 (en) Multi-level table deltas
CN119487485A (en) SSD usage of host memory buffer for improved performance
US11030106B2 (en) Storage system and method for enabling host-driven regional performance in memory

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11813476

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20137017613

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 11813476

Country of ref document: EP

Kind code of ref document: A1