WO2016077091A1 - Memory wear leveling - Google Patents
Memory wear leveling Download PDFInfo
- Publication number
- WO2016077091A1 WO2016077091A1 PCT/US2015/058634 US2015058634W WO2016077091A1 WO 2016077091 A1 WO2016077091 A1 WO 2016077091A1 US 2015058634 W US2015058634 W US 2015058634W WO 2016077091 A1 WO2016077091 A1 WO 2016077091A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sector
- sub
- wear
- sectors
- memory
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0616—Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0644—Management of space entities, e.g. partitions, extents, pools
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
- G06F3/0649—Lifecycle management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0688—Non-volatile semiconductor memory arrays
Definitions
- Embodiment of the present invention relate generally to the field of memory devices and more particularly, to systems and methods of wear leveling for memory devices.
- Computer systems and other electrical systems generally include one or more memory devices.
- computers often employ NOR flash memory and NAND flash memory.
- NOR and NAND flash each have certain advantages over the other.
- NOR flash memory typically has slower write and erase speeds than NAND flash.
- NAND flash memory typically has more endurance than NOR flash memory.
- NOR flash memory typically enables random access to data stored within the memory devices, whereas, NAND flash memory generally requires accessing and writing data in larger groups.
- NAND flash memory typically includes a plurality of blocks that each includes a plurality of pages, wherein each page includes a large number of bytes of data. In operation, data is erased one block at a time, and written one page at a time.
- Wear leveling can be applied to spread data across various physical sectors of the memory.
- Wear leveling generally includes writing data to the various sectors to ensure an even use of the cells to prevent certain portions of the memory array from prematurely failing.
- Wear leveling may include initially writing the data to one of the various sectors in the memory array, or may include moving the data from one physical sector within the memory array and writing that same data to another physical sectors in the memory array.
- Some memory technologies feature an additional level of granularity inside each sector called sub-sectors.
- Sub-sectors are segments of memory inside the sector of a memory.
- the sub-sectors may be individually accessed (e.g., programmed and/or erased). Accordingly, the sub-sectors have separate cycling, and thus, different wear-out from other sub-sectors within the memory.
- traditional wear leveling techniques have not effectively accounted for sub-sector wear, especially in high data cycling application (e.g., page-flash implementations), where the number of cycles may reach into the hundreds of thousands.
- FIG. 1 is a block diagram depicting a memory system having sub-sector wear circuitry that performs an intra-sector swap, in accordance with an embodiment
- FIG. 2 is a flow diagram illustrating the sector for sub-sector swap process, in accordance with an embodiment
- FIG. 3 is a schematic diagram illustrating a sector for sub-sector swap where over- cycling may occur; in accordance with an embodiment
- FIG. 4 is a flow-chart illustrating such an intra-sector swap process, in accordance with an embodiment
- FIG. 5 is a schematic diagram illustrating intra-sector swap using the process of FIG. 4, in accordance with an embodiment
- FIG. 6 is a flow diagram illustrating an intermediate intra-sector bundle swap process, in accordance with an embodiment
- FIG. 7 is a schematic diagram illustrating intra-sector swap, using the process of FIG. 6, in accordance with an embodiment
- FIG. 8 is a schematic drawing illustrating a system with rescrambling circuitry, in accordance with an embodiment
- FIG. 9 is a schematic drawing illustrating a system having rescrambling circuitry that uses a multiplexer (MUX), in accordance with an embodiment.
- MUX multiplexer
- FIG. 10 is a schematic drawing illustrating a system having rescrambling circuitry that uses a combinational logic, in accordance with an embodiment.
- FIG. 1 is a block diagram that depicts a memory system, as generally designated by reference numeral 10.
- the memory system 10 may be any of a variety of types, such as those used in a computer, pager, cellular phone, personal organizer, control circuit, etc.
- the memory device may be NAND or NOR type flash memory.
- the system 10 includes a master device 12 and a slave device 14.
- the master device 12 may include a microcontroller and the slave device 14 may include a memory device.
- the master device 12 communicates with the slave device 14 via various transmission lines.
- the master device 12 and the slave device 14 send and receive signals via a peripheral interface (PI).
- the PI includes a PI bus 16.
- the PI bus 16 is a synchronous serial data link standard that operates in full duplex mode. Devices on the PI bus 16 may operate in a master/slave mode that enables the master device 12 to initiate data frames to one or more slave devices 14.
- the master device 12 and the slave device 14 generally include shift registers that enable them to exchange and store data values. In operation, the master device 12 and the slave device 14 can do various things with the data stored in the registers, such as save the data to memory
- the slave device 14 (e.g., the memory device) includes a controller 18, a cache 20, a memory array 22, and an ECC 24 status register.
- the controller 18 receives and transmits data via the PI bus 16. Data that is transmitted across the PI bus 16 is received by inputs of the controller 18.
- the controller 18 also transmits and receives signals via data transfer input/output lines (DT I/O) and control lines 26, 28 and 30 that are internal to the memory device 14.
- the DT I/O lines enable communication with the cache 20.
- the control line 26 enables the controller 18 to transmit and receive control signals to and from the cache 20.
- the control line 28 enables the PI controller to transmit and receive control signals to and from the memory array 22.
- the control line 30 enables the PI controller to transmit and receive control signals to and from the error-correcting code (ECC) status register 24.
- ECC error-correcting code
- the controller 18 receives the data transmitted via the PI bus 16, and synchronizes the flow of data (DT I/O) and control signals between other components of the memory 14.
- the PI controller 18 may receive data and commands in a serialized format via the bus 16, and parse the incoming serialized signal for the data and the commands.
- the controller 18 may include shift registers that provide appropriate timing of the signals transmitted and received by the controller 18.
- the controller 18 may include algorithms that are run onboard to interpret incoming signals that include commands, addresses, data, and the like. The algorithms may also include routines to determine the appropriate outputs of the controller 18, including address schemes, error corrections, movements of data within the memory array 22, and the like. As will be discussed in more detail below, in some embodiments, the controller 18 may move stored data to prevent excessive wear caused by data cycling.
- the controller 18 may include circuitry to synchronize the transmission of data from the controller 18 to the master device 12 via the bus 16.
- data (DT I/O) is transferred to or from the memory array 22 byte -by-byte through the cache 20.
- the cache 20 acts as a data buffer for the data being transferred from the controller 18 to the memory array 22. Data may be written into the cache 20 and subsequently written into the memory array 22. Similarly, data may be read from the memory array 22 into the cache 20, and subsequently transmitted from the cache 20 to the master device 12 via the controller 18 and the bus 16.
- the cache 20 may be various sizes. For instance, the cache 20 may include 2048 bytes, 4096 bytes, 8192 bytes or a multiple thereof.
- the cache 20 may also be smaller sizes such, as 256 bytes or 512 bytes. It should be noted, that in certain embodiments, a data register may reside in the cache 20 or the memory array 22 to provide a path for the transfer of data between the cache 20, and the memory array 22. In other words, a plurality of data bits may be shifted into the data register before being written to an address of the memory array 22.
- the ECC status register 24 is used to detect and/or correct bit errors that can occur during normal operation, as well as bit errors that occur due to charge loss/gain that develop over time.
- the ECC status register 24 may include circuitry used to detect and correct errors when reading data back from the memory array 22.
- the ECC status register 24 may supplement algorithms employed on the controller 18.
- the ECC status register 24 may also include a group of sub-registers. These sub-registers may include an ECC enable/disable register that enables optional ECC for the memory device data, an ECC type register that stores the total number of errors discovered, an ECC location register that stores the location of any
- an ECC NAND memory result register that stores information regarding the result of any error correction process on the memory array 22
- an ECC cache memory result register that stores information regarding the result of any error correction process on the cache 20.
- the ECC status register 24 may include all of the previous ECC sub-registers or any combination of the preceding sub-registers. Although the ECC status register 24 is shown to be external to the controller 18, the ECC status register 24 may be integral to the controller 18.
- the memory array 22 includes a memory cell array that is divided into sectors 30. Each sector includes a fixed number of sub-sectors 32. The memory array 22 may include any number and size of sectors 30 and sub-sectors 32. The memory array 22 may be programmed and/or erased at the sector 30 and/or the sub-sector 32 level. [0023] As mentioned above, certain memory cells have a limited number of write/erase cycles (e.g. 100,000 program/ erase cycles). To prolong the life of the memory device 14, "wear leveling" can be applied to spread data across various physical locations of the memory. Wear leveling generally includes writing data to the various locations to ensure an even use of the cells to prevent certain portions of the memory array 22 from prematurely failing.
- Wear leveling may include initially writing the data to one of the various locations in the memory array 22, or may include moving the data from one physical location (e.g., an address) within the memory array 22 and writing that same data to another physical location in the NAND memory array 22.
- the controller 18 may manage the wear leveling routines used to determine where the data is written to. For example, algorithms, and/or circuitry on the controller 18 may monitor the memory usage and determine an appropriate address to write data within the memory array 22.
- the controller 18 (or other component of the memory system 10) may include sub- sector wear circuitry 34 that, as will be discussed in more detail below, provides wear leveling based upon the amount of wear of individual sub-sectors 32 within the memory array 22.
- a block mapping unit (BMU) may be responsible for tracking swap histories as well as re-mapping sectors and/or sub-sectors (e.g., updating addresses of sectors and/or sub-sectors to be remapped).
- sub-sector wear circuitry 34 is illustrated as a part of the controller 18 in embodiment of FIG. 1 , the sub-sector wear circuitry 34 may be implemented, in part or in whole, at other components of the memory system 10.
- the master device 12 may include a portion of the wear level routines making up the circuitry 34.
- the slave device 14 may include another portion of the wear level routines making up the circuitry 34.
- the sub-sector wear circuitry 34 may be implemented using a number of different approaches.
- a hierarchical wear level approach may be implemented.
- the hierarchical wear level approach may implement sub-sector 32 wear leveling inside each sector 30.
- sub-sectors 32 may be swapped inside a sector 30 based upon the relative wear levels of the sub-sectors 32 within the sector 30.
- a trade-off for a hierarchical wear level approach is that there is increased hardware overhead for such an approach. For example, assignment of individual address remapping hardware may be needed within each sector to achieve this approach.
- sub-sectors may be individually swapped as if they were individual sectors. In essence, this acts to flatten the sub-sector hierarchy, causing an increase in the number of swaps and the swapping pool.
- a trade-off for this approach is that the increased swapping pool may lead to very complex management of swapping, especially at the sector level.
- FIG. 2 is a flow diagram illustrating the sector for sub-sector swap process 50, in accordance with an embodiment.
- the system 10 may detect whether any of the sectors 30 have a high wear level (decision block 52).
- the sector wear level may be based upon information about one or more of the sub-sectors 32 within the sector 30.
- wear may be determined based upon highest cycle count of a sub-sector 32 within the sector 30, a sum of the sub-sector 32 cycle counts for all sub-sectors 32 within a given sector 30, an average of the sub-sector 32 cycle counts for all sub-sectors 32 within a given sector 30, etc.
- a high wear level may be found when a predetermined threshold cycle count is breached (e.g., when a cycle count exceeds 100,000 cycles).
- the system 10 continues to monitor for sectors 30 having a high wear level. Once a sector 30 is found to have a high wear level, a swap may be triggered, where the sector 30 having the high wear level is the target sector for swapping to a destination sector 30. Accordingly, this high wear level sector 30 may be referred to as the "Target sector.”
- the best destination sector 30 may be the sector 30 having the least wear. This sector may be referred to as the "Min Sector.”
- the Min Sector is determined (block 54).
- the wear level may be based upon highest cycle count of a sub- sector 32 within the sector 30, a sum of the sub-sector 32 cycle counts for all sub-sectors 32 within a given sector 30, an average of the sub-sector 32 cycle counts for all sub-sectors 32 within a given sector 30, etc.
- the Min Sector may be determined by pinpointing the sector having the lowest wear level based upon the cycle counts. Once the Target Sector and the Min Sector are determined, a swap occurs from the Target Sector to the Min Sector (block 56).
- the swap may include moving data within the memory array 22 to alternative locations in the memory array 22.
- This process may generally include loading data from a first address in the memory array 22 into a cache.
- the cached data may then be written to a new destination location within the array 22.
- the swapping level becomes more manageable by broadening the swap to the sector level, while triggering swaps based upon sub-sector wear levels.
- the transferred sub-sectors 32 in the sector 30 where the worn sub-sector is located retain their sub- sector position in an alternative sector 30 having less wear.
- One tradeoff for this approach may be over-cycling. For example, when a sector 30 swap is triggered to address wear of one or few sub-sectors 32 within the sector 30, the sector 30 swap may result in the transfer of a sub-sector 32 to a relatively higher- wear sub-sector 32 at the new sector 30 location. Accordingly, these transfers may result in increased wear of the target sub-sectors 32.
- FIG. 3 is a schematic diagram illustrating a sector for sub-sector swap 60 where over-cycling may occur.
- the sub-sectors 32 for transfer from the target sector 62 to the Min Sector 64 retain their relative positions at the Min Sector 64. Accordingly, sub-sector SS4 of the Target Sector 62 remains SS4 in the Min Sector 64 after transfer. As illustrated, SS4 in the Min Sector 64 may be the relatively-highest wear level sub-sector in the Min Sector 64. Accordingly, this swap may lead to an accumulation of cycles and an over-cycling of the Min Sector 64.
- additional logic/circuitry may be implemented to extend the sector for sub-sector swap to reduce sub-sector 32 wear.
- the additional logic/circuitry may embed an intra-sector swap of a sub-sector 32 whenever a sector 30 swap is triggered in the sector for sub-sector swap process 50 of FIG. 2.
- FIG. 4 is a flow-chart illustrating such an intra-sector swap process 70.
- the system 10 may detect whether any of the sectors 30 have a high wear level (decision block 52).
- the sector wear level may be based upon information about one or more of the sub-sectors 32 within the sector 30, such as the highest cycle count of a sub- sector 32 within the sector 30, a sum of the sub-sector 32 cycle counts for all sub-sectors 32 within a given sector 30, an average of the sub-sector 32 cycle counts for all sub-sectors 32 within a given sector 30, etc.
- a high wear level may be found when a predetermined threshold cycle count is breached (e.g., when a cycle count exceeds 100,000 cycles).
- the system 10 continues to monitor for sectors 30 having a high wear level. Once a sector 30 is found to have a high wear level, a swap may be triggered from the Target Sector 62 to the Min Sector 64. Once a swap is triggered, the Min Sector 64 is determined (block 54). As mentioned above, the Min Sector 64 may be determined by pinpointing the sector having the lowest wear level based upon sub-sector cycle counts.
- a swap with an embedded sub-sector swap process 72 occurs (block 74).
- the embedded sub-sector swap process 72 includes determining the Min Sub-Sector (the sub-sector having the lowest wear level) of the Min Sector 64 (block 76).
- the Target sub-sector e.g., the sub-sector having the high wear in the target sector 62
- FIG. 5 is a schematic diagram illustrating intra-sector swap 90, in accordance with the process 70 of FIG. 4.
- sub-sector SS4 is the Max Sub-Sector 92 of the target sector 62.
- SS4 is the sub-sector to be erased.
- the Max Sub-Sector 92 is swapped with the Min Sub- Sector 94. Accordingly, over-cycling may be reduced, by ensuring that the Max Sub-Sector 92 is not placed in the sub-sector 96 having the relatively highest wear in the Min Sector 64.
- the intra-sector swap of Max Sub-Sector 92 and the Min Sub- Sector 94 may result in the reduction of cycle accumulation.
- each sector 30 includes 16 sub-sectors 32. Accordingly, by implementing the Max Sub-Sector 92 and the Min Sub-Sector 94 swap, the cycle number may be 16 times less than the a process that does not utilize this swap. Further, because the swap is an intra-sector swap, any processing time increase may be negligible.
- the process 70 may utilize an increased silicon area.
- the block mapping unit (BMU) may need to track each sub-sector's address instead of merely tracking sector addresses.
- FIG. 6 is a flow diagram illustrating an intermediate intra-sector bundle swap process 1 10, in accordance with an embodiment.
- the sub-sectors may be bundled (block 1 12), such that a less granular address for a plurality of the sub-sectors may be alternatively used.
- the addresses may be less granular, fewer bits of data may be used to define an address of the bundled sub-sectors. Thus, less silicon area may be utilized.
- the system 10 may detect whether any of the sectors 30 have a high wear level (decision block 52).
- the sector wear level may be based upon information about one or more of the sub-sectors 32 within the sector 30, such as the highest cycle count of a sub-sector 32 within the sector 30, a sum of the sub-sector 32 cycle counts for all sub-sectors 32 within a given sector 30, an average of the sub-sector 32 cycle counts for all sub-sectors 32 within a given sector 30, etc.
- a high wear level may be found when a pre-determined threshold cycle count is breached (e.g., when a cycle count exceeds 100,000 cycles).
- the system 10 continues to monitor for sectors 30 having a high wear level. Once a sector 30 is found to have a high wear level, a swap may be triggered from the Target Sector 62 to the Min Sector 64. Once a swap is triggered, the Min Sector is determined (block 54). As mentioned above, the Min Sector 64 may be determined by pinpointing the sector having the lowest wear level based upon sub-sector cycle counts.
- the embedded bundled sub-sector swap process 1 14 includes determining the Min Bundle (the bundle containing the sub-sector having the lowest wear level and/or the bundle having the lowest wear level) of the Min Sector 64 (block 1 18).
- the Target Bundle e.g., the bundle containing the sub-sector having the high wear in the target sector 62
- the process 1 10 may provide less mitigation of cycle counts than the process 70, it reduces the number of cycles over a standard sector for sub-sector swap approach. Further, because the swaps involve bundles of sub-sectors rather than individual sub-sectors, the management complexity and silicon area usage may be reduced. For example, the block mapping units may retain and manage swaps on a less-granular level than process 70. Thus, the processing complexity and the silicon area may be reduced, while still mitigating some of the unnecessary cycling that occurs in the sector to sub-sector swap approach that does not include an intra-sector swap.
- FIG. 7 is a schematic diagram illustrating intra-sector swap 140, in accordance with the process 1 10 of FIG. 6.
- the sub-sectors 32 are bundled into addressable bundles 142.
- the sectors 30 include 16 sub- sectors 32
- the sub-sectors are bundled into quartets of four subsectors 32.
- each of the bundles is addressable in a less-granular manner than would be possible when addressing each sub-sector 32 individually.
- the bundles may be address using two-bits 144.
- individually addressing each sub-sector 32 may utilize increased silicon area.
- the sub-sector SS4 is the Max sub-sector 92 of the target sector 62. In other words, SS4 is the sub-sector to be erased. Further, the bundle 146 with the address "10" is the Max bundle 146, because it contains the Max sub-sector 92. Using the bundled sub-sector swap embedded in the Target Sector 62 to Min Sector 64 swap, the Max Bundle 146 is swapped with the Min Bundle 148 (the bundle 142 that contains the Min Sub-Sector 94).
- over-cycling may be reduced, by ensuring that the Max Bundle 146 is not placed in the bundle containing the sub-sector 96 having the relatively highest wear in the Min Sector 64.
- the intra-sector bundled sub-sector swap of Max Bundle 146 and the Min Bundle 148 may result in the reduction of cycle accumulation.
- each sector 30 includes 4 bundles 142.
- the cycle number may be 4 times less than the a process that does not utilize this swap.
- the processing and silicon area utilization may be less than the process 70.
- the processing time increase may be negligible.
- FIG. 8 is a schematic drawing illustrating a system 160 with rescrambling circuitry 162 that can globally re-map addresses of the sub-sectors, bundles of sub-sectors, etc. to dilute the Max Sub-Sector 92 and/or the Max Bundle 146 from being placed at a sub-sector 32 location in the Min Sector 64 having the highest wear of the Min Sector 64.
- the block mapping unit (BMU) 164 receives the logical sector address 166 of a sector 30 where rescrambling is to occur.
- the BMU 164 may then cause a global address re-mapping by outputting a physical sector address 168 of the sector 30 and one or more configuration bits 170 that cause a particular remapping of a logical intra-sector address 172 to occur.
- the configuration bits are received at the rescrambling circuitry 162, where a remapped physical intra-sector address 174 is outputted based upon the configuration bits 170 and the logical intra-sector address 172.
- the rescrambling circuitry 162 may include a multiplexer (MUX) solution, as illustrated in FIG. 9.
- the configuration bits 170 may include multiple sets of bits 190, where the sets of bits 190 represent addresses to swap to.
- the sets of bits 190 each represent one of the four quartet bundles.
- x 2 the number of bits needed to represent the address of the swapped to items
- the multiplexer (e.g., the rescrambling circuitry 162) selects one of the sets of bits 190 for remapping, as indicated by the dashed lines 192.
- the multiplexer selection is controlled by the logical intra-sector address 172 received as input to the rescrambling circuitry 162.
- a remapped physical intra-sector address 174 is outputted.
- this rescrambling solution may require less silicon area than circuitry that performs an intra-sector swap (e.g., in accordance with the process 70 and/or 1 10).
- this process may include some additional overhead, because the number of sets of bits 190 may be numerous. Accordingly, in some embodiments, it may be beneficial to use an alternative solution that uses fewer configuration bits 170.
- FIG. 10 illustrates an embodiment of a system 160 where combinational logic 200 (e.g., Summation logic 202 and/or Exclusive Or (XOR) logic 204) is used in conjunction with a single set 210 of configuration bits 170 and the logical intra-sector address 172 to output a remapped physical intra-sector address 174.
- combinational logic 200 e.g., Summation logic 202 and/or Exclusive Or (XOR) logic 204
- the block mapping unit (BMU) 164 receives the logical sector address 166 as input.
- the BMU 164 provides, as output, the physical sector address 168 and a set 210 of configuration bits 170 that may be used in conjunction with the combination logic 200 to remap the logical intra-sector address 172.
- the remapping provided by the rescrambling logic may dilute intra-sector cycling by avoiding a high-wear to high-wear placement of sub-sectors.
- this solution does not necessarily provide a highest-wear to lowest-wear solution.
- the rescrambling circuitry uses the combination logic 200 between the logical intra-sector address 172 and the set 210 to output the remapped physical intra-sector address. For example, to remap a bundle quartet having the address "01 " to a bundle quartet having the address "10" using the summation logic 202, the set 210 of configuration bits 170 provided from the BMU 164 are "01." Alternatively, to achieve the same remap using the XOR logic 204, the set 210 of configuration bits 170 are "1 1.”
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Memory System (AREA)
- Read Only Memory (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201580062243.0A CN107003810B (zh) | 2014-11-13 | 2015-11-02 | 存储器耗损平均 |
| KR1020177015711A KR102245652B1 (ko) | 2014-11-13 | 2015-11-02 | 메모리 마모 레벨링 |
| JP2017525331A JP6317039B2 (ja) | 2014-11-13 | 2015-11-02 | メモリウェアレベリング |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/540,968 US9830087B2 (en) | 2014-11-13 | 2014-11-13 | Memory wear leveling |
| US14/540,968 | 2014-11-13 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016077091A1 true WO2016077091A1 (en) | 2016-05-19 |
Family
ID=55954861
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2015/058634 Ceased WO2016077091A1 (en) | 2014-11-13 | 2015-11-02 | Memory wear leveling |
Country Status (6)
| Country | Link |
|---|---|
| US (2) | US9830087B2 (enExample) |
| JP (1) | JP6317039B2 (enExample) |
| KR (1) | KR102245652B1 (enExample) |
| CN (1) | CN107003810B (enExample) |
| TW (1) | TWI576758B (enExample) |
| WO (1) | WO2016077091A1 (enExample) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019017017A1 (ja) * | 2017-07-18 | 2019-01-24 | ソニーセミコンダクタソリューションズ株式会社 | ウェアレベリング処理を行うメモリコントローラ |
| EP3477463A1 (en) * | 2017-10-31 | 2019-05-01 | EMC IP Holding Company LLC | Method and system for using wear-leveling using a multi-gap progress field |
| JP2021506053A (ja) * | 2017-12-05 | 2021-02-18 | マイクロン テクノロジー,インク. | 不揮発性メモリにおけるデータ移動動作 |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9830087B2 (en) * | 2014-11-13 | 2017-11-28 | Micron Technology, Inc. | Memory wear leveling |
| CN108920386B (zh) * | 2018-07-20 | 2020-06-26 | 中兴通讯股份有限公司 | 面向非易失性内存的磨损均衡及访问方法、设备和存储介质 |
| US10817430B2 (en) | 2018-10-02 | 2020-10-27 | Micron Technology, Inc. | Access unit and management segment memory operations |
| KR20220066402A (ko) * | 2019-10-09 | 2022-05-24 | 마이크론 테크놀로지, 인크. | 자가-적응형 웨어 레벨링 방법 및 알고리즘 |
| KR102860142B1 (ko) | 2023-03-03 | 2025-09-16 | 윈본드 일렉트로닉스 코포레이션 | 반도체 장치 및 웨어 레벨링 방법 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040083335A1 (en) * | 2002-10-28 | 2004-04-29 | Gonzalez Carlos J. | Automated wear leveling in non-volatile storage systems |
| US20080162798A1 (en) * | 1991-09-13 | 2008-07-03 | Lofgren Karl M J | Wear leveling techniques for flash eeprom systems |
| US20080313505A1 (en) * | 2007-06-14 | 2008-12-18 | Samsung Electronics Co., Ltd. | Flash memory wear-leveling |
| US20130238846A1 (en) * | 2007-10-17 | 2013-09-12 | Micron Technology, Inc. | Serial interface nand |
| WO2014074449A2 (en) * | 2012-11-06 | 2014-05-15 | Spansion Llc | Wear leveling in flash memory devices with trim commands |
Family Cites Families (60)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5430859A (en) * | 1991-07-26 | 1995-07-04 | Sundisk Corporation | Solid state memory system including plural memory chips and a serialized bus |
| US5956743A (en) * | 1997-08-25 | 1999-09-21 | Bit Microsystems, Inc. | Transparent management at host interface of flash-memory overhead-bytes using flash-specific DMA having programmable processor-interrupt of high-level operations |
| US6000006A (en) * | 1997-08-25 | 1999-12-07 | Bit Microsystems, Inc. | Unified re-map and cache-index table with dual write-counters for wear-leveling of non-volatile flash RAM mass storage |
| US7610438B2 (en) * | 2000-01-06 | 2009-10-27 | Super Talent Electronics, Inc. | Flash-memory card for caching a hard disk drive with data-area toggling of pointers stored in a RAM lookup table |
| US8266367B2 (en) * | 2003-12-02 | 2012-09-11 | Super Talent Electronics, Inc. | Multi-level striping and truncation channel-equalization for flash-memory system |
| EP1265252A1 (en) * | 2001-06-05 | 2002-12-11 | STMicroelectronics S.r.l. | A method for sector erasure and sector erase verification in a non-voltaile FLASH EEPROM |
| US7035967B2 (en) * | 2002-10-28 | 2006-04-25 | Sandisk Corporation | Maintaining an average erase count in a non-volatile storage system |
| US7096313B1 (en) * | 2002-10-28 | 2006-08-22 | Sandisk Corporation | Tracking the least frequently erased blocks in non-volatile memory systems |
| US6985992B1 (en) * | 2002-10-28 | 2006-01-10 | Sandisk Corporation | Wear-leveling in non-volatile storage systems |
| US6831865B2 (en) * | 2002-10-28 | 2004-12-14 | Sandisk Corporation | Maintaining erase counts in non-volatile storage systems |
| US6973531B1 (en) * | 2002-10-28 | 2005-12-06 | Sandisk Corporation | Tracking the most frequently erased blocks in non-volatile memory systems |
| US7103732B1 (en) * | 2002-10-28 | 2006-09-05 | Sandisk Corporation | Method and apparatus for managing an erase count block |
| US8706990B2 (en) * | 2003-10-28 | 2014-04-22 | Sandisk Technologies Inc. | Adaptive internal table backup for non-volatile memory system |
| US7089349B2 (en) * | 2003-10-28 | 2006-08-08 | Sandisk Corporation | Internal maintenance schedule request for non-volatile memory system |
| US7415646B1 (en) * | 2004-09-22 | 2008-08-19 | Spansion Llc | Page—EXE erase algorithm for flash memory |
| US7441067B2 (en) | 2004-11-15 | 2008-10-21 | Sandisk Corporation | Cyclic flash memory wear leveling |
| US9171585B2 (en) * | 2005-06-24 | 2015-10-27 | Google Inc. | Configurable memory circuit system and method |
| US20080246878A1 (en) * | 2005-10-05 | 2008-10-09 | Nxp B.V. | Teletext Processing Circuit |
| US7778088B2 (en) * | 2006-12-19 | 2010-08-17 | Spansion Llc | Erasing flash memory using adaptive drain and/or gate bias |
| US8321597B2 (en) * | 2007-02-22 | 2012-11-27 | Super Talent Electronics, Inc. | Flash-memory device with RAID-type controller |
| US8543742B2 (en) * | 2007-02-22 | 2013-09-24 | Super Talent Electronics, Inc. | Flash-memory device with RAID-type controller |
| DE602008002278D1 (de) * | 2007-05-02 | 2010-10-07 | St Microelectronics Sa | Nicht flüchtiger Speicher mit drehbaren Hilfssegmenten |
| US8694715B2 (en) * | 2007-10-22 | 2014-04-08 | Densbits Technologies Ltd. | Methods for adaptively programming flash memory devices and flash memory systems incorporating same |
| WO2009072103A2 (en) * | 2007-12-05 | 2009-06-11 | Densbits Technologies Ltd. | Flash memory apparatus and methods using a plurality of decoding stages including optional use of concatenated bch codes and/or designation of 'first below' cells |
| KR101454817B1 (ko) * | 2008-01-11 | 2014-10-30 | 삼성전자주식회사 | 반도체 메모리 장치 및 그것의 마모도 관리 방법 |
| US8352671B2 (en) * | 2008-02-05 | 2013-01-08 | Spansion Llc | Partial allocate paging mechanism using a controller and a buffer |
| US9251899B2 (en) * | 2008-02-12 | 2016-02-02 | Virident Systems, Inc. | Methods for upgrading main memory in computer systems to two-dimensional memory modules and master memory controllers |
| KR20100139010A (ko) * | 2008-03-11 | 2010-12-31 | 에이저 시스템즈 인크 | 멀티-레벨 셀 플래쉬 메모리 디바이스 내에 데이터를 저장하는 방법 및 멀티-레벨 셀 플래쉬 메모리 디바이스 |
| US8738840B2 (en) * | 2008-03-31 | 2014-05-27 | Spansion Llc | Operating system based DRAM/FLASH management scheme |
| KR101437123B1 (ko) * | 2008-04-01 | 2014-09-02 | 삼성전자 주식회사 | 메모리 시스템 및 그것의 마모도 관리 방법 |
| US9547589B2 (en) * | 2008-06-18 | 2017-01-17 | Super Talent Technology, Corp. | Endurance translation layer (ETL) and diversion of temp files for reduced flash wear of a super-endurance solid-state drive |
| US8959280B2 (en) | 2008-06-18 | 2015-02-17 | Super Talent Technology, Corp. | Super-endurance solid-state drive with endurance translation layer (ETL) and diversion of temp files for reduced flash wear |
| US8843691B2 (en) * | 2008-06-25 | 2014-09-23 | Stec, Inc. | Prioritized erasure of data blocks in a flash storage device |
| US8140739B2 (en) * | 2008-08-08 | 2012-03-20 | Imation Corp. | Flash memory based storage devices utilizing magnetoresistive random access memory (MRAM) to store files having logical block addresses stored in a write frequency file buffer table |
| JP5272013B2 (ja) * | 2008-10-01 | 2013-08-28 | 株式会社日立製作所 | 半導体装置 |
| US8589700B2 (en) * | 2009-03-04 | 2013-11-19 | Apple Inc. | Data whitening for writing and reading data to and from a non-volatile memory |
| US8566510B2 (en) * | 2009-05-12 | 2013-10-22 | Densbits Technologies Ltd. | Systems and method for flash memory management |
| US20110002169A1 (en) * | 2009-07-06 | 2011-01-06 | Yan Li | Bad Column Management with Bit Information in Non-Volatile Memory Systems |
| US8688894B2 (en) * | 2009-09-03 | 2014-04-01 | Pioneer Chip Technology Ltd. | Page based management of flash storage |
| EP2299363B1 (fr) * | 2009-09-21 | 2013-01-09 | STMicroelectronics (Rousset) SAS | Procédé de nivellement de l'usure dans une mémoire non volatile |
| WO2011159805A2 (en) * | 2010-06-15 | 2011-12-22 | Fusion-Io, Inc. | Apparatus, system, and method for providing error correction |
| US9170933B2 (en) * | 2010-06-28 | 2015-10-27 | International Business Machines Corporation | Wear-level of cells/pages/sub-pages/blocks of a memory |
| US20110320910A1 (en) * | 2010-06-29 | 2011-12-29 | Yi-Chun Liu | Storage management method and storage system |
| WO2012050935A2 (en) * | 2010-09-28 | 2012-04-19 | Fusion-Io, Inc. | Apparatus, system, and method for data transformations within a data storage device |
| US8273610B2 (en) * | 2010-11-18 | 2012-09-25 | Monolithic 3D Inc. | Method of constructing a semiconductor device and structure |
| US8583987B2 (en) * | 2010-11-16 | 2013-11-12 | Micron Technology, Inc. | Method and apparatus to perform concurrent read and write memory operations |
| US9213594B2 (en) * | 2011-01-19 | 2015-12-15 | Intelligent Intellectual Property Holdings 2 Llc | Apparatus, system, and method for managing out-of-service conditions |
| KR20120132820A (ko) * | 2011-05-30 | 2012-12-10 | 삼성전자주식회사 | 스토리지 디바이스, 스토리지 시스템 및 스토리지 디바이스의 가상화 방법 |
| WO2013095641A1 (en) * | 2011-12-23 | 2013-06-27 | Intel Corporation | Sub-block based wear leveling |
| US8842473B2 (en) * | 2012-03-15 | 2014-09-23 | Sandisk Technologies Inc. | Techniques for accessing column selecting shift register with skipped entries in non-volatile memories |
| US9430322B2 (en) | 2012-08-02 | 2016-08-30 | Sandisk Technologies Llc | Device based wear leveling using intrinsic endurance |
| US9405621B2 (en) * | 2012-12-28 | 2016-08-02 | Super Talent Technology, Corp. | Green eMMC device (GeD) controller with DRAM data persistence, data-type splitting, meta-page grouping, and diversion of temp files for enhanced flash endurance |
| US9547586B2 (en) * | 2013-01-03 | 2017-01-17 | Macronix International Co., Ltd. | Metadata containers with indirect pointers |
| US9081710B2 (en) * | 2013-04-11 | 2015-07-14 | Spansion Llc. | Restoring ECC syndrome in non-volatile memory devices |
| JP5931816B2 (ja) * | 2013-08-22 | 2016-06-08 | 株式会社東芝 | ストレージ装置 |
| US9195590B2 (en) * | 2013-08-29 | 2015-11-24 | Micron Technology, Inc. | Sub-sector wear leveling in memories |
| KR102136396B1 (ko) * | 2013-08-30 | 2020-07-22 | 삼성전자주식회사 | 디램의 배드 페이지 관리 기능을 갖는 디램 콘트롤러 및 그에 따른 배드 페이지 관리방법 |
| US9336129B2 (en) * | 2013-10-02 | 2016-05-10 | Sandisk Technologies Inc. | System and method for bank logical data remapping |
| EP3080815B1 (fr) * | 2013-12-12 | 2023-11-22 | Commissariat à l'Energie Atomique et aux Energies Alternatives | Système et procédé de gestion de l'usure d'une mémoire électronique |
| US9830087B2 (en) * | 2014-11-13 | 2017-11-28 | Micron Technology, Inc. | Memory wear leveling |
-
2014
- 2014-11-13 US US14/540,968 patent/US9830087B2/en active Active
-
2015
- 2015-11-02 CN CN201580062243.0A patent/CN107003810B/zh active Active
- 2015-11-02 WO PCT/US2015/058634 patent/WO2016077091A1/en not_active Ceased
- 2015-11-02 KR KR1020177015711A patent/KR102245652B1/ko active Active
- 2015-11-02 JP JP2017525331A patent/JP6317039B2/ja active Active
- 2015-11-13 TW TW104137602A patent/TWI576758B/zh active
-
2017
- 2017-11-14 US US15/812,932 patent/US20180067661A1/en not_active Abandoned
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080162798A1 (en) * | 1991-09-13 | 2008-07-03 | Lofgren Karl M J | Wear leveling techniques for flash eeprom systems |
| US20040083335A1 (en) * | 2002-10-28 | 2004-04-29 | Gonzalez Carlos J. | Automated wear leveling in non-volatile storage systems |
| US20080313505A1 (en) * | 2007-06-14 | 2008-12-18 | Samsung Electronics Co., Ltd. | Flash memory wear-leveling |
| US20130238846A1 (en) * | 2007-10-17 | 2013-09-12 | Micron Technology, Inc. | Serial interface nand |
| WO2014074449A2 (en) * | 2012-11-06 | 2014-05-15 | Spansion Llc | Wear leveling in flash memory devices with trim commands |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019017017A1 (ja) * | 2017-07-18 | 2019-01-24 | ソニーセミコンダクタソリューションズ株式会社 | ウェアレベリング処理を行うメモリコントローラ |
| JPWO2019017017A1 (ja) * | 2017-07-18 | 2020-05-28 | ソニーセミコンダクタソリューションズ株式会社 | ウェアレベリング処理を行うメモリコントローラ |
| US11269546B2 (en) | 2017-07-18 | 2022-03-08 | Sony Semiconductor Solutions Corporation | Memory controller, memory system, information processing system, and memory control method |
| JP7063900B2 (ja) | 2017-07-18 | 2022-05-09 | ソニーセミコンダクタソリューションズ株式会社 | ウェアレベリング処理を行うメモリコントローラ |
| EP3477463A1 (en) * | 2017-10-31 | 2019-05-01 | EMC IP Holding Company LLC | Method and system for using wear-leveling using a multi-gap progress field |
| JP2021506053A (ja) * | 2017-12-05 | 2021-02-18 | マイクロン テクノロジー,インク. | 不揮発性メモリにおけるデータ移動動作 |
| JP7066848B2 (ja) | 2017-12-05 | 2022-05-13 | マイクロン テクノロジー,インク. | 不揮発性メモリにおけるデータ移動動作 |
| US11341038B2 (en) | 2017-12-05 | 2022-05-24 | Micron Technology, Inc. | Data movement operations in non-volatile memory |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107003810B (zh) | 2019-01-29 |
| TWI576758B (zh) | 2017-04-01 |
| KR102245652B1 (ko) | 2021-04-29 |
| US9830087B2 (en) | 2017-11-28 |
| TW201633110A (zh) | 2016-09-16 |
| JP2017538206A (ja) | 2017-12-21 |
| US20160139826A1 (en) | 2016-05-19 |
| JP6317039B2 (ja) | 2018-04-25 |
| KR20170084194A (ko) | 2017-07-19 |
| CN107003810A (zh) | 2017-08-01 |
| US20180067661A1 (en) | 2018-03-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9830087B2 (en) | Memory wear leveling | |
| US12094545B2 (en) | Techniques for preventing read disturb in NAND memory | |
| US9448868B2 (en) | Data storing method, memory control circuit unit and memory storage apparatus | |
| US9268687B2 (en) | Data writing method, memory control circuit unit and memory storage apparatus | |
| US9053808B2 (en) | Flash memory with targeted read scrub algorithm | |
| US9946478B2 (en) | Memory managing method, memory control circuit unit and memory storage apparatus | |
| US10437520B2 (en) | Method for performing writing management in a memory device, and associated memory device and controller thereof | |
| US11714752B2 (en) | Nonvolatile physical memory with DRAM cache | |
| US9639475B2 (en) | Buffer memory management method, memory control circuit unit and memory storage device | |
| US8417879B2 (en) | Method for suppressing errors, and associated memory device and controller thereof | |
| US10579518B2 (en) | Memory management method and storage controller | |
| US20150363120A1 (en) | On demand block management | |
| US10283196B2 (en) | Data writing method, memory control circuit unit and memory storage apparatus | |
| US20100241788A1 (en) | Flash memory writing mtheod and stroage system and controller using the same | |
| US20230106125A1 (en) | Memory with multi-mode ecc engine | |
| US11782788B2 (en) | Error-correction-detection coding for hybrid memory module | |
| CN114968074B (zh) | 数据储存装置以及非挥发式存储器控制方法 | |
| US9830077B2 (en) | Data writing method, memory control circuit unit and memory storage apparatus | |
| CN113721834B (zh) | 管理nand存储器中数据加扰种子值的方法和装置 |
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: 15859216 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2017525331 Country of ref document: JP Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 20177015711 Country of ref document: KR Kind code of ref document: A |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15859216 Country of ref document: EP Kind code of ref document: A1 |