Electronic System with Storage Drive Life Estimation Mechanism and Method of Operation Thereof

Information

  • Patent Application
  • 20150046635
  • Publication Number
    20150046635
  • Date Filed
    July 17, 2014
    10 years ago
  • Date Published
    February 12, 2015
    9 years ago
Abstract
Systems, methods and/or devices are used to enable storage drive life estimation. In one aspect, the method includes (1) determining two or more age criteria of a storage drive, and (2) determining a drive age of the storage drive in accordance with the two or more age criteria of the storage drive.
Description
TECHNICAL FIELD

The present invention relates generally to an electronic system and more particularly to a system with storage drive life estimation mechanism.


BACKGROUND

All electronic systems require some form of memory or storage. Data storage, often called storage or memory, refers to computer components and recording media that retain digital data. Data storage is a core function and fundamental component of consumer and industrial electronics, especially devices such as computers, televisions, cellular phones, mobile devices, and digital video cameras.


Recently, forms of long-term storage other than electromechanical hard disks have become feasible for use in computers. One of these is flash Electrically Erasable Programmable Read-Only Memory (EEPROM). Flash EEPROM memory includes a plurality of floating-gate field effect transistors arranged as memory cells. NAND flash is one form of non-volatile memory used in solid state storage devices. The memory cells are arranged in typical row and column fashion with circuitry for accessing individual cells. The memory transistors of those cells can store an analog value that can be interpreted to hold two logical states for Single Level Cell (SLC) or more than two logical states as for Multi Level Cells (MLC).


A flash memory cell, like a typical EEPROM cell but in contrast to Dynamic random-access memory (DRAM) memory, retains information when power is removed. Flash EEPROM memory has a number of characteristics, which adapt it to use as long-term memory. It is light in weight, occupies very little space, and consumes less power than electromechanical disk drives. Construction of a storage system with this type of memory allows for much higher bandwidth and higher input output operations per second than a typical electromechanical disk drive. More importantly, it is especially rugged and can operate at a much higher temperature range. It will withstand, without adverse effects, repeated drops, each of which would destroy a typical electromechanical hard disk drive. A problem exhibited by flash memory and storage devices that consist of flash memory is that it tends to have a limited life in use.


Thus, a need still remains for better storage life estimation to account for the failure and durability of electronic systems. In view of the increasing demand for storage management of electronic systems, it is increasingly critical that answers be found to these problems. In view of the ever-increasing commercial competitive pressures, along with growing consumer expectations and the diminishing opportunities for meaningful product differentiation in the marketplace, it is critical that answers be found for these problems. Additionally, the need to reduce costs, improve efficiencies and performance, and meet competitive pressures adds an even greater urgency to the critical necessity for finding answers to these problems.


Solutions to these problems have been long sought but prior developments have not taught or suggested any solutions and, thus, solutions to these problems have long eluded those skilled in the art.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is an electronic system with storage drive life estimation mechanism in an embodiment of the present invention.



FIG. 2 is an exemplary hardware block diagram of the memory controller.



FIG. 3 is a chart indicating drive performance as a function of drive wear.



FIG. 4 is a chart indicating the number of grown defects as a function of storage drive age.



FIG. 5 is a chart indicating drive age as a function of defect rate.



FIG. 6 is an example diagram of the storage blocks within the storage drive of the electronic system of FIG. 1.



FIG. 7 is a control flow of the memory controller of FIG. 2 of the electric system.



FIG. 8 is a second example of the control flow of the memory controller of FIG. 2 of the electric system.



FIG. 9 is a flow chart of a method of operation of the electronic system of FIG. 1 in a further embodiment of the present invention.





DETAILED DESCRIPTION

The various implementations described herein include systems, methods and/or devices used to enable storage drive life estimation. Some implementations include systems, methods and/or devices to determine, in accordance with two or more age criteria of a storage device, a drive age of the storage device.


More specifically, some embodiments include a method of operation of an electronic system. In some embodiments, the method includes (1) determining two or more age criteria of a storage drive, and (2) determining a drive age of the storage drive in accordance with the two or more age criteria of the storage drive.


In some embodiments, the two or more age criteria include at least one criterion selected from the group consisting of a total number of accumulated program/erase (PE) cycles, a total number of grown defects, a defect rate, and a retry rate.


In some embodiments, the two or more age criteria are scaled by respective configurable factors to adjust relative importance of each respective age criterion on the drive age of the storage drive.


In some embodiments, determining a drive age of the storage drive in accordance with the two or more age criteria of the storage drive includes (1) determining a first scaled age criterion by multiplying a first configurable factor by a first age criterion of the two or more age criteria, (2) determining a first drive age indicator by multiplying the drive age by a first maximum age criterion for the storage drive, wherein the first maximum age criterion is a maximum value of the first age criterion, (3) determining whether the first scaled age criterion is greater than or equal to the first drive age indicator, (4) in accordance with a determination that the first scaled age criterion is greater than or equal to the first drive age indicator, incrementing the drive age, and (5) in accordance with a determination that the first scaled age criterion is not greater than or equal to the first drive age indicator, performing one or more operations including (a) determining a second scaled age criterion by multiplying a second configurable factor by a second age criterion of the two or more age criteria, (b) determining a second drive age indicator by multiplying the drive age by a second maximum age criterion for the storage drive, wherein the second maximum age criterion is a maximum value of the second age criterion, (c) determining whether the second scaled age criterion is greater than or equal to the second drive age indicator, and (d) in accordance with a determination that the second scaled age criterion is greater than or equal to the second drive age indicator, incrementing the drive age.


In some embodiments, the drive age is monotonically non-decreasing.


In some embodiments, the drive age is an integer.


In some embodiments, the storage drive comprises one or more flash memory devices.


In another aspect, any of the methods described above are performed by an electronic system, the electronic system including (1) one or more processors, and (2) memory storing one or more programs to be executed by the one or more processors, the one or more programs comprising instructions for performing or controlling performance of any of the methods described herein.


In yet another aspect, some embodiments include a non-transitory computer readable storage medium, storing one or more programs configured for execution by one or more processors of an electronic system, the one or more programs including instructions for performing or controlling performance of any of the methods described herein.


The following embodiments are described in sufficient detail to enable those skilled in the art to make and use the invention. It is to be understood that other embodiments would be evident based on the present disclosure, and that system, process, or mechanical changes may be made without departing from the scope of the present invention.


In the following description, numerous specific details are given to provide a thorough understanding of the invention. However, it will be apparent that the invention may be practiced without these specific details. In order to avoid obscuring the present invention, some well-known circuits, system configurations, and process steps are not disclosed in detail.


The drawings showing embodiments of the system are semi-diagrammatic and not to scale and, particularly, some of the dimensions are for the clarity of presentation and are shown exaggerated in the drawing FIGs. Similarly, although the views in the drawings for ease of description generally show similar orientations, this depiction in the FIGs. is arbitrary for the most part. Generally, the invention can be operated in any orientation.


Where multiple embodiments are disclosed and described having some features in common, for clarity and ease of illustration, description, and comprehension thereof, similar and like features one to another will ordinarily be described with similar reference numerals. The embodiments have been numbered first embodiment, second embodiment, etc. as a matter of descriptive convenience and are not intended to have any other significance or provide limitations for the present invention.


The term “module” referred to herein can include hardware, software running on or coupled to hardware, or a combination thereof in the present invention in accordance with the context in which the term is used. For example, the software can be machine code, firmware, embedded code, and application software. Also for example, the hardware can be circuitry, processor, computer, integrated circuit, integrated circuit cores, a microelectromechanical system (MEMS), passive devices, environmental sensors including but not limited to temperature sensors, or a combination thereof.


Solid State drives (SSDs) have a finite useful life presenting challenges to long term use and data storage. To plan for eventual replacement, a system and method for determining an estimate of drive life is needed. Estimations of storage drive life are also needed for warranty and resale purposes.


It is therefore desirable to have a system and method of estimating the percentage of a storage drive's expected life that has already been used. Furthermore, it is desirable that this estimate correlate well to the actual percentage of the drive's useful life while being relatively easy to compute. Finally, it is desirable that the measure reflect how a drive wears out, so that it is monotonically non-decreasing, and so that no possible values are skipped. In this way, the measure would never appear to run backwards or have large discontinuities, which would be confusing or misleading.


Referring now to FIG. 1, therein is shown an electronic system 100 with storage management mechanism in an embodiment of the present invention. The electronic system 100 includes a memory sub-system 102 having a memory controller 104 and a memory array 106. The electronic system 100 includes a host system 108 communicating with the memory sub-system 102.


The memory controller 104 provides data control and management of the memory array 106. The memory controller 104 interfaces with the host system 108 and controls the memory array 106 to transfer data between the host system 108 and the memory array 106.


The memory array 106 includes an array of memory devices 110 including flash memory devices or non-volatile memory devices. The memory array 106 can include pages of data or information. The host system 108 can request the memory controller 104 for reading, writing, and deleting data from or to the logical address space of the storage device that includes the memory array 106.


The memory devices 110 can include chip selects 112, which are defined as control inputs, for enabling the memory devices 110. Each of the chip selects 112 can be used to control the operation of one of the memory devices 110. When the chip selects 112 are enabled, the memory devices 110 are in active state for operation including reading, writing, or recycling. This is also true for sub addresses LUNs (logical units) within a device controlled by one chip select.


Referring now to FIG. 2, therein is shown an exemplary hardware block diagram of the memory controller 104. The memory controller 104 can include a control unit 202, a storage unit 204, a memory interface unit 206, and a host interface unit 208. The control unit 202 can include a control interface 210. The control unit 202 can execute software 212 stored in the storage unit 204 to provide the intelligence of the memory controller 104.


The control unit 202 can be implemented in a number of different manners. For example, the control unit 202 can be a processor, an embedded processor, a microprocessor, a hardware control logic, a hardware finite state machine (FSM), a digital signal processor (DSP), or a combination thereof.


The control interface 210 can be used for communication between the control unit 202 and other functional units in the memory controller 104. The control interface 210 can also be used for communication that is external to the memory controller 104.


The control interface 210 can receive information from the other functional units or from external sources, or can transmit information to the other functional units or to external destinations. The external sources and the external destinations refer to sources and destinations external to the memory controller 104.


The control interface 210 can be implemented in different ways and can include different implementations depending on which functional units or external units are being interfaced with the control interface 210. For example, the control interface 210 can be implemented with dedicated hardware such as an application-specific integrated circuit (ASIC), configurable hardware such as an FPGA (Field Programmable Gate Array), discrete electronic hardware, or a combination thereof.


The storage unit 204 can include hardware, control firmware, and the software 212. The storage unit 204 can contain a volatile memory, a non-volatile memory, an internal memory, an external memory, or a combination thereof. For example, the storage unit 204 can be a non-volatile storage such as non-volatile random access memory (NVRAM), Flash memory, disk storage, or a volatile storage such as static random access memory (SRAM).


The storage unit 204 can include a storage interface 214. The storage interface 214 can also be used for communication that is external to the memory controller 104. The storage interface 214 can receive information from the other functional units or from external sources, or can transmit information to the other functional units or to external destinations. The external sources and the external destinations refer to sources and destinations external to the memory controller 104.


The storage interface 214 can include different implementations depending on which functional units or external units are being interfaced with the storage unit 204. The storage interface 214 can be implemented with technologies and techniques similar to the implementation of the control interface 210.


The memory interface unit 206 can enable external communication to and from the memory controller 104. For example, the memory interface unit 206 can permit the memory controller 104 to communicate with the memory array 106 of FIG. 1.


The memory interface unit 206 can include a memory interface 216. The memory interface 216 can be used for communication between the memory interface unit 206 and other functional units in the memory controller 104. The memory interface 216 can receive information from the other functional units or can transmit information to the other functional units.


The memory interface 216 can include different implementations depending on which functional units are being interfaced with the memory interface unit 206. The memory interface 216 can be implemented with technologies and techniques similar to the implementation of the control interface 210.


The host interface unit 208 allows the host system 108 of FIG. 1 to interface and interact with the memory controller 104. The host interface unit 208 can include a host interface 218 to provide communication mechanism between the host interface unit 208 and the host system 108.


The control unit 202 can operate the host interface unit 208 to send control or status information generated by the memory controller 104 to the host system 108. The control unit 202 can also execute the software 212 for the other functions of the memory controller 104. The control unit 202 can further execute the software 212 for interaction with the memory array 106 via the memory interface unit 206.


The functional units in the memory controller 104 can work individually and independently of the other functional units. For illustrative purposes, the memory controller 104 is described by operation of the memory controller 104 with the host system 108 and the memory array 106. It is understood that the memory controller 104, the host system 108, and the memory array 106 can operate any of the modules and functions of the memory controller 104.


Referring now to FIG. 3, therein is shown a chart indicating drive performance as a function of drive wear. The electric system can track a drive age using a combination of multiple metrics or age criteria, including gradual wear, number of growth defects, rate of change of grown defects, and number of read retries.


The drive age is a percentage of a storage drive's expected life that has already been used. For example, the drive age can be indicated as an integer between a range of 0 to 100 inclusively. In another example, the drive age is indicated as an integer between a range of 0 to 10,000, or more generally 0 to a maximum age. The drive age indicates a “threshold” of the storage drive's life such that the percentage of the maximum age indicated by the drive age corresponds to a percentage of the storage drive's life that has been depleted.


The drive age can include the maximum estimate of several age criteria of the storage drive, such as an estimate based on the accumulated program/erase cycles. The age criterion may have a larger range such as if a program/erase scale factor is 110, that criterion will be in the range of 0 to 110 (or more generally 0 to 1.1 times the maximum age) but the drive age is restricted to 0-100 (or more generally 0 to the maximum age).


The program/erase cycle is a base level operation of how data is replaced within an erase block. Memory types, such as NAND, have a limited number of useful program/erase cycles or PE cycles.


The drive age can also include an estimate of drive life based on the age criterion of the number of grown defects in the storage drive. A grown defect is defined as an erase block that fails after fewer program/erase cycles than expected.


For example, the electric system can track a drive's expected life in terms of both the drive's ability to retain data reliably and the drive's ability to service host operations at an acceptable performance level given the required background task and retries that result from accessing worn flash.


Performance will start to drop off due to advanced error and recovery and flash configuration before the drive would be at risk of data loss. Estimating when performance is too impacted is important to ensuring the continued use and reliability of the storage drive. This storage drive performance behavior as a function of drive wear is illustrated by the chart seen in FIG. 3.


For example, the observed performance of the storage drive can decrease as the storage drive continues to wear. When the observed performance falls below the minimum acceptable performance threshold, the drive age can be at 100 percent of life used.


Based on the storage drive behavior, the method of estimating the percentage of a drive's expected life can rely on the gradual wear that occurs with each program/erase cycle and grown defects, which are defined as the occasional early failure of an erase block.


Other types of age criteria, such as related drive criteria or metrics can be used including rate of change in the number of grown defects and the number of read retries of the storage drive. The drive age can be estimated by calculating the largest of these drive criteria or metrics.


For example, it has been found that the drive age can be calculated as an estimate based on the accumulated program/erase cycles using Equation (1) herein called the gradual wear equation:










drive





age

=

P





E





scale





factor
×


total





P





E





measured


erase





block





lifetime





P





E
*
total





erase





blocks







(
1
)







The PE scale factor or program erase cycle scale factor is defined as a relative weighting given to the gradual wear drive age estimate. The total PE measured is defined as the total number of program/erase cycles that have occurred on each erase block on the entire storage drive during the time of the calculation.


The erase block lifetime PE is defined as the estimated number of program/erase cycles that an erase block can endure. The total erase blocks are defined as the total number of erase blocks in the storage drive.


Further, it has been found that the drive age can be calculated as an estimate based on the number of grown defects using Equation (2) herein called the grown defect equation:










drive





age

=

defect





scale





factor
*


number





of





grown





defects


maximum





allowed





number





of





grown





defects







(
2
)







The defect scale factor is defined as the relative weight given to the grown defect estimate or grown defect age criterion. The number of grown defects is defined as the number of grown defects that have occurred on the drive at the current time of calculation.


The maximum allowed number of grown defects is the maximum number of grown defects that are allowed on the storage drive during its lifetime. The maximum allowed number of grown defects can be a predetermined value.


It has been found that drive age is jointly based upon the ways that flash memory wears out, including program/erase cycles and grown defects. In this way, each drive will have a current age based on whichever age criterion is more predominant at the time.


Referring now to FIG. 4, therein is shown a chart indicating the number of grown defects as a function of storage drive age. It has been found that the defect rate, which is defined as the number of new or grown defects per unit time, increases as a function of storage drive use (with the assumption of relatively constant use of the drive over time).


For example, the defect rate can be used to provide another estimate of drive age based on the defect rate at any given time. This storage drive behavior as a function of drive age is illustrated by the chart seen in FIG. 4.


In the figure, curve A illustrates a storage drive where the number of defects increases with age. More significantly, the slope of curve A, as indicated by the dotted line, indicates the defect rate. It can be seen that this is increasing with time.


Curve B is indicative of another storage drive that is aging more rapidly. At the place where the two curves diverge, which is the pivot point, the slope of curve B is steeper than curve A. This shows that the defect rate is higher for curve B than curve A. This increase in the defect rate can be used to indicate that drive B has a higher drive age than drive A.


It has been found that drive age can be used to monitor the health of a single drive as well as be used to compare the drive life of multiple drives. For example, the drive age of a storage drive and another storage drive can be determined for comparing the life span of each drive to each other. The drive age provides a uniform and consistent metric in comparing the drive life or age of multiple drives as well as indicating the current health of a single drive. The drive age provides drive swapping and drive age leveling configuration applications to preserve the drive life of storage devices.


Referring now to FIG. 5, therein is shown a chart indicating drive age as a function of defect rate. The chart shows that it has been found the defect rate rises over the life of the storage drive and the defect rate can be used to estimate the drive age.


For example, it has been found that drive age can be estimated using Equation (3) herein called the defect rate equation:










drive






age
defectrate


=

defect





rate





scale





factor
*


Measured





defect





rate


Max





end





of





life





defect





rate







(
3
)







The defect rate scale factor is defined as a relative weight given to the defect rate drive age estimate or the change in defect rate age criterion. For example, the defect rate scale factor can be 100 and be scaled to a specific percentage. The defect rate scale factor, as well as the other scale factors for the other age criteria can be set to a higher or lower value to cause the scale factor to have a higher impact on the drive age or age estimate. The measured defect rate is defined as the number of new (grown) defects per unit time.


The max end of life defect rate is defined as the maximum defect rate the storage drive can reach and still meet predetermined performance requirements. For example, a drive's end-of-life performance might be specified to be one percent of the erase blocks of the storage drive per day.


Further, it has been found that the calculation of the drive age as an estimate based on the read retry rate or retry rate criterion can be determined using Equation (4) herein called the retry rate equation:










drive






age
RetryRate


=

retry





rate





scale





factor
*


Measured





Retry





Rate


Max





end





of





life





retry





rate







(
4
)







A read retry is defined as reading data bytes again from the memory due to issues encountered when reading the data for the first time.


The measured retry rate (retries per read operations) is defined as the number of read failures due to error-correcting code (ECC) limit exceeded per read operations submitted.


The retry rate scale factor is defined as a relative weight given to the retry rate drive age estimate or the retry rate age criterion. For example, the retry rate scale factor can be 100 and be scaled to a specific higher or lower percentage to cause the retry rate to have a higher or lower impact on the drive age.


The max end of life retry rate is defined as the maximum retry rate the storage drive can reach and still meet performance requirements. For example, a storage drive's end-of-life performance might be specified to stay within five percent of the begin-of-life performance specification.


Further, it has been found that depending on the time overhead caused by retries, it is possible to calculate the maximum number of retries per read operation that the drive can operate at and stay within the pre-determined specification requirements. For example, some storage drives can tolerate at most one retry per one thousand read operations before performance is significantly impacted.


It has been found that the scale factors of the age criteria, including the PE scale factor, the defect scale factor, the defect rate scale factor, and the retry rate scale factor, can be adjusted to cause the scale factor to have a higher impact on the drive age. For example, the scale factor can be used to include a margin of error for the drive age compared to the actual failure stage of the storage drive. Further for example, the drive age can be estimated to be 100 by the use of the scale factor before the actual failure stage of the storage device. The margin of error provided by the scale factor ensures that the storage device can continue to perform reliably and predictably before the actual failure of the drive.


For example, the PE scale factor can be 100 and the defect scale factor can be 110. In this way, the drive age will reach 100 while more grown defects are still allowed. This margin is provided so that the storage drive can still be used for a short time after reaching the drive age of 100, ensuring storage drive reliability, avoiding loss of data, and providing replacement time for the drive.


Referring now to FIG. 6, therein is shown an example diagram of the storage blocks within the storage drive of the electronic system. The example includes pages and erase blocks in the storage drive, which can be housed in the memory array of FIG. 1.


A page is defined as the smallest group of data bytes that can be read from, or written to, in an erase block. An erase block is a group of pages, which contain the smallest number of pages that can be erased at one time.


Referring now to FIG. 7, therein is shown a control flow of the memory controller of FIG. 2 of the electric system. The memory controller can execute the control flow for calculating the drive age based on the various age criteria of the storage drive. The control flow can use pseudo-code such that expressions of “drive age=drive age+1” mean that the variable of drive age is incremented by 1.


The drive age is the maximum of the various underlying drive age criteria of the storage drive, such as the drive age based on the total PE measured, or the drive age based on the number of grown defects. Each of these age criteria has its own scale factor. The scale factor might allow that particular criterion to be outside of the range [0,100] but the final drive age is limited to [0, 100].


It has been found that the drive age can be an inherent integer, with the corresponding advantages in calculation and storage over a floating-point representation or a fixed-point representation containing a fractional part.


The control flow can begin at “start” and continue to a first drive age plus one step. The first drive age plus one step or function provides a bias at the beginning of the drive age calculations. It has been found that by providing a bias at the beginning of the calculations (where drive age is incremented by 1 before calculating the underlying age criteria), and then removing it later (where the drive age is decremented by 1 after calculating the underlying age criteria), the calculations of the underlying age criteria are simplified.


For example, it is desirable that the drive age remain at 0 until 1% of the drive's life is used, and only then increase to 1. If the drive age were not implemented as in integer calculation, it should have a floor function at the end of the calculation to cause this behavior. A way to perform that is to bias the calculations up and then remove the bias at the end of the calculations.


Further, it has been found that by biasing the drive age once at the beginning of the calculations, and removing the bias at the end of all the calculations, the step of having to perform this operation on each of the individual calculations is avoided. In addition, biasing the drive age involves simply incrementing and later decrementing by 1. However, the bias needed in the age criteria calculations would be more complicated than this base example.


The control flow can proceed to an equation one step or function. The memory controller can execute or calculate Equation (1) from FIG. 3 to determine the drive age based on gradual wear or accumulated program/erase cycles. Equation (1) can be modified to avoid division operations as follows:





(PE factor*total PE measured)≧(drive age*erase block lifetime PE*total erase blocks)  (1)


It has been found that by rearranging the calculations of the age criterion to those currently shown in the modified Equation (1) provide the benefit of no division operations being required. Division operations, which would be used in the most obvious implementations, are slow and cumbersome on most hardware. Equation (2), Equation (3), and Equation (4) can be rearranged in the same way to remove division operations, which increases the processing speed of the calculations by the memory controller.


If Equation (1) is found to be true, the control flow can proceed to a second age plus one step. After the drive age has been incremented by one by the second age plus one step, the control flow can proceed to a drive age minus one step. If Equation (1) is found to be false, the control flow can proceed to Equation (2).


The memory controller can execute or calculate Equation (2) to determine the drive age based on the number of grown defects. Equation (2) can be modified to avoid division operations as follows:





(defect scale factor*number of grown defects)≧(drive age*maximum allowed number of grown defects)  (2)


If Equation (2) is found to be true, the control flow can proceed to a third drive age plus one step. After the drive age has been incremented by one, the control flow can proceed to a drive age minus one step. If Equation (2) is found to be false, the control flow can proceed to Equation (3).


The memory controller can execute or calculate Equation (3) to determine the drive age based on the change in defect rate. Equation (3) can be modified to avoid division operations as follows:





(defect rate scale factor*Measured defect rate)≧(drive age*max end of life defect rate)  (3)


If Equation (3) is found to be true, the control flow can proceed to a fourth drive age plus one step. After the drive age has been incremented by one, the control flow can proceed to a drive age minus one step. If Equation (3) is found to be false, the control flow can proceed to Equation (4).


The memory controller can execute or calculate Equation (4) to determine the drive age based on the retry rate. Equation (4) can be modified to avoid division operations as follows:





(retry rate scale factor*Measured Retry Rate)≧drive age*Max end of life retry rate)  (4)


If Equation (4) is found to be true, the control flow can proceed to a fifth drive age plus one step. After the drive age has been incremented by one, the control flow can proceed to a drive age minus one step. If Equation (4) is found to be false, the control flow can proceed to the drive age minus one step.


The control flow can proceed to the drive age minus one step from Equation (4), from the second drive age plus one step, the third drive age plus one step, the fourth drive age plus one step, or the fifth drive age plus one step. The bias of plus one that was included at the beginning of the control flow is removed during the drive age minus one step.


The control flow can proceed to a max drive age step after the drive age minus one step. The memory controller compares the drive age to the maximum drive age. The maximum drive age can be a predetermined value. For example, the maximum drive age can equal 100 or 99.


If the drive age is greater than the maximum drive age, then the storage drive has reached the maximum drive age. In this situation, the drive age is set to equal the maximum drive age. Based on this situation, a notification or warning to the user can be generated of the imminent failure of the storage drive and the control flow can conclude at “done”. If the drive age is less than the maximum drive age, the control flow can conclude at “done”.


It has been found that by calculating the age criteria sequentially, and skipping over the remaining age criteria if the drive age is incremented, calculations can be saved, and the storage drive age will not have any “missing codes” (the drive age will take on every value in [0, 100].


For example, Equation (1) to Equation (4) is sequentially calculated if the previous equation is found to be false. Subsequent equations are skipped if the current equation is found to be true. It has been discovered that the sequential calculation of the equations will also automatically select, over time, the maximum of all of the criteria, which will be reported as the drive age. The relative scale factors used in each criterion allows some criteria to have greater significance in the result.


It has been also found that calculating the drive age as an integer percentage provides the drive age as a monotonically non-decreasing value; this is a desirable property for the drive age for life of a single drive, and for comparing multiple storage drives to each other. Drive age results as integer percentages are consistent and predictable, which increases the reliability and predictability of the drive life of the storage drive.


It has also been found that by iteratively updating the drive age instead of calculating it directly on each update, the electronic system saves computational operations and yields the drive age guaranteed to be monotonically non-decreasing because of the single integer unit increments.


Referring now to FIG. 8, therein is shown a second example of the control flow of the memory controller of FIG. 2 of the electric system. The memory controller can execute the second control flow for determining the drive age. The control flow can include a detect module, a bias module, an equation module, an increment module, a remove module, a max drive module, and a notification module. The second example control flow is similar to the control flow of FIG. 7 except that the steps and functions have been partitioned into modules.


In the control flow, as an example, each module is indicated by an order and successively higher modules follow one another. Control flow can pass from one module to the next sequential module unless explicitly otherwise indicated. The memory controller of FIG. 2 can execute the detect module, the bias module, the equation module, the increment module, the remove module, the max drive module, and the notification module.


The detect module can recall or access the current drive age at the time of the calculation for the estimate. The bias module increases the drive age by one to assign a bias.


The equation module can execute Equation (1), Equation (2), Equation (3), and Equation (4) to determine the drive age. The equations can be modified to remove division operations. It has been found that by rearranging the calculations of the underlying age criteria to those listed under the section for FIG. 7, no division operations are required, speeding up processing time.


For example, division operations, which would be used in the most obvious implementations, are slow and cumbersome on most hardware. Equation (1), Equation (2), Equation (3), and Equation (4) can be rearranged in the same way to remove division operations, which increases the processing speed of the calculations.


The equation module can include sub modules for executing the calculations for each of the equations based on age criteria. For example, an “equation one” sub-module can execute the calculations for Equation (1) and the electric system can include other sub-modules for Equation (2), Equation (3), and Equation (4).


The compare module can compare the metrics produced by each equation to determine the largest of the drive age estimates. The largest of the estimates from Equation (1), Equation (2), Equation (3), and Equation (4) will be used as the drive age.


The increment module can increase the drive age by one if any of the equations from the equation module are found to be true. The increment module can be coupled to the equation module and the remove module.


The remove module removes the bias that was added to the drive age by the bias module. The remove module can perform the drive age minus one step of FIG. 7. The remove module can be coupled to the equation module, the increment module, and the max drive module.


The max drive module determines if the drive age is greater or equal to the max drive age or maximum drive age. The max drive module can detect if the drive age has reached the max drive age. The max drive age can be a pre-determined percentage such as 100 or 99 percent. The max drive module can include a set module for setting the drive age to equal the max drive age.


The notification module can generate a notification or warning that the drive age of the storage drive has reached the max drive age. This allows users warning to back up information and timely replace the storage drive.


The control flow of the memory controller describes the module functions or order as an example. The modules can be partitioned differently. For example, the modules described in FIG. 8 can be implemented as one module or with a lesser number of modules. Each of the modules can operate individually and independently of the other modules.


The modules of FIG. 8 can be hardware implementations in the memory controller or can be implemented as hardware within the electronic system but outside the memory controller. The modules of the memory controller can be hardware, software running on or coupled to hardware, or a combination thereof.


Referring now to FIG. 9, therein is shown a flow chart of a method of operation of the electronic system of FIG. 1 in a further embodiment of the present invention. The method includes: calculating an age criterion in a block; and determining the drive age based on the age criterion in another block.


Thus, it has been discovered that the electronic system of the present invention furnishes important and heretofore unknown and unavailable solutions, capabilities, and functional aspects for an electronic system with read disturb management mechanism. The resulting method, process, apparatus, device, product, and/or system is straightforward, cost-effective, uncomplicated, highly versatile, accurate, sensitive, and effective, and can be implemented by adapting known components for ready, efficient, and economical manufacturing, application, and utilization.


Another important aspect of the present invention is that it valuably supports and services the historical trend of reducing costs, simplifying systems, and increasing performance. These and other valuable aspects of the present invention consequently further the state of the technology to at least the next level.


It will be understood that, although the terms “first,” “second,” etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first age criterion could be termed a second age criterion, and, similarly, a second age criterion could be termed a first age criterion, without changing the meaning of the description, so long as all occurrences of the “first age criterion” are renamed consistently and all occurrences of the “second age criterion” are renamed consistently. The first age criterion and the second age criterion are both age criteria, but they are not the same age criterion.


The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the claims. As used in the description of the embodiments and the appended claims, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.


As used herein, the term “if” may be construed to mean “when” or “upon” or “in response to determining” or “in accordance with a determination” or “in response to detecting,” that a stated condition precedent is true, depending on the context. Similarly, the phrase “if it is determined [that a stated condition precedent is true]” or “if [a stated condition precedent is true]” or “when [a stated condition precedent is true]” may be construed to mean “upon determining” or “in response to determining” or “in accordance with a determination” or “upon detecting” or “in response to detecting” that the stated condition precedent is true, depending on the context.


The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the claims to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain principles of operation and practical applications, to thereby enable others skilled in the art.

Claims
  • 1. A method of operation of an electronic system comprising: determining two or more age criteria of a storage drive; anddetermining a drive age of the storage drive in accordance with the two or more age criteria of the storage drive.
  • 2. The method of claim 1, wherein the two or more age criteria include at least one criterion selected from the group consisting of a total number of accumulated program/erase (PE) cycles, a total number of grown defects, a defect rate, and a retry rate.
  • 3. The method of claim 1, wherein the two or more age criteria are scaled by respective configurable factors to adjust relative importance of each respective age criterion on the drive age of the storage drive.
  • 4. The method of claim 3, wherein determining a drive age of the storage drive in accordance with the two or more age criteria of the storage drive includes: determining a first scaled age criterion by multiplying a first configurable factor by a first age criterion of the two or more age criteria;determining a first drive age indicator by multiplying the drive age by a first maximum age criterion for the storage drive, wherein the first maximum age criterion is a maximum value of the first age criterion;determining whether the first scaled age criterion is greater than or equal to the first drive age indicator;in accordance with a determination that the first scaled age criterion is greater than or equal to the first drive age indicator, incrementing the drive age; andin accordance with a determination that the first scaled age criterion is not greater than or equal to the first drive age indicator, performing one or more operations including: determining a second scaled age criterion by multiplying a second configurable factor by a second age criterion of the two or more age criteria;determining a second drive age indicator by multiplying the drive age by a second maximum age criterion for the storage drive, wherein the second maximum age criterion is a maximum value of the second age criterion;determining whether the second scaled age criterion is greater than or equal to the second drive age indicator; andin accordance with a determination that the second scaled age criterion is greater than or equal to the second drive age indicator, incrementing the drive age.
  • 5. The method of claim 1, wherein the drive age is monotonically non-decreasing.
  • 6. The method of claim 1, wherein the drive age is an integer.
  • 7. The method of claim 1, wherein the storage drive comprises one or more flash memory devices.
  • 8. An electronic system comprising: one or more processors; andmemory storing one or more programs to be executed by the one or more processors, the one or more programs comprising instructions for: determining two or more age criteria of a storage drive; anddetermining a drive age of the storage drive in accordance with the two or more age criteria of the storage drive.
  • 9. The electronic system of claim 8, wherein the two or more age criteria include at least one criterion selected from the group consisting of a total number of accumulated program/erase (PE) cycles, a total number of grown defects, a defect rate, and a retry rate.
  • 10. The electronic system of claim 8, wherein the two or more age criteria are scaled by respective configurable factors to adjust relative importance of each respective age criterion on the drive age of the storage drive.
  • 11. The electronic system of claim 10, wherein determining a drive age of the storage drive in accordance with the two or more age criteria of the storage drive includes: determining a first scaled age criterion by multiplying a first configurable factor by a first age criterion of the two or more age criteria;determining a first drive age indicator by multiplying the drive age by a first maximum age criterion for the storage drive, wherein the first maximum age criterion is a maximum value of the first age criterion;determining whether the first scaled age criterion is greater than or equal to the first drive age indicator;in accordance with a determination that the first scaled age criterion is greater than or equal to the first drive age indicator, incrementing the drive age; andin accordance with a determination that the first scaled age criterion is not greater than or equal to the first drive age indicator, performing one or more operations including: determining a second scaled age criterion by multiplying a second configurable factor by a second age criterion of the two or more age criteria;determining a second drive age indicator by multiplying the drive age by a second maximum age criterion for the storage drive, wherein the second maximum age criterion is a maximum value of the second age criterion;determining whether the second scaled age criterion is greater than or equal to the second drive age indicator; andin accordance with a determination that the second scaled age criterion is greater than or equal to the second drive age indicator, incrementing the drive age.
  • 12. The electronic system of claim 8, wherein the drive age is monotonically non-decreasing.
  • 13. The electronic system of claim 8, wherein the drive age is an integer.
  • 14. The electronic system of claim 8, wherein the storage drive comprises one or more flash memory devices.
  • 15. A non-transitory computer readable storage medium, storing one or more programs configured for execution by one or more processors of an electronic system, the one or more programs including instructions for: determining two or more age criteria of a storage drive; anddetermining a drive age of the storage drive in accordance with the two or more age criteria of the storage drive.
  • 16. The non-transitory computer readable storage medium of claim 15, wherein the two or more age criteria include at least one criterion selected from the group consisting of a total number of accumulated program/erase (PE) cycles, a total number of grown defects, a defect rate, and a retry rate.
  • 17. The non-transitory computer readable storage medium of claim 15, wherein the two or more age criteria are scaled by respective configurable factors to adjust relative importance of each respective age criterion on the drive age of the storage drive.
  • 18. The non-transitory computer readable storage medium of claim 17, wherein determining a drive age of the storage drive in accordance with the two or more age criteria of the storage drive includes: determining a first scaled age criterion by multiplying a first configurable factor by a first age criterion of the two or more age criteria;determining a first drive age indicator by multiplying the drive age by a first maximum age criterion for the storage drive, wherein the first maximum age criterion is a maximum value of the first age criterion;determining whether the first scaled age criterion is greater than or equal to the first drive age indicator;in accordance with a determination that the first scaled age criterion is greater than or equal to the first drive age indicator, incrementing the drive age; andin accordance with a determination that the first scaled age criterion is not greater than or equal to the first drive age indicator, performing one or more operations including: determining a second scaled age criterion by multiplying a second configurable factor by a second age criterion of the two or more age criteria;determining a second drive age indicator by multiplying the drive age by a second maximum age criterion for the storage drive, wherein the second maximum age criterion is a maximum value of the second age criterion;determining whether the second scaled age criterion is greater than or equal to the second drive age indicator; andin accordance with a determination that the second scaled age criterion is greater than or equal to the second drive age indicator, incrementing the drive age.
  • 19. The non-transitory computer readable storage medium of claim 15, wherein the drive age is monotonically non-decreasing.
  • 20. The non-transitory computer readable storage medium of claim 15, wherein the drive age is an integer.
RELATED APPLICATION

This application claims priority to U.S. Provisional Patent Application Ser. No. 61/863,411, filed Aug. 7, 2013, entitled “Electronic System with Storage Drive Life Estimation Mechanism and Method of Operation Thereof,” which is hereby incorporated by reference in its entirety.

Provisional Applications (1)
Number Date Country
61863411 Aug 2013 US