The present disclosure relates generally to the field of data processing and more particularly to methods and related apparatus for transmitting a timestamp from a platform to a storage system to manage endurance and enhance life expectancy of a solid-state memory device.
Mobile and relatively fixed platforms may include hardware resources, such as a primary circuit board to couple a central processing unit (CPU) to a clock generator, a graphics card, volatile memory such as random access memory (RAM), a flash read-only memory (ROM) or dedicated non-volatile (NV) memory space, and a high capacity non-volatile memory device such as a hard disk drive (HDD). The platform may also include software resources, such as a basic input/output system (BIOS), a virtual machine monitor (VMM), and one or more guest operating systems (OSs) running on the VMM. Alternate NV memory devices, such as on-board or removable low latency memory may be added to platforms to either replace the HDD or to complement the HDD depending on the use and form of the platform.
Cost efficient and low power platforms including servers, desktops, laptops, netbooks, mobile and other handheld devices are evolving to require minimal power consumption with reduced complexity and cost. The platforms occasionally operate in idle or powered-down states to accommodate lower power requirements.
Some solid state disks (SSD) based on NV memory devices such as NAND (not and) have endurance specifications limiting a number of program/erase cycles they can perform before their data storage characteristics degrade. To ensure that endurance limitations are not prematurely exceeded, a governing device may be applied to ensure that cycling limits are not exceeded in a specified lifetime. A mechanism for tracking relative states of the SSD to indicate how and/or when the SSD is used over its lifetime is lacking to avoid a constant power-on presumption.
The subject matter regarded as the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. The invention, however, both as to organization and method of operation, together with objects, features, and advantages thereof, may best be understood by reference to the following detailed description when read with the accompanying drawings in which:
It will be appreciated that for simplicity and clarity of illustration, elements illustrated in the figures have not necessarily been drawn to scale. For example, the dimensions of some of the elements may be exaggerated relative to other elements for clarity. Further, where considered appropriate, reference numerals have been repeated among the figures to indicate corresponding or analogous elements.
In the following detailed description, numerous specific details for communicating a timestamp from a platform to a storage system are set forth to provide a thorough understanding of the invention. However, it will be understood by those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present invention.
It would be an advance in the art to communicate a timestamp from a platform to a storage system such as a SSD, particularly in applications where the storage system is intermittently powered up and has time-related and/or usage based characteristics governing its usable life. A low cost and efficient method to provide accurate data reflecting actual usage of the storage system having memory elements may extend a service life of the storage system. Use of this data can enable the storage system to track and/or manage the rate of memory element use and/or consumption to avoid premature exhaustion of the storage system. For example, the method may inform the storage system of how much time has elapsed during periods where the storage system is in a standby or a hibernating state and/or powered-off to manage one or more consumable resources in the storage system and improve an expected lifetime of the storage system.
One such method for communicating a timestamp from a platform to a storage system may comprise identifying a storage system to receive and process a timestamp. A clock generator capable of providing a reference signal is selected and a timestamp is established in reference to the reference signal. The timestamp is written to a data packet and the data packet is transmitted to the storage system. The storage system receives the data packet with the timestamp and the timestamp is processed by the storage system. The timestamp may be a single time value and/or the timestamp may be a change in time between two time values, resulting in a time delta. The time delta may be transmitted to the storage system as a timestamp to inform the storage system of how much time has elapsed while the storage system was powered off, in hibernation, in standby mode, or otherwise idled. Data comprising a plurality of timestamps may be used to update a budget for a group of consumables to manage a storage system life and account for time when the storage system is powered off, in hibernation, idled or otherwise not in use.
The flash management software 130 provides an interface that allows the file system 120 and/or operating system 110 to interact with the storage system 100. In one embodiment, the flash management software 130 may provide a mechanism to manage bad blocks in a NAND memory array, to provide small block emulation of larger blocks, mitigate the effects of wear on a memory array through the application of wear leveling algorithms, and to provide an interface that allows interaction with the storage system 100 at a file level through a flash controller driver 140.
The flash controller driver 140 is a program that allows the flash management software 130 to interact with a flash controller 150 by acting as a translator to convert higher level commands from the flash management software 130 into lower level commands necessary for the flash controller 150. The flash controller 150 is generally used to provide read, write, and erase functionality in addition to error detection and transfer of data to and from a flash device 160. Data written to and read from the flash device 160 may be stored using one or more registers in physical locations such as memory blocks or sectors.
Alternately, the storage system 100 may be a data storage device such as a SSD that uses solid state memory to store persistent data. The SSD may emulate a hard disk drive while providing lowered access times and latency. In this embodiment (not shown), the flash management software 130 is embedded in the SSD, usually in the form of firmware running within the SSD that is transparent to a host or platform 200 of
An embodiment of the high capacity storage system 240 comprising a storage controller 260 and a high capacity storage memory 280 may be a disk drive, a networked storage location, a tape drive, a floppy drive, or an optical drive such as a digital video disk (DVD) and/or compact disk (CD) reader and/or writer or combination thereof. The solid state disk 250 may be a flash based drive connected to a processor using a serial advanced technology attachment (ATA), a parallel ATA, and/or a universal serial bus (USB) interface, or an Intel® Turbo Memory connected to a processor using high speed input/output (I/O) controller hub (ICH) or platform control hub (PCH). Data may be stored in single level cell (SLC) and/or multi-level cell (MLC) format. In the alternate embodiment, the solid state disk 250 may provide read and/or write caching functionality and be designed to improve platform 200 responsiveness such as reduced boot time and/or provide power savings, for example, by replacing or substituting HDD functionality with solid state functionality.
In
In the embodiment of
In this embodiment, platform 200 is configured to track real-time using a real-time clock and includes a clock generator 318. The clock generator 318 may be a circuit, comprising a resonant circuit and an amplifier, producing a timing signal for use in synchronizing operation of a platform 200. The timing signal from the clock generator 318 may be a simple symmetrical square wave or it may have a more complex waveform. In the embodiment of
Chipset 320 may include one or more bridges or hubs for communicatively coupling system components, as well as other logic and storage components. The solid state disk (SSD) 250 of
Some components may be implemented as adapter cards with interfaces (e.g., a PCI connector) for communicating with a bus. In one embodiment, one or more devices may be implemented as embedded controllers, using components such as programmable or non-programmable logic devices or arrays, ASICs, embedded computers, smart cards, and the like. For purposes of this discussion, the term “ROM” may be used in general to refer to nonvolatile memory devices such as erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash ROM, flash memory, etc. Also, the term “bus” refers to shared communication pathways, as well as point-to-point pathways.
Platform 200 may be controlled, at least in part, by input from conventional input devices, such as a keyboard, a mouse, etc., and/or by directives received from another machine, biometric feedback, or other input sources or signals. Platform 200 may utilize one or more connections to one or more remote data platforms through a network 322, such as through NIC 312, a modem, or other communication ports or couplings. Platforms 200 may be interconnected to form a data processing environment through use of the physical and/or logical network 322, such as a local area network (LAN), a wide area network (WAN), an intranet, the Internet, etc. Communications involving the network 322 may utilize various wired and/or wireless short range or long range carriers and protocols, including radio frequency (RF), satellite, microwave, Institute of Electrical and Electronics Engineers (IEEE) 802.11, 802.16, 802.20, Bluetooth, optical, infrared, cable, laser, etc. Protocols for 802.11 may also be referred to as wireless fidelity (WiFi) protocols. Protocols for 802.16 may also be referred to as worldwide interoperability for microwave access (WiMAX) or wireless metropolitan area network (WirelessMAN) protocols, and information concerning those protocols is currently available at grouper.ieee.org/groups/802/16/index.html.
Embodiments may be described herein with reference to data such as instructions, functions, procedures, data structures, application programs, configuration settings, etc. For purposes of this disclosure, the term “program” covers a broad range of software components and constructs, including applications, drivers, processes, routines, methods, modules, and subprograms. The term “program” can be used to refer to a complete compilation unit (i.e., a set of instructions that can be compiled independently), a collection of compilation units, or a portion of a compilation unit. Thus, the term “program” may be used to refer to any collection of instructions which, when executed by a platform 200, perform a desired operation or operations. The programs in platform 200 may be considered components of a software environment 324.
For instance, when platform 200 boots, a BIOS 326 may be loaded into RAM 308 and executed within software environment 324. Platform 200 may also load and run a VMM 328 and/or one or mode OSs 110 within software environment 324. For example, if platform 200 has not been configured for virtualization, VMM 328 may be unnecessary, and applications may run on top of OS 110. In other embodiments, VMM 328 may launch various guest OSs and user applications in separate virtual machines within software environment 324.
According to the format of
For example, receiving and processing a timestamp may be accomplished under the definition of IDENTIFY DEVICE or IDENTIFY PACKET DEVICE. In one embodiment, the timestamp is a 64-bit value based on a reference signal according to an established unit of time, such as a unit of time with micro-second granularity. In another embodiment, the timestamp is a real-time value correlated with a date and/or date and time. In a further embodiment, the timestamp is a time delta representing a time difference between two instances in time.
The platform 200 identifies a clock generator 318 to provide a reference signal in element 510. A timestamp is established based upon the reference signal in element 520 and a command packet 400 or data packet is formed with a timestamp embedded in the command packet 400 (element 530). The timestamp with a timestamp value may be established on a periodic basis, on a programmed basis, or in response to a trigger such as an event. Further, the operating system 110 may first determine whether the event is to be timestamped and timestamping the event with the timestamp value in response to determining that the event is to be timestamped.
A timing of when and how often a timestamp would be communicated to one or more storage systems may be triggered by a single instance, such as a power-on event, a power-down event, or it may be a known recurrence based on run-time system events or timers. The timestamp may be a single time value and/or the timestamp may be a change in time between two time values, resulting in a time delta. The time delta may be transmitted to the storage system 100 to inform the storage system 100 of how much time has elapsed while the storage system 100 was powered off, in hibernation, in standby mode, or otherwise in an idle mode.
In a preferred embodiment, the timestamp is provided to track an amount of time that has elapsed while the solid state disk 250 is powered off. For example, the platform 200 may timestamp the event according to an established policy such as communicating a timestamp upon every time cycle. A storage location is identified in the storage system(s) such as the solid state disk 250 and the command packet 400 with the embedded timestamp is transferred to the solid state disk 250 in element 540. The timestamped command packet 400 is processed by the solid state disk 250. Alternately, each command packet 400 may be stored in the solid state disk 250 in a protected location. Further, each command packet 400 may be erased, and/or overwritten by another command packet 400 or other data.
An alternate method for communicating a timestamp to a storage system such as the solid state disk 250 may be to use a communication channel utilizing log pages. One or more ATA protocols including Self Monitoring Analysis and Reporting Technology (SMART), General Purpose Logging, SMART Command Transport (SCT) may be used for obtaining or storing data within the storage system through assigned or reserved log page locations. Typically, a specific log page address is 512 bytes in length. The timestamp may use the entire log page or only a portion of the log page to store the timestamp. Communicating the timestamp may be performed through a write command such as WRITE LOG EXT or WRITE LOG DMA EXT through a defined protocol using an assigned log page register.
The operation discussed herein may be generally facilitated via execution of appropriate firmware or software embodied as code instructions on the host processor 304 and microcontroller, as applicable. Thus, embodiments of the invention may include sets of instructions executed on some form of processing core or otherwise implemented or realized upon or within a machine-readable medium. A machine-readable medium includes any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer). For example, a machine-readable medium can include an article of manufacture such as a read only memory (ROM); a random access memory (RAM); a magnetic disk storage media; an optical storage media; and a flash memory device, etc. In addition, a machine-readable medium may include propagated signals such as electrical, optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.).
In the following description and claims, the terms “coupled” and “connected,” along with their derivatives, may be used. It should be understood that these terms are not intended as synonyms for each other. Rather, in particular embodiments, “connected” may be used to indicate that two or more elements are in direct physical or electrical contact with each other while “coupled” may further mean that two or more elements are not in direct contact with each other, but yet still cooperate or interact with each other.
While certain features of the invention have been illustrated and described herein, many modifications, substitutions, changes, and equivalents will now occur to those skilled in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the true spirit of the invention.
Number | Name | Date | Kind |
---|---|---|---|
5297148 | Harari et al. | Mar 1994 | A |
5941989 | Klein | Aug 1999 | A |
6405329 | Colligan et al. | Jun 2002 | B1 |
6693888 | Cafarelli et al. | Feb 2004 | B2 |
6778537 | Ishibashi | Aug 2004 | B1 |
6910106 | Sechrest | Jun 2005 | B2 |
6950255 | Imai | Sep 2005 | B2 |
7047354 | Yagisawa et al. | May 2006 | B2 |
7146464 | Yagisawa et al. | Dec 2006 | B2 |
7174421 | Ehrlich | Feb 2007 | B2 |
7272686 | Yagisawa et al. | Sep 2007 | B2 |
7275133 | Yagisawa et al. | Sep 2007 | B2 |
7340640 | Karr et al. | Mar 2008 | B1 |
7363444 | Ji | Apr 2008 | B2 |
7366839 | Yagisawa et al. | Apr 2008 | B2 |
7424519 | Hoshino et al. | Sep 2008 | B2 |
7653778 | Merry et al. | Jan 2010 | B2 |
7925830 | Yagisawa et al. | Apr 2011 | B2 |
7970946 | Djabarov et al. | Jun 2011 | B1 |
20030131068 | Hoshino et al. | Jul 2003 | A1 |
20030185238 | Strasser et al. | Oct 2003 | A1 |
20040001272 | Iami | Jan 2004 | A1 |
20040068627 | Sechrest | Apr 2004 | A1 |
20040117137 | Jin | Jun 2004 | A1 |
20040162940 | Yagisawa et al. | Aug 2004 | A1 |
20040230853 | Miyamoto | Nov 2004 | A1 |
20050036512 | Loukianov | Feb 2005 | A1 |
20050050275 | Yagisawa et al. | Mar 2005 | A1 |
20050065984 | Yagisawa et al. | Mar 2005 | A1 |
20050066078 | Yagisawa et al. | Mar 2005 | A1 |
20050066126 | Yagisawa et al. | Mar 2005 | A1 |
20050066128 | Yagisawa et al. | Mar 2005 | A1 |
20050071525 | Yagisawa et al. | Mar 2005 | A1 |
20050123137 | McCallum | Jun 2005 | A1 |
20060080574 | Saito et al. | Apr 2006 | A1 |
20060152981 | Ryu | Jul 2006 | A1 |
20060155946 | Ji | Jul 2006 | A1 |
20060271678 | Jessup et al. | Nov 2006 | A1 |
20070106836 | Lee et al. | May 2007 | A1 |
20070110027 | Yeh et al. | May 2007 | A1 |
20070156285 | Sillman | Jul 2007 | A1 |
20070245084 | Yagisawa et al. | Oct 2007 | A1 |
20070260811 | Merry et al. | Nov 2007 | A1 |
20070268938 | Dowd | Nov 2007 | A1 |
20080126685 | Danilak | May 2008 | A1 |
20080155183 | Zhuang et al. | Jun 2008 | A1 |
20080172528 | Yagisawa et al. | Jul 2008 | A1 |
20090043951 | Shalvi et al. | Feb 2009 | A1 |
20090049312 | Min | Feb 2009 | A1 |
20090103203 | Yoshida | Apr 2009 | A1 |
20090113119 | Oribe et al. | Apr 2009 | A1 |
20090195394 | Johnson | Aug 2009 | A1 |
20090282301 | Flynn | Nov 2009 | A1 |
20090300274 | Luo et al. | Dec 2009 | A1 |
20090300277 | Jeddeloh | Dec 2009 | A1 |
20090307713 | Anderson et al. | Dec 2009 | A1 |
20100017556 | Chin et al. | Jan 2010 | A1 |
20100017640 | Gallant | Jan 2010 | A1 |
20100106889 | Manning | Apr 2010 | A1 |
20100122022 | Luo et al. | May 2010 | A1 |
20100122200 | Merry et al. | May 2010 | A1 |
20100268694 | Denoue et al. | Oct 2010 | A1 |
20100275055 | Edel et al. | Oct 2010 | A1 |
20100292854 | Burg et al. | Nov 2010 | A1 |
20100306580 | McKean et al. | Dec 2010 | A1 |
20110060927 | Fillingim et al. | Mar 2011 | A1 |
20110167220 | Yagisawa et al. | Jul 2011 | A1 |
20110246651 | Djabarov et al. | Oct 2011 | A1 |
Number | Date | Country |
---|---|---|
2002032271 | Jan 2002 | JP |
2003-196613 | Jul 2003 | JP |
2004-030534 | Jan 2004 | JP |
2004-246749 | Sep 2004 | JP |
2004-342168 | Dec 2004 | JP |
200719153 | May 2007 | TW |
2010039626 | Apr 2010 | WO |
2010039626 | Jul 2010 | WO |
Entry |
---|
International Search Report/Written Opinion for Patent Application No. PCT/US2009/058533, mailed Apr. 30, 2010, 11 pages. |
International Preliminary Report on Patentability received for PCT Patent Application No. PCT/US2009/058533, mailed Apr. 14, 2011, 6 pages. |
Pre-Examination Official Letter for EP Application No. 09818321.3, dated May 12, 2011, 2 pp. [77.224EP (Pre-Exam OL)]. |
Response to Pre-Examination Official Letter for EP Application No. 09818321.3, dated Nov. 21, 2011, 8 pp. [77.224EP (Resp to Pre-Exam OL)]. |
Search Report for EP Application No. 09818321.3-1229, dated Jul. 10, 2012, 3 pp. [77.224EP (SR)]. |
Office Action 1 for JP Application No. 2011-529297, dated Aug. 1, 2012, 6 pp. (+ Engl Trans) [77.224JP (OA1)]. |
Office Action 1 for KR Application No. 2011-7007288, dated Sep. 11, 2012, 6 pp. (English Translation of Action and Pending Claims) [77.224KR (OA1)]. |
Abstract and Machine Translation of JP Publication No. 2003-196613, dated Jul. 11, 2003, 44 pp. |
Abstract and Machine Translation of JP Publication No. 2004-030534, dated Jan. 29, 2004, 22 pp. |
Abstract and Machine Translation of JP Publication No. 2004-246749, dated Sep. 2, 2004, 62 pp. |
Abstract and Machine Translation of JP Publication No. 2004-342168, dated Dec. 2, 2004, 31 pp. |
Office Action 1 for EP Application No. 09818321.3-1229, dated Aug. 1, 2012, 6 pp. [77.224EP (OA1)]. |
Office Action 1 for JP Application No. 2011-529297, dated Aug. 1, 2012, 6 pp. (+Engl Trans) [77.224JP (OA1 )]. |
Final Office Action 1 for KR Application No. 2011-7007288, dated Mar. 28, 2013, 2 pp. [77.224KR (FOA1)]. |
Response to Office Action 1 for JP Application No. 2011-529297, dated Oct. 30, 2012, 9 pp. [with English Translation of Claims] [77.224JP (ROA1)]. |
Final Office Action 1 for JP Application No. 2011-529297, mailed Aug. 13, 2013, 8 pp. [77.224JP (FOA1)]. |
English Translation of Final Office Action 2 for KR Application No. 2011-7007288, dated Aug. 23, 2013, 2 pp. [77.224KR (FOA2)]. |
US Publication No. 2007/0110027, dated May 17, 2007, is an English language equivalent of TW200719153, dated May 16, 2007. |
Office Action 1 for CN Application No. 200980137446.3, dated May 15, 2013, 11 p. [77.224CN (OA1)]. |
Official Letter and Search Report for TW Application No. 098132912, dated May 21, 2013, 9 pp. (with Engl. Transl. of Search Report) [77.224TW (OL & SR)]. |
Response to Office Action 2 for JP2011529297, dated Jul. 8, 2013, 10 pp. (with Engl. Transl. of Amended Claims) [77.224JP (ROA2)]. |
Office Action 2 for JP Application No. 2011-529297, dated Apr. 4, 2013, 5 pp. [77.224JP (OA2)]. |
Response to Office Action 1 for CN Application No. 200980137446.6 (w/ English Claims), dated Sep. 30, 2013, 13 pp. [77.224CN (ROA1)]. |
Notice of Allowance 1 for CN Application No. 200980137446.6, dated Nov. 26, 2013, 11 pp. [77.224CN (NOA1)]. |
Response to Office Action 1 for TW Application No. 981329812 (w/ English Spec), dated Nov. 4, 2013, 48 pp. [77.224TW (ROA1)]. |
Notice of Allowance 1 for TW Application No. 981329812, dated Nov. 15, 2013, 3 pp. [77.224TW (NOA1)]. |
European Office Action 2, Feb. 16, 2015, for Application No. 09818321.3-1953, Total 6 pp. |
Abstract and Machine Translation for JP Publication No. 2002032271, dated Jan. 31, 2002, 21 pp. |
Number | Date | Country | |
---|---|---|---|
20100082995 A1 | Apr 2010 | US |