1. Technical Field
Methods and example implementations described herein are generally directed to disk drives, and more specifically, to throttling host commands to disk drives.
2. Related Art
New schemes are being evaluated for using the cache memory of a disk drive or a solid state disk (SSD) portion of a device, to mitigate vibration and other issues seen by the rotating media of the disk drive, or a hard disk drive (HDD) portion of the device.
One of the schemes is to direct all new host write commands to the cache when the disk drive or device is subjected to different environmental conditions. For example, under persistent vibration conditions, draining of data from the cache/SSD portion to rotating media/HDD portion is much slower resulting in saturation (i.e., filling) of the cache. Once the cache saturates, performance will drop dramatically as the disk drive or device is thereby limited to the write capability of the HDD portion/rotating media under vibration, which is often very limited. Such conditions may induce inconsistent swings in performance over time.
a) and 1(b) illustrate example related art operation flows during a non-vibration mode operation and a vibration mode operation, respectively. As illustrated in
a) and 1(b) illustrate example related art operation flows during a non-vibration mode operation and a vibration mode operation, respectively.
a) and 3(b) illustrate example configurations for a device and a disk drive, in accordance with example embodiments.
a) and 4(b) illustrate example operation flows in accordance with example embodiments.
Some example embodiments of the present inventive concept are related to methods for dynamically throttling host commands (up or down) to disk drives that include cache memory and rotating media based on environmental conditions and/or drain rate from the cache memory to the rotating media, to provide consistent throughput for an extended period of time and to avoid dramatic swings in performance from pre-saturation state to post-saturation state. Some embodiments are related to dynamically throttling host commands to devices that have HDD and SSD portions.
a) illustrates an example configuration of a device 100, in accordance with an example embodiment. The device 100 may include a disk drive 105, control circuitry 104, cache memory 101, and a servo 102. The disk drive 105 may include rotating media 103 which may include embedded servo sectors 320-32N that define a plurality of servo tracks 34. The device 100 may be a computing device, a data storage device such as a network attached storage device, etc. A voice coil motor (VCM) 40 rotates an actuator arm 42 about a pivot to actuate a head 18 radially over the rotating media 103 to perform read and write operations. The control circuitry 104 is configured to throttle host commands based on at least one of a rate at which data is being drained from the cache memory 101 to the rotating media 103, and at least one environmental condition. The control circuitry 104 may be disposed externally from the disk drive 105, for example, but not limited to, on a motherboard for the device 100, etc., or may be disposed in the disk drive 105. The cache memory 101, which may include non-volatile semiconductor memory (NVSM) or an SSD, may also be disposed externally from the disk drive 105, for example, but not limited to, on a motherboard for the device 100, etc., or may be a part of the disk drive 105. One or more servos 102 and/or sensors (not shown) may be employed to provide information, such as various environmental conditions (e.g., vibration, moisture, temperature, etc.), to the control circuitry 104.
In another example configuration,
a) and 4(b) illustrate example operation flows in accordance with example embodiments. In the operation flow of
The one or more environmental conditions 400 may include conditions such as vibration, temperature, moisture, or other conditions that may affect the performance of the disk drive or device. In an example embodiment, the control circuitry can receive information regarding the vibration condition of the disk drive 105-1 or device 100. The information regarding the vibration condition may include a vibration mode categorization (e.g., nominal vibration, low vibration, vibration, extreme vibration, etc.) detected by the servo 102 and/or sensor(s), or as determined by the control circuitry 104. Each vibration mode categorization may represent a predefined vibration threshold based on a desired implementation. Depending on the vibration mode or measurement, the control circuitry 104 can choose to throttle the host commands, for example, but not limited to, reducing or increasing the rate of the write host commands being forwarded to cache memory 101, introducing or removing delays between each write host command to be forwarded to the cache, etc.
Other implementations of the present inventive concept may be configured for other desired environmental conditions. For example, temperature for the device 100 or disk drive 105-1 may be monitored, and various modes of categorization may be implemented to represent various temperature thresholds. In adverse temperature modes (e.g., high heat, etc.), where throughput may degrade due to prolonged use, the control circuitry 104 may throttle the rate of the host commands being sent to the cache memory downwards. Other environmental conditions, such as moisture, battery life, etc. may be detected in a similar fashion by the servo 102 and/or sensors, or as determined by the control circuitry 104.
The rate 401 at which data is being drained from the cache memory 101 to the rotating media 103 can also be monitored by the control circuitry 104. For example, if the rate 401 falls below a minimum throughput threshold, the control circuitry 104 may determine to throttle the host commands upwards, thereby increasing the rate of host commands to the cache memory 101. The minimum throughput threshold can be predetermined (e.g. factory preset, etc.) or set/adjusted by the control circuitry, or determined by other methods. In another example embodiment, if there are no adverse environmental conditions, the control circuitry 104 may determine that the disk drive does not need to be restricted to the minimum throughput threshold, and may throttle the host commands upwards. Further example implementations are provided below in the descriptions of
It is to be noted that although
In the example embodiment of
In this example embodiment, the control circuitry can thereby receive information in an ad-hoc manner and determine the throttling decision accordingly. For example, information for the at least one environmental condition may not necessarily need to be sent to the control circuitry unless there is a status change (e.g., mode change for one or more environmental conditions). In that situation, the control circuitry may determine that the disk drive does not need to be restricted to the minimum throughput threshold, and may throttle the host commands upwards to maximize throughput, in the absence of any adverse environmental conditions.
Similarly, the control circuitry may determine from one or more adverse environmental conditions (e.g., extreme vibration, extreme temperature, etc.) to immediately throttle the host commands downwards, and subsequently monitor the drain rate to ensure that the minimum throughput threshold is met. The control circuitry may also determine from the drain rate (e.g., quickly falling drain rate, drain rate below minimum throughput threshold, etc.) to immediately throttle the host commands upwards or downwards appropriately, regardless of the environmental conditions. Other configurations based on the example embodiment of
In the example embodiment of
The example embodiment of
In the example embodiment of
The throttling of the host commands may be implemented in various ways. In an example embodiment of
Any suitable control circuitry may be employed to implement the flow diagrams of the example embodiments noted above, for example, but not limited to, any suitable integrated circuit or circuits. For example, the control circuitry may be implemented within a read channel integrated circuit, or in a component separate from the read channel, such as a disk controller, or certain steps described above may be performed by a read channel and others by a disk controller. In one example, the read channel and disk controller are implemented as separate integrated circuits, and in an alternative embodiment they are fabricated into a single integrated circuit or system on a chip (SOC). In addition, the control circuitry may include a suitable preamp circuit implemented as a separate integrated circuit, integrated into the read channel or disk controller circuit, or integrated into an SOC.
In one example, the control circuitry may take the form of a microprocessor executing instructions, the instructions being operable to cause the microprocessor to execute in accordance with the flow diagrams described above. The instructions may be stored in any computer-readable storage medium, which may involve tangible media such as flash memory, RAM, etc. Alternatively, the instructions may be stored in a computer-readable signal medium, which involves non-tangible media such as carrier waves. In one example, they may be stored on a non-volatile semiconductor memory external to the microprocessor, or integrated with the microprocessor in a SOC. In another example, the instructions are stored on the disk and read into a volatile semiconductor memory when the disk drive or device is powered on. In yet another example, the control circuitry comprises suitable logic circuitry, such as state machine circuitry.
Furthermore, some portions of the detailed description are presented in terms of algorithms and symbolic representations of operations within a computer. These algorithmic descriptions and symbolic representations are the means used by those skilled in the data processing arts to most effectively convey the essence of their innovations to others skilled in the art. An algorithm is a series of defined steps leading to a desired end state or result. In the example implementations, the steps carried out require physical manipulations of tangible quantities for achieving a tangible result.
Moreover, other implementations of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the example implementations disclosed herein. Various aspects and/or components of the described example implementations may be used singly or in any combination. It is intended that the specification and examples be considered as examples, with a true scope and spirit of the application being indicated by the following claims.
Number | Name | Date | Kind |
---|---|---|---|
6058466 | Panwar et al. | May 2000 | A |
6189080 | Ofer | Feb 2001 | B1 |
6240502 | Panwar et al. | May 2001 | B1 |
6856556 | Hajeck | Feb 2005 | B1 |
6986019 | Bagashev et al. | Jan 2006 | B1 |
7126857 | Hajeck | Oct 2006 | B2 |
7249268 | Bhandarkar | Jul 2007 | B2 |
7411757 | Chu et al. | Aug 2008 | B2 |
7430136 | Merry, Jr. et al. | Sep 2008 | B2 |
7447807 | Merry et al. | Nov 2008 | B1 |
7477477 | Maruchi et al. | Jan 2009 | B2 |
7502256 | Merry, Jr. et al. | Mar 2009 | B2 |
7509441 | Merry et al. | Mar 2009 | B1 |
7596643 | Merry, Jr. et al. | Sep 2009 | B2 |
7653778 | Merry, Jr. et al. | Jan 2010 | B2 |
7685337 | Merry, Jr. et al. | Mar 2010 | B2 |
7685338 | Merry, Jr. et al. | Mar 2010 | B2 |
7685374 | Diggs et al. | Mar 2010 | B2 |
7733712 | Walston et al. | Jun 2010 | B1 |
7765373 | Merry et al. | Jul 2010 | B1 |
7898855 | Merry, Jr. et al. | Mar 2011 | B2 |
7912991 | Merry et al. | Mar 2011 | B1 |
7936603 | Merry, Jr. et al. | May 2011 | B2 |
7962792 | Diggs et al. | Jun 2011 | B2 |
8078918 | Diggs et al. | Dec 2011 | B2 |
8090899 | Syu | Jan 2012 | B1 |
8095851 | Diggs et al. | Jan 2012 | B2 |
8108692 | Merry et al. | Jan 2012 | B1 |
8122185 | Merry, Jr. et al. | Feb 2012 | B2 |
8127048 | Merry et al. | Feb 2012 | B1 |
8135903 | Kan | Mar 2012 | B1 |
8151020 | Merry, Jr. et al. | Apr 2012 | B2 |
8161227 | Diggs et al. | Apr 2012 | B1 |
8166245 | Diggs et al. | Apr 2012 | B2 |
8243525 | Kan | Aug 2012 | B1 |
8254172 | Kan | Aug 2012 | B1 |
8261012 | Kan | Sep 2012 | B2 |
8271692 | Dinh et al. | Sep 2012 | B1 |
8296625 | Diggs et al. | Oct 2012 | B2 |
8312207 | Merry, Jr. et al. | Nov 2012 | B2 |
8316176 | Phan et al. | Nov 2012 | B1 |
8341339 | Boyle et al. | Dec 2012 | B1 |
8375151 | Kan | Feb 2013 | B1 |
8392635 | Booth et al. | Mar 2013 | B2 |
8397107 | Syu et al. | Mar 2013 | B1 |
8407449 | Colon et al. | Mar 2013 | B1 |
8423722 | Deforest et al. | Apr 2013 | B1 |
8433858 | Diggs et al. | Apr 2013 | B1 |
8443167 | Fallone et al. | May 2013 | B1 |
8447920 | Syu | May 2013 | B1 |
8458435 | Rainey, III et al. | Jun 2013 | B1 |
8478930 | Syu | Jul 2013 | B1 |
8489854 | Colon et al. | Jul 2013 | B1 |
8503237 | Horn | Aug 2013 | B1 |
8521972 | Boyle et al. | Aug 2013 | B1 |
8549236 | Diggs et al. | Oct 2013 | B2 |
8583835 | Kan | Nov 2013 | B1 |
8601311 | Horn | Dec 2013 | B2 |
8601313 | Horn | Dec 2013 | B1 |
8612669 | Syu et al. | Dec 2013 | B1 |
8612804 | Kang et al. | Dec 2013 | B1 |
8615681 | Horn | Dec 2013 | B2 |
8638602 | Horn | Jan 2014 | B1 |
8639872 | Boyle et al. | Jan 2014 | B1 |
8683113 | Abasto et al. | Mar 2014 | B2 |
8700834 | Horn et al. | Apr 2014 | B2 |
8700950 | Syu | Apr 2014 | B1 |
8700951 | Call et al. | Apr 2014 | B1 |
8706985 | Boyle et al. | Apr 2014 | B1 |
8707104 | Jean | Apr 2014 | B1 |
8713066 | Lo et al. | Apr 2014 | B1 |
8713357 | Jean et al. | Apr 2014 | B1 |
8719531 | Strange et al. | May 2014 | B2 |
8724422 | Agness et al. | May 2014 | B1 |
8725931 | Kang | May 2014 | B1 |
8745277 | Kan | Jun 2014 | B2 |
8751728 | Syu et al. | Jun 2014 | B1 |
8769190 | Syu et al. | Jul 2014 | B1 |
8769232 | Suryabudi et al. | Jul 2014 | B2 |
8775720 | Meyer et al. | Jul 2014 | B1 |
8782327 | Kang et al. | Jul 2014 | B1 |
8788778 | Boyle | Jul 2014 | B1 |
8788779 | Horn | Jul 2014 | B1 |
8788880 | Gosla et al. | Jul 2014 | B1 |
8793429 | Call et al. | Jul 2014 | B1 |
20050171753 | Rosing et al. | Aug 2005 | A1 |
20080024899 | Chu et al. | Jan 2008 | A1 |
20080141063 | Ridgeway et al. | Jun 2008 | A1 |
20080209103 | Haga | Aug 2008 | A1 |
20090049312 | Min | Feb 2009 | A1 |
20100174849 | Walston et al. | Jul 2010 | A1 |
20100185820 | Hughes et al. | Jul 2010 | A1 |
20100250793 | Syu | Sep 2010 | A1 |
20110099323 | Syu | Apr 2011 | A1 |
20110283049 | Kang et al. | Nov 2011 | A1 |
20120260020 | Suryabudi et al. | Oct 2012 | A1 |
20120278531 | Horn | Nov 2012 | A1 |
20120284460 | Guda | Nov 2012 | A1 |
20120324191 | Strange et al. | Dec 2012 | A1 |
20130132638 | Horn et al. | May 2013 | A1 |
20130145106 | Kan | Jun 2013 | A1 |
20130290793 | Booth et al. | Oct 2013 | A1 |
20140059405 | Syu et al. | Feb 2014 | A1 |
20140101369 | Tomlin et al. | Apr 2014 | A1 |
20140115427 | Lu | Apr 2014 | A1 |
20140133220 | Danilak et al. | May 2014 | A1 |
20140136753 | Tomlin et al. | May 2014 | A1 |
20140149826 | Lu et al. | May 2014 | A1 |
20140157078 | Danilak et al. | Jun 2014 | A1 |
20140181432 | Horn | Jun 2014 | A1 |
20140223255 | Lu et al. | Aug 2014 | A1 |