This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2012-166059, filed on Jul. 26, 2012; the entire contents of which are incorporated herein by reference.
Embodiments of the present invention relate to a memory system and a method of writing data in the memory system.
For example, there is disclosed a technology to determine whether a non-volatile memory is likely to generate an error based on obtained status information indicating a state of the non-volatile memory such as the number of rewritings and the number of erasures, with respect to an information recording device including a disk-shaped recording medium and a non-volatile memory. In addition, there is disclosed a technology to determine whether the temperature of a non-volatile memory is in a predetermined range upon writing data in the non-volatile memory and to prohibit writing if the temperature is beyond the predetermined range.
A system in consideration of temperature dependency of writing deterioration of a non-volatile memory has been sought in a hybrid memory system in which a non-volatile memory and another memory medium are combined.
A memory system according to an embodiment of the present invention includes a disk recording medium, a non-volatile memory, a temperature measurement module configured to measure a temperature of the vicinity of the non-volatile memory, a threshold temperature memory module configured to hold a threshold temperature. The memory system according to the embodiment further includes a controller configured to write data in the non-volatile memory if the temperature measured by the temperature measurement module is higher than the threshold temperature upon receiving an instruction to write the data from a host.
Hereinafter, a memory system and a method of writing data in the memory system according to embodiments will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to these embodiments.
A memory system according to this embodiment is, for example, a hybrid drive including a magnetic disk and a non-volatile memory. In a hybrid drive, a non-volatile memory is used as, for example, a write cache. That is, data from a host is once written in the non-volatile memory used as a cache memory. After that, the data is written in an HDD.
Operation of the memory system 100 will be described with reference to
Differences from the first embodiment will be described. In this embodiment, if the temperature is not more than the threshold temperature in the step S23, (Step S23: No), it is determined whether the spindle motor (SPM) 18 included in the magnetic disk 14 is rotating or not (Step S24). If the spindle motor (SPM) 18 is rotating (Step S24: Yes), data is written in the magnetic disk 14 (Step S26). If the spindle motor (SPM) 18 is not rotating (Step S24: No), the spindle motor (SPM) 18 is activated (Step S27). Accordingly, the temperature of the magnetic disk device increases. As a result, the temperature around the non-volatile memory 16 provided near the magnetic disk 14 may increase. This temperature increase can be detected by the thermometer 17. The process proceeds again to the steps S22 and S23 after the spindle motor (SPM) 18 is activated, and accordingly, it is possible to write the data in the non-volatile memory 16 (Step S25) if the temperature indicated by the thermometer 17 is equal to or more than the predetermined threshold temperature (Step S23: Yes). Accordingly, high-speed writing becomes possible while minimizing deterioration of the non-volatile memory 16 even in a low temperature environment. Note that, if the temperature is not more than the predetermined threshold temperature (Step S23: No), the spindle motor (SPM) 18 is already activated (Step S24: Yes). Accordingly, the data is written in the magnetic disk 14 (Step S26).
Operation of the memory system 300 according to the third embodiment will be described with reference to
When the mode is not “non-volatile memory non-use mode” (Step S32: No), the value of the number of writings counter 19 is checked to determine whether the value exceeds the predetermined threshold held by the threshold memory 22 (Step S34). If the value of the counter exceeds the threshold (Step S34: Yes), the mode is switched to “non-volatile memory non-use mode” in which the data is directly written in the magnetic disk 14 in response to an instruction to write data given by the host 1 (Step S35), and the data is written in the magnetic disk 14 (Step S33).
If the value of the number of writings counter does not exceed the threshold (Step S34: No), the temperature indicated by the thermometer 17 is detected (Step S36), and a weighting coefficient (α) corresponding to the detected temperature is referred to from the table shown in
In addition, in combination with the first embodiment, a branch to write data in the magnetic disk 14 (Step S33) if the temperature is not more than the predetermined threshold temperature upon checking the temperature in the step S36 may be provided. Furthermore, in combination with the second embodiment, whether the spindle motor (SPM) 18 is rotating or not may be determined if the temperature is not more than the predetermined threshold temperature upon checking the temperature in the step S36, and the temperature checking of the step S36 may be carried out again after the spindle motor (SPM) 18 is activated if the spindle motor (SPM) 18 is not rotating. In the above embodiments, a hybrid drive including a magnetic disk and a non-volatile memory was explained as an example; however, a memory system including other devices such as a magnetic dick device (HDD device) and an SSD (Solid State Drive) may be used.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2012-166059 | Jul 2012 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5162851 | Asakawa et al. | Nov 1992 | A |
6233190 | Cooper et al. | May 2001 | B1 |
7222052 | Coulson et al. | May 2007 | B2 |
7233880 | Coulson et al. | Jun 2007 | B2 |
7450334 | Wang et al. | Nov 2008 | B1 |
7953925 | Morris | May 2011 | B2 |
7987317 | Akiba | Jul 2011 | B2 |
8209504 | Nakanishi et al. | Jun 2012 | B2 |
8370615 | Chiu | Feb 2013 | B2 |
20030191889 | Forrer, Jr. | Oct 2003 | A1 |
20040075931 | Kim et al. | Apr 2004 | A1 |
20050210344 | Matsui | Sep 2005 | A1 |
20050288902 | Coulson et al. | Dec 2005 | A1 |
20060122805 | Coulson et al. | Jun 2006 | A1 |
20070033433 | Pecone et al. | Feb 2007 | A1 |
20070067575 | Morris et al. | Mar 2007 | A1 |
20070106860 | Foster et al. | May 2007 | A1 |
20070140030 | Wyatt | Jun 2007 | A1 |
20100259998 | Kwon et al. | Oct 2010 | A1 |
20110219203 | Nurminen et al. | Sep 2011 | A1 |
20110302353 | Confalonieri et al. | Dec 2011 | A1 |
Number | Date | Country |
---|---|---|
11-020576 | Jan 1999 | JP |
2000-011670 | Jan 2000 | JP |
2007-505406 | Mar 2007 | JP |
2007-193865 | Aug 2007 | JP |
2005026965 | Mar 2005 | WO |