1. Field of the Invention
The present invention relates to a technology for performing a power-saving control on a plurality of information storage devices.
2. Description of the Related Art
A storage system (a storage device) is known in the art that includes a plurality of magnetic disk devices (hereinafter, “disk devices”) to increase the memory capacity and to improve the performance. In such a storage device, it is necessary to secure maximum power consumption necessary for activating all the disk devices. In other words, if a power source that can assure the maximum power consumption is not available, the storage device cannot be installed.
One approach to reduce the power consumption is to decrease the number of the disk devices; however, this approach leads to lower storage capacity. In another approach, the power consumption of the entire storage device is controlled by controlling an operation mode of each of the disk devices.
For example, a conventional power management method is disclosed in Japanese Patent Application Laid-Open No. 2001-331243. In the conventional power management method, amount of data input/output to/from each of the disk devices is recorded as time passes. The record is then analyzed to see if any disk device exhibits a cyclic access pattern. If a disk device exhibits a cyclic access pattern, then it is determined if it is possible to estimate a period during which the amount of data input/output to/from any disk device becomes zero. If such a period can be estimated for a disk device, then that disk device is forced to enter a power-saving mode during that period.
In the conventional technology, however, if the amount of data input/output to/from a disk device is not cyclic, it is difficult to switch the operation mode of the disk devices to the power-saving mode; and therefore, a sufficient power-saving effect can not be obtained.
Furthermore, unless a large number of disk devices are switched to the power-saving mode, the power consumption of the entire storage device cannot be reduced effectively.
The above problems can not be neglected in view of the fact that there has been a trend to increase the number of the disk devices in the storage device to satisfy a requirement of a large storage capacity and/or a high-speed input/output processing.
It is an object of the present invention to at least partially solve the problems in the conventional technology.
According to an aspect of the present invention, there is provided an apparatus including a storage unit that stores therein operation information indicative of operation state of each of a plurality of information storage devices; a power calculating unit that calculates power information including current power consumption of each of the information storage devices and total power consumption of all the information storage devices based on the operation information; and an access managing unit that, upon receiving an access request for a target information storage device checks if the target information storage device is in a standby state from the operation information in the storage unit, and if the target information storage device is in the standby state, switches the target information storage device to active state and permits access to the target information storage device when the power information satisfies certain condition.
According to another aspect of the present invention, there is provided a method including storing in a storage unit operation information indicative of operation state of each of a plurality of information storage devices; calculating power information including current power consumption of each of the information storage devices and total power consumption of all the information storage devices based on the operation information; and managing, upon receiving an access request for a target information storage device, including checking if the target information storage device is in a standby state from the operation information in the storage unit, and if the target information storage device is in the standby state, switching the target information storage device to active state and permitting access to the target information storage device when the power information satisfies certain condition.
According to still another aspect of the present invention, there is provided a computer-readable recording medium that stores therein a computer program that causes a computer to realize the above method.
The above and other objects, features, advantages and technical and industrial significance of this invention will be better understood by reading the following detailed description of presently preferred embodiments of the invention, when considered in connection with the accompanying drawings.
Exemplary embodiments of the present invention are explained in detail below with reference to the accompanying drawings. An example is explained below in which a power-saving control is performed on a disk device.
However, because number of the disk devices included in the storage device has been increased with an increase of a size of the storage device, it becomes difficult to assure an amount of power necessary for operating all the disk devices. Therefore, the number of the disk devices included in the storage device is suppressed when installing the storage device, so that a necessary amount of power is kept within an available range. In other words, although a capacity can be increased and a performance can be improved with an increase of the size of the storage device, there is a problem with a power supply caused by an increase of power consumption.
In response to the above issues, according to an embodiment of the present invention, importance is given to power-saving instead of performance. More specifically, as shown in
In another embodiment, if there is a disk device that has less access rate and a disk device that has high access rate, then data from the disk device with less access rate is moved to the disk device with high access rate, and the disk device with less access rate is put in standby state. Accordingly, it is possible to effectively suppress the power consumption.
In the power-saving disk management processing, for example, upon receiving a write request to a certain disk device A from a server (see (1) of
Upon receiving the query, the power managing unit refers to power management information that is information about tolerance and power consumption of the disk devices. If the power management information indicates that the disk device A can be operated in consideration of the power supply, the power managing unit sends a permission to the access managing unit (see (5) of
According to the embodiment, a default setting of the operation mode of each of the disk devices, for example, the disk A shown in
In the power-saving disk management processing, the number of the standby disks is positively increased by transferring data stored in a disk device that is less frequently accessed to another disk device that is frequently accessed. This is explained in detail with reference to
As shown in
By performing the same data transfer processing on other disk devices, data distributed on the disk devices that are less frequently accessed are accumulated to the disk devices that are more frequently accessed. The less frequently accessed disk devices can be then automatically switched from the active mode to the standby mode thereby saving the power consumption.
The control unit 10 includes an access managing unit 11, a power managing unit 12, and a data-transfer processing unit 13. The memory unit 20 stores therein disk information 21 and power management information 22.
The control unit 10 receives a disk access request to a certain disk device D from among the disk devices 30 from a computer terminal such as a server (not shown), monitors an access status of the disk device D, and executes an input/output data to and from the disk device D.
The access managing unit 11 continuously monitors an operation state of the disk devices 30 and stores the disk information 21, which represents the result of the monitoring, to the memory unit 20. Upon receiving a disk access request for one or more of the disk devices 30, the access managing unit 11 sends a request of an access permission to the power managing unit 12 for those disk devices 30. Upon receiving a permission from the power managing unit 12, the access managing unit 11 executes input/output of data to and from those disk devices 30. Upon not receiving the permission, the access managing unit 11 does not execute the input/output. Although only one access managing unit 11 is shown in
The standby mode is such that the spindle motor of the disk device is in inactive state, while the active mode is such that the spindle motor is in active state. The power consumption of a typical disk device is the lowest when its spindle motor is in inactive state. In other words, from the viewpoint of power saving, it is preferable that more and more disk devices are in the standby mode.
As shown in
If the disk devices 30 perform a plurality of operation steps with different power consumption, it is possible to set one or more operation modes between the active mode and the standby mode and to control switching of the disk devices 30 among the operation modes.
Referring back to
To write data, if the disk device D is in the standby mode, the disk device D needs to be switched from the standby mode to the active mode. However, if the amount of power required for the disk device D in the active mode added to the current total power exceeds the tolerance value, the disk device 30 can not be switched to the active mode. On the other hand, if the disk device D is already in the active mode, data can be written on the disk device D. Therefore, the access managing unit 11 sends a query to the power managing unit 12 about whether data can be written on the disk device D. Upon receiving a permission from the power managing unit 12, the access managing unit 11 performs a data input/output to and from the disk device D. Upon not receiving the permission, the access managing unit 11 does not perform the data input/output.
The disk information 21 includes overall access frequency of each of the disk devices 30 (i.e., number of accesses per unit time), and access frequency of each data in each of the disk devices 30. In the example shown in
Referring back to
In the example shown in
Furthermore, because the tolerance of the unit AA is 210, the power consumption of the unit AA has reached its limit. At this example, upon receiving an access permission request to a disk device, which is in the standby mode, in the unit AA from the access managing unit 11, the power managing unit 12 will not permit an access to that disk device. On the other hand, upon receiving an access permission request to a disk device, which is in the standby mode, in a unit CC, because the power consumption of the unit CC is 20 while the tolerance is 400, the power consumption is not likely to exceed the tolerance even if the operation mode of that disk device is switched to the active mode. Therefore, the power managing unit 12 permits an access to that disk device.
Referring back to
Assume now that the data-transfer processing unit 13 selects disks A and C in the unit AA as target disks for the data transfer processing. The overall access frequency of the disk A is 100, the same of the disk C is 70. The disk C also includes data 002 of which access frequency is 70. Therefore, the data-transfer processing unit 13 transfers the data 002, which is relatively frequently accessed among all data, from the disk C to the disk A.
Assume now that the data-transfer processing unit 13 selects the disk B in the unit AA and a disk I in the unit BB as target disks for the data transfer processing. Because the overall access frequency of both the disks B and I is 50, the data-transfer processing unit 13 does not perform the data transfer processing.
In this manner, the data-transfer processing unit 13 accumulates relatively frequently-accessed data in relatively frequently-accessed disk devices. When relatively frequently-accessed data from a disk device is moved, the overall access frequency of that disk device drops so that that disk device can be switched to the standby state. Therefore, it is possible to increase number of the disk devices that are in the standby mode. As a result, it is possible to effectively use the disk devices 30, and to save power in a storage device or a storage system configured with a plurality of the storage devices.
Referring back to
The access managing unit 11 extracts an operation state of each of the disk devices 30 from the operation information, and notifies the extracted operation states to the power managing unit 12 (step S103). The operation state is information related to power management (for example, “power consumption”, “active”, and “standby” shown in
On the other hand, upon receiving the operation state of each of the disk devices 30 from the access managing unit 11, the power managing unit 12 updates the power management information 22 based on the received operation state (step S104). The power managing unit 12 repeats a process at step S104 every time the power managing unit 12 receives the operation state from the access managing unit 11. With the above processes, the access managing unit 11 updates the disk information 21 while the power managing unit 12 updates the power management information 22.
If the disk device D is in the standby mode and a spindle motor of the disk device D needs to be activated (hereinafter, “spinup”) for performing an input/output (YES at step S203), the access managing unit 11 transmits a permission request for switching an operation-mode of the disk device D to the power managing unit 12 (step S204). On the other hand, if the disk device D is in the active mode and the spinup is not required (NO at step S203), the access managing unit 11 accesses (performs the input/output) the disk device D (step S210), and the process terminates.
Upon receiving the permission request from the access managing unit 11, the power managing unit 12 refers to the power management information 22 in the memory unit 20 (step S205). Thereafter, the power managing unit 12 determines whether the power consumption exceeds the tolerance assuming that the spinup is performed to the disk device D and that the disk device D is switched to be in the active mode (step S206). If it is determined that the power consumption is within the tolerance (YES at step S206), the power managing unit 12 sends a permission notice to the access managing unit 11 (step S208). On the other hand, if it is determined that the power consumption exceeds the tolerance (NO at step S206), the power managing unit 12 sends a non-permission notice to the access managing unit 11 (step S207).
Upon receiving a response from the power managing unit 12, the access managing unit 11 determines whether the response is the permission notice (step S209). If the response is the permission notice (YES at step S209), the access managing unit 11 accesses (performs the input/output) the disk device D (step S210), and the process ends. On the other hand, if the response is the non-permission notice (NO at step S209), the access managing unit 11 accesses (performs the input/output) a disk device different from the disk device D (step S211), and the process ends.
The data transfer processing is explained with reference to a flowchart shown in
Thereafter, the data-transfer processing unit 13 selects an arbitrary pair of the disk devices A and B (step S303), and determines whether the selected pair of the disk devices is the last one among the disk devices 30 (step S304). If the selected pair of the disk devices is the last one (YES at step S304), the data-transfer processing unit 13 assumes that a series of the data transfer processing is completed, and the process ends. On the other hand, if the selected pair of the disk devices is not the last one (NO at step S304), the data-transfer processing unit 13 determines whether data can be transferred from one disk to the disk among the pair of disks based on the access information (step S305).
If data can not be transferred (NO at step S305), the data-transfer processing unit 13 repeats the process from step S303 to step S305 for another pair of disk devices. On the other hand, if the data can be transferred (YES at step S305), the data-transfer processing unit 13 sends a data transfer instruction to the access managing unit 11 (step S306).
Upon receiving the data transfer instruction from the data-transfer processing unit 13, the access managing unit 11 transfers the data from the disk device A to B (or B to A) (step S307), and the process ends.
As described above, according to the embodiment, the operation mode of each of the disk devices is by default set to the standby mode and the access managing unit continuously acquires the operation state of each of the disk devices. Upon receiving an access request for a target disk device, the access managing unit checks the operation mode of the target disk device. If the target disk device is in the standby mode, the access managing unit sends a query about accessibility of the target disk device to the power managing unit. Upon receiving a permission from the power managing unit, the access managing unit accesses the target disk device, so that the target disk device is put in the active mode. In addition, the data-transfer processing unit performs a process of transferring frequently-accessed data to a frequently-accessed disk device. As a result, it is possible to realize a high power-saving effect by effectively switching the operation mode of the target disk device to be in a power-saving mode.
The operation procedures explained in the above embodiment can be realized by causing a computer terminal to execute a predetermined computer program.
As shown in
The ROM 53 stores therein an access management program 53a, a power management program 53b, and a data-transfer processing program 53c. The access management program 53a corresponds to the access managing unit 11, the power management program 53b to the power managing unit 12, and the data-transfer processing program 53c to the data-transfer processing unit 13.
The CPU 54 reads out the above programs to execute, so that the access management program 53a serves as an access management process 54a, the power management program 53b as a power management process 54b, and the data-transfer processing program 53c as a data-transfer processing process 54c.
The RAM 55 stores therein disk information 55a that corresponds to the disk information 21, and power management information 55b that corresponds to the power management information 22.
It is not necessary to store the above programs in the ROM 53 in advance. For example, it is acceptable to store the programs in a removable physical medium, such as a flexible disk (FD), a compact disk-read only memory (CD-ROM), or a magneto optical (MO) disk, from which the computer terminal 50 can read out the programs. Alternatively, it is acceptable to store the programs in another computer or a server connectable to the computer terminal 50 via a public line, the Internet, a local area network (LAN), or a wide area network (WAN), so that the computer terminal 50 can read out the programs to execute.
According to an embodiment of the present invention, a high power-saving effect can be realized by effectively switching an operation mode of a target device to be in a power-saving mode.
Furthermore, according to an embodiment of the present invention, a high power-saving effect can be realized by managing the operation mode of a target information storage device so that power consumption does not exceed a tolerance value.
Moreover, according to an embodiment of the present invention, a high power-saving effect can be realized by switching the operation modes of a number of the information storage devices to be in a standby mode.
Furthermore, according to an embodiment of the present invention, a high power-saving effect can be obtained.
Moreover, according to an embodiment of the present invention, it is possible to increase an input/output operation speed by reducing a management load.
Furthermore, according to an embodiment of the present invention, it is possible to save power of a magnetic disk device, so that it is possible to reduce a power consumption of the entire storage device or a storage system to which the magnetic disk device is connected.
Moreover, according to an embodiment of the present invention, it is possible to effectively manage the information storage device included in a power supply block such as a chassis, a lack, or a blade.
Although the invention has been described with respect to specific embodiments for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art that fairly fall within the basic teaching herein set forth.
This is a continuation filed under 35 U.S.C. § 111(a), of International Application No. PCT/JP2005/004813, filed Mar. 17, 2005.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2005/004813 | Mar 2005 | US |
Child | 11899886 | Sep 2007 | US |