CN111831097A - Method and system for realizing energy conservation through dynamic conversion of hard disk power supply state - Google Patents

Method and system for realizing energy conservation through dynamic conversion of hard disk power supply state Download PDF

Info

Publication number
CN111831097A
CN111831097A CN202010537992.7A CN202010537992A CN111831097A CN 111831097 A CN111831097 A CN 111831097A CN 202010537992 A CN202010537992 A CN 202010537992A CN 111831097 A CN111831097 A CN 111831097A
Authority
CN
China
Prior art keywords
hard disk
state
power supply
working power
states
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010537992.7A
Other languages
Chinese (zh)
Inventor
付水论
程世超
王鹏
张敏
杨德晓
叶明洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010537992.7A priority Critical patent/CN111831097A/en
Publication of CN111831097A publication Critical patent/CN111831097A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3225Monitoring of peripheral devices of memory devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3268Power saving in hard disk drive

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a method and a system for realizing energy saving through dynamic state conversion of a hard disk power supply, wherein the method comprises the following steps: defining the state of a hard disk working power supply and hard disk state parameters corresponding to different working power supply states and storing the hard disk state parameters into a working power supply state query table; setting the hard disk into different working power supply states and non-working power supply states by issuing a power supply state command; and acquiring the performance index and the temperature index of the hard disk, and controlling the working power state of the hard disk to perform dynamic conversion through a preset performance control target and a preset temperature control target. The control mechanism solves the problems that the performance target can be met, the power consumption can be reduced as far as possible to realize energy saving, and the hard disk is damaged due to overhigh temperature of the hard disk caused by setting the working power state of the hard disk at a state with higher power.

Description

Method and system for realizing energy conservation through dynamic conversion of hard disk power supply state
Technical Field
The invention relates to the technical field of energy-saving design of servers, in particular to a method and a system for realizing energy conservation through dynamic conversion of a hard disk power supply state.
Background
As the performance of the hard disk increases, the power consumption also increases. In the current 1U server, a maximum of 32 e1. sssds are supported. Taking the power consumption of the currently mainstream e1.s SSD as an example, the power consumption of a single e1.s SSD is 14W, and the total power consumption of 32 e1.s SSDs is 448W, which already exceeds the power consumption of the CPU. In a real server system, when 32 e1.s SSDs are fully inserted into the system, the power consumption of the e1.s SSDs cannot reach the maximum because the CPU cannot push the device hard due to its processing power or PCIe bandwidth limitation. The actual power of the e1.s SSD is also related to the software service it participates in, and when the server system handles high performance, high concurrency services, the e1.s SSD consumes more power.
In the prior art, no matter what the server system has to meet the requirements of the hard disk performance, the hard disk always works in the same power state, and even when the server system does not have such high requirements on the read-write performance of the hard disk, the hard disk is also in the power state with high power, so that the system cannot save energy according to the performance requirements of actual use.
Disclosure of Invention
The invention provides a method and a system for realizing energy saving through dynamic conversion of a hard disk power supply state, aiming at the problems that no matter what the requirements of a server system on the hard disk performance are, the hard disk always works in the same power supply state, and even when the requirements of the server system on the hard disk read-write performance are not high, the hard disk is also in the power supply state with high power, so that the system cannot save energy according to the performance requirements of actual use.
The technical scheme of the invention is that
On one hand, the technical scheme of the invention provides a method for realizing energy saving through dynamic state conversion of a hard disk power supply, which comprises the following steps:
defining the state of a hard disk working power supply and hard disk state parameters corresponding to different working power supply states and storing the hard disk state parameters into a working power supply state query table;
setting the hard disk into different working power supply states and non-working power supply states by issuing a power supply state command;
and acquiring the performance index and the temperature index of the hard disk, and controlling the working power state of the hard disk to perform dynamic conversion through a preset performance control target and a preset temperature control target.
Preferably, the hard disk state parameters include maximum power, entry state time, exit state time, relative read throughput, relative read latency, relative write throughput, relative write latency.
Preferably, the step of defining the hard disk operating power supply state and storing the hard disk state parameters corresponding to different operating power supply states into the operating power supply state lookup table includes:
defining the hard disk working power supply state and the maximum power, entering state time, exiting state time, relative read flux, relative read delay, relative write flux and relative write delay parameters corresponding to different working power supply states and storing the parameters into a working power supply state lookup table, wherein the hard disk working power supply state S in the working power supply state lookup tablenThe larger the value of n is, the smaller the maximum power consumption of the hard disk is, and the lower the read-write performance is.
Preferably, the step of setting the hard disk to different operating power states and non-operating power states by issuing a power state command includes:
when the working power supply state of the hard disk is dynamically set, the time T required by the hard disk to switch between the two working power supply statestransition=Texit0+Tentry1And after submitting the working power state of the hard disk once, at least waiting for TtransitionThe state of the hard disk working power supply can be submitted next time only by time;
wherein, Texit0Time of exit state, T, representing current stateentry1An entry state time indicating a state to be entered;
preferably, the hard disk is set to different working power states and non-working states by issuing a power state commandThe step of operating the power supply state further comprises: when the time of no read-write operation of the hard disk exceeds the preset threshold value Tnon-operationWhen the hard disk is in the non-working power state, the power state of the hard disk is set to be the non-working power state, wherein Tnon-operationGreater than the exit state time for all operating power states.
Preferably, in the step of obtaining the performance index and the temperature index of the hard disk and dynamically switching the power state of the hard disk through a preset performance control target and a preset temperature control target, in order to ensure that the hard disk is not damaged, the priority of the temperature control target is higher than that of the performance control target.
Preferably, in the step of obtaining the performance index and the temperature index of the hard disk and controlling the power state of the hard disk to perform dynamic conversion according to the preset performance control target and the preset temperature control target, the step of obtaining the temperature index of the hard disk and controlling the power state of the hard disk to perform dynamic conversion according to the preset temperature control target specifically includes:
s3-11: acquiring the current temperature of the hard disk, judging whether the current temperature is greater than a set first temperature threshold value, if so, executing the step S3-12, and if not, executing the step S3-15;
s3-12: judging whether the current temperature is greater than a set second temperature threshold value, if so, executing the step S3-13, and if not, executing the step S3-14;
s3-13: setting the hard disk to be in a non-working power state, and continuing to execute the step S3-11;
s3-14: setting the working power state of the hard disk to Sn+1Setting the working power supply state of the hard disk to be M states, wherein the maximum n +1 is M-1; continuing to execute step S3-11;
s3-15: and keeping the current hard disk working power state unchanged, and continuing to execute the step S3-11.
And controlling the power state of the hard disk to perform dynamic conversion through a temperature control target. The problem of because set up the state of hard disk power at the higher state of power, cause the hard disk high temperature thereby to damage the hard disk is solved.
Preferably, in the step of obtaining the performance index and the temperature index of the hard disk and controlling the power state of the hard disk to perform dynamic switching according to the preset performance control target and the preset temperature control target, the step of obtaining the performance index of the hard disk and controlling the power state of the hard disk to perform dynamic switching according to the preset performance control target specifically includes:
s3-21: setting the current working power state of the hard disk to Sn
S3-22: counting IO read-write times of the hard disk in a set time period;
s3-23: judging whether the IO read-write times of the counted hard disk in the set time period are larger than 0, if so, executing the step S3-27, and if not, executing the step S3-24;
s3-24: judging whether duration time of no IO read-write operation of the hard disk exceeds a threshold value T or notnon-operation,If yes, executing the step S3-25, if no, executing the step S3-26;
s3-25: setting the hard disk to be in a non-working power state, and continuing to execute the step S3-22;
s3-26: maintaining the current hard disk working power supply state unchanged, and continuing to execute the step S3-22;
s3-27: judging whether the IO read-write times of the counted hard disk in the set time period are larger than a second threshold value, if so, executing the step S3-28, and if not, executing the step S3-31;
s3-28: judging whether the IO read-write times of the counted hard disk in the set time period are larger than a third threshold value, if so, executing the step S3-29, and if not, executing the step S3-30;
s3-29: setting the working power state of the hard disk to Sn-2Wherein n-2 is at least 0; continuing to execute step S3-22;
s3-30: setting the working power state of the hard disk to Sn-1Wherein n-1 is at least 0; continuing to execute step S3-22;
s3-31: judging whether the IO read-write times of the counted hard disk in the set time period are larger than a first threshold value, if so, executing the step S3-32, and if not, executing the step S3-33;
s3-32: maintaining the current hard disk working power supply state unchanged, and continuing to execute the step S3-22;
s3-33: working power supply state of hard diskState set to Sn+1Setting the working power supply state of the hard disk to be M states, wherein the maximum n +1 is M-1; execution continues with step S3-22. The working mechanism of controlling the power state of the hard disk to carry out dynamic conversion through the performance control target solves the problem of how to meet the performance target and reduce the power consumption as much as possible to realize an energy-saving control mechanism.
On the other hand, the technical scheme of the invention provides a system for realizing energy saving through dynamic state conversion of a hard disk power supply, which comprises a definition unit, a storage unit, a power supply management unit and a hard disk;
the definition unit is used for defining the hard disk working power supply state and hard disk state parameters corresponding to different working power supply states and storing the hard disk state parameters into a working power supply state query table in the storage unit;
the power management unit is used for setting the hard disk into different working power states and non-working power states by issuing a power state command;
and the power supply management unit is used for acquiring the performance index and the temperature index of the hard disk and controlling the power supply state of the hard disk to be dynamically converted by comparing the performance index and the temperature index with the preset performance control target and the preset temperature control target stored in the storage unit.
According to the technical scheme, the invention has the following advantages: and defining the hard disk working power supply state and state parameters corresponding to different working power supply states by using the working power supply state lookup table. The problem that only one hard disk power supply state is available is effectively solved, and corresponding hard disk read-write performance relative indexes under different working power supply states are defined.
The power management unit controls the power state of the hard disk to be dynamically converted through the performance control target and the temperature control target, so that the problem that the hard disk is damaged due to overhigh temperature of the hard disk because the working power state of the hard disk is set in a state with higher power is solved.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a process of controlling a power state of a hard disk to perform dynamic transition by using a preset temperature control target according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart illustrating a process of controlling a power state of a hard disk to perform dynamic transition according to a preset performance control target according to an embodiment of the present invention.
FIG. 3 is a schematic block diagram of a system of one embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a method for realizing energy conservation through dynamic state conversion of a hard disk power supply, which comprises the following steps:
s1: defining the state of a hard disk working power supply and hard disk state parameters corresponding to different working power supply states and storing the hard disk state parameters into a working power supply state query table;
s2: setting the hard disk into different working power supply states and non-working power supply states by issuing a power supply state command;
s3: and acquiring the performance index and the temperature index of the hard disk, and controlling the working power state of the hard disk to perform dynamic conversion through a preset performance control target and a preset temperature control target.
It should be noted that the hard disk state parameters include maximum power, entry state time, exit state time, relative read flux, relative read latency, relative write flux, and relative write latency.
The step of defining the hard disk working power supply state and storing the hard disk state parameters corresponding to different working power supply states into the working power supply state query table comprises the following steps:
defining the hard disk working power supply state and the maximum power, entering state time, exiting state time, relative read flux, relative read delay, relative write flux and relative write delay parameters corresponding to different working power supply states and storing the parameters into a working power supply state lookup table, wherein the hard disk working power supply state S in the working power supply state lookup tablenThe larger the value of n is, the smaller the maximum power consumption of the hard disk is, and the lower the read-write performance is.
The step of setting the hard disk into different working power states and non-working power states by issuing a power state command comprises the following steps:
when the working power supply state of the hard disk is dynamically set, the time T required by the hard disk to switch between the two working power supply statestransition=Texit0+Tentry1And after submitting the working power state of the hard disk once, at least waiting for TtransitionThe state of the hard disk working power supply can be submitted next time only by time;
wherein, Texit0Time of exit state, T, representing current stateentry1An entry state time indicating a state to be entered;
when the time of no read-write operation of the hard disk exceeds the preset threshold value Tnon-operationWhen the hard disk is in the non-working power state, the power state of the hard disk is set to be the non-working power state, wherein Tnon-operationGreater than the exit state time for all operating power states.
In order to ensure that the hard disk is not damaged, the priority of the temperature control target is higher than that of the performance control target.
In this embodiment, 7 different operating power states are taken as an example, and different numbers of operating power states may be defined as needed. Working power state look-up table reference table 1, SnComprising S0-S6Different numbers of operating power states may also be defined as desired. Can see through the working power state lookup table that SnThe larger the value of n, the smaller the maximum power consumption of the hard disk, and the lower the read-write performance.
TABLE 1
Figure BDA0002537736640000101
As shown in fig. 1, the step of acquiring the temperature index of the hard disk and controlling the power state of the hard disk to perform dynamic conversion by using a preset temperature control target specifically includes:
s3-11: acquiring the current temperature of the hard disk, judging whether the current temperature is greater than a set first temperature threshold value, if so, executing the step S3-12, and if not, executing the step S3-15; the first temperature threshold in this embodiment is set to 50 ℃;
s3-12: judging whether the current temperature is greater than a set second temperature threshold value, if so, executing the step S3-13, and if not, executing the step S3-14; the second temperature threshold in this embodiment is set to 70 ℃;
s3-13: setting the hard disk to be in a non-working power state, and continuing to execute the step S3-11;
s3-14: setting the working power state of the hard disk to Sn+1Setting the working power supply state of the hard disk to be M states, wherein the maximum n +1 is M-1; continuing to execute step S3-11; in this embodiment, M is 7, then M-1 is 6;
s3-15: and keeping the current hard disk working power state unchanged, and continuing to execute the step S3-11.
And controlling the power state of the hard disk to perform dynamic conversion through a temperature control target. The problem of because set up the state of hard disk power at the higher state of power, cause the hard disk high temperature thereby to damage the hard disk is solved.
As shown in fig. 2, the step of obtaining the performance index of the hard disk and controlling the power state of the hard disk to perform dynamic conversion by using the preset performance control target specifically includes:
s3-21: setting the current working power state of the hard disk to Sn
S3-22: counting IO read-write times of the hard disk in a set time period; in this embodiment, the set time period is 50 ms;
s3-23: judging whether the IO read-write times of the counted hard disk in the set time period are larger than 0, if so, executing the step S3-27, and if not, executing the step S3-24;
s3-24: judging whether duration time of no IO read-write operation of the hard disk exceeds a threshold value T or notnon-operation,If yes, executing the step S3-25, if no, executing the step S3-26;
s3-25: setting the hard disk to be in a non-working power state, and continuing to execute the step S3-22;
s3-26: maintaining the current hard disk working power supply state unchanged, and continuing to execute the step S3-22;
s3-27: judging whether the IO read-write times of the counted hard disk in the set time period are larger than a second threshold value, if so, executing the step S3-28, and if not, executing the step S3-31; the second threshold value is set to 500 in this embodiment;
s3-28: judging whether the IO read-write times of the counted hard disk in the set time period are larger than a third threshold value, if so, executing the step S3-29, and if not, executing the step S3-30; the third threshold value is set to 1000 in this embodiment;
s3-29: setting the working power state of the hard disk to Sn-2Wherein n-2 is at least 0; continuing to execute step S3-22;
s3-30: setting the working power state of the hard disk to Sn-1Wherein n-1 is at least 0; continuing to execute step S3-22;
s3-31: judging whether the IO read-write times of the counted hard disk in the set time period are larger than a first threshold value, if so, executing the step S3-32, and if not, executing the step S3-33; the first threshold value is set to 200 in the present embodiment;
s3-32: maintaining the current hard disk working power supply state unchanged, and continuing to execute the step S3-22;
s3-33: setting the working power state of the hard disk to Sn+1Setting the working power supply state of the hard disk to be M states, wherein the maximum n +1 is M-1; execution continues with step S3-22. The working mechanism of controlling the power state of the hard disk to carry out dynamic conversion through the performance control target solves the problem of how to meet the performance target and reduce the power consumption as much as possible to realize an energy-saving control mechanism. In this example, M is 7, and M-1 is 6.
As shown in fig. 3, an embodiment of the present invention further provides a system for implementing energy saving through dynamic state transition of a hard disk power supply, including a definition unit, a storage unit, a power management unit, and a hard disk;
the definition unit is used for defining the hard disk working power supply state and hard disk state parameters corresponding to different working power supply states and storing the hard disk state parameters into a working power supply state query table in the storage unit;
the power management unit is used for setting the hard disk into different working power states and non-working power states by issuing a power state command;
and the power supply management unit is used for acquiring the performance index and the temperature index of the hard disk and controlling the power supply state of the hard disk to be dynamically converted by comparing the performance index and the temperature index with the preset performance control target and the preset temperature control target stored in the storage unit.
In this embodiment, the host software is used as the power management unit, and the power management unit can set the hard disk into different operating power states and non-operating power states by issuing a power state command. The power management unit controls the power state of the hard disk to perform dynamic conversion through a performance control target and a temperature control target. And the power management unit controls the power state of the hard disk to perform dynamic conversion through the performance control target. The current working power state of the hard disk is SnThe power management unit counts IO read-write times within 50ms of the hard disk, if no IO read-write is available, the duration time without IO read-write is counted, and if the duration time is larger than or equal to a threshold Tnon-operationSetting the hard disk to be in a non-working power state, and if the duration is less than a threshold value Tnon-operationThen keeping the current working power state; power management unitCounting IO read-write times within 50ms of the hard disk, if IO read-write times are available and the IO read-write times are less than 200, adjusting the working power state to Sn+1N +1 is 6 at most, if the IO read-write frequency is more than 200 and less than 500, the current working power state is maintained, and if the IO read-write frequency is more than 500 and less than 1000, the working power state is adjusted to Sn-1N-1 is minimum 0, if IO read-write times are more than 1000, the working power state is adjusted to Sn-2And n-2 is 0 at minimum. The power management unit controls the power state of the hard disk to perform dynamic conversion through the temperature control target. Setting temperature threshold values Ta and Tb, keeping the current hard disk working power supply state unchanged when the temperature of the hard disk is less than Ta, and adjusting the hard disk working power supply state to S when the temperature of the hard disk is greater than Ta and less than Tbn+1The maximum n +1 is 6, and when the temperature of the hard disk is higher than Tb, the hard disk is adjusted to be in a non-working power supply state. In this patent, it is recommended that Ta be 50 ℃ and Tb be 70 ℃.
The time ttranging required for the hard disk to switch between two working power states is Texit0+ Tentry1, Texit0 represents the exit state time of the current state, and Tentry1 represents the entry state time required to enter the state. After the power management unit submits the hard disk power state for one time, the power management unit can submit the hard disk power state for the next time at least waiting for the Ttrans position. In order to ensure that the hard disk is not damaged, the priority of the temperature control target is higher than that of the performance control target.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (9)

1. A method for realizing energy saving through dynamic state conversion of a hard disk power supply is characterized by comprising the following steps:
defining the state of a hard disk working power supply and hard disk state parameters corresponding to different working power supply states and storing the hard disk state parameters into a working power supply state query table;
setting the hard disk into different working power supply states and non-working power supply states by issuing a power supply state command;
and acquiring the performance index and the temperature index of the hard disk, and controlling the working power state of the hard disk to perform dynamic conversion through a preset performance control target and a preset temperature control target.
2. The method of claim 1, wherein the hard disk state parameters include maximum power, enter state time, exit state time, relative read throughput, relative read latency, relative write throughput, and relative write latency.
3. The method of claim 2, wherein the step of defining the hard disk operating power states and the hard disk state parameters corresponding to different operating power states to be stored in the operating power state lookup table comprises:
defining the hard disk working power supply state and the maximum power, entering state time, exiting state time, relative read flux, relative read delay, relative write flux and relative write delay parameters corresponding to different working power supply states and storing the parameters into a working power supply state lookup table, wherein the hard disk working power supply state S in the working power supply state lookup tablenThe larger the value of n is, the smaller the maximum power consumption of the hard disk is, and the lower the read-write performance is.
4. The method of claim 3, wherein the step of setting the hard disk to different operating power states and non-operating power states by issuing the power state command comprises:
when the hard disk is dynamically setThe time T required for switching the hard disk between two working power states when in the power statetransition=Texit0+Tentry1And after submitting the working power state of the hard disk once, at least waiting for TtransitionThe state of the hard disk working power supply can be submitted next time only by time;
wherein, Texit0Time of exit state, T, representing current stateentry1Indicating the entry state time at which the state needs to be entered.
5. The method of claim 3, wherein the step of setting the hard disk to different operating power states and non-operating power states by issuing the power state command further comprises: when the time of no read-write operation of the hard disk exceeds the preset threshold value Tnon-operationWhen the hard disk is in the non-working power state, the power state of the hard disk is set to be the non-working power state, wherein Tnon-operationGreater than the exit state time for all operating power states.
6. The method for realizing energy conservation through dynamic state transition of a hard disk power supply according to claim 1, wherein in the step of obtaining the performance index and the temperature index of the hard disk and dynamically transitioning through controlling the power state of the hard disk by a preset performance control target and a preset temperature control target, the priority of the temperature control target is higher than that of the performance control target.
7. The method according to claim 1, wherein in the step of obtaining the performance index and the temperature index of the hard disk and dynamically switching the power state of the hard disk according to the preset performance control target and the preset temperature control target, the step of obtaining the temperature index of the hard disk and dynamically switching the power state of the hard disk according to the preset temperature control target specifically comprises:
s3-11: acquiring the current temperature of the hard disk, judging whether the current temperature is greater than a set first temperature threshold value, if so, executing the step S3-12, and if not, executing the step S3-15;
s3-12: judging whether the current temperature is greater than a set second temperature threshold value, if so, executing the step S3-13, and if not, executing the step S3-14;
s3-13: setting the hard disk to be in a non-working power state, and continuing to execute the step S3-11;
s3-14: setting the working power state of the hard disk to Sn+1Setting the working power supply state of the hard disk to be M states, wherein the maximum n +1 is M-1; continuing to execute step S3-11;
s3-15: and keeping the current hard disk working power state unchanged, and continuing to execute the step S3-11.
8. The method according to claim 1, wherein in the step of obtaining the performance index and the temperature index of the hard disk and dynamically switching the power state of the hard disk according to the preset performance control target and the preset temperature control target, the step of obtaining the performance index of the hard disk and dynamically switching the power state of the hard disk according to the preset performance control target specifically comprises:
s3-21: setting the current working power state of the hard disk to Sn
S3-22: counting IO read-write times of the hard disk in a set time period;
s3-23: judging whether the IO read-write times of the counted hard disk in the set time period are larger than 0, if so, executing the step S3-27, and if not, executing the step S3-24;
s3-24: judging whether duration time of no IO read-write operation of the hard disk exceeds a threshold value T or notnon-operation,If yes, executing the step S3-25, if no, executing the step S3-26;
s3-25: setting the hard disk to be in a non-working power state, and continuing to execute the step S3-22;
s3-26: maintaining the current hard disk working power supply state unchanged, and continuing to execute the step S3-22;
s3-27: judging whether the IO read-write times of the counted hard disk in the set time period are larger than a second threshold value, if so, executing the step S3-28, and if not, executing the step S3-31;
s3-28: judging whether the IO read-write times of the counted hard disk in the set time period are larger than a third threshold value, if so, executing the step S3-29, and if not, executing the step S3-30;
s3-29: setting the working power state of the hard disk to Sn-2Wherein n-2 is at least 0; continuing to execute step S3-22;
s3-30: setting the working power state of the hard disk to Sn-1Wherein n-1 is at least 0; continuing to execute step S3-22;
s3-31: judging whether the IO read-write times of the counted hard disk in the set time period are larger than a first threshold value, if so, executing the step S3-32, and if not, executing the step S3-33;
s3-32: maintaining the current hard disk working power supply state unchanged, and continuing to execute the step S3-22;
s3-33: setting the working power state of the hard disk to Sn+1Setting the working power supply state of the hard disk to be M states, wherein the maximum n +1 is M-1; execution continues with step S3-22.
9. A system for realizing energy saving through dynamic conversion of hard disk power supply states is characterized by comprising a definition unit, a storage unit, a power supply management unit and a hard disk;
the definition unit is used for defining the hard disk working power supply state and hard disk state parameters corresponding to different working power supply states and storing the hard disk state parameters into a working power supply state query table in the storage unit;
the power management unit is used for setting the hard disk into different working power states and non-working power states by issuing a power state command;
and the power supply management unit is used for acquiring the performance index and the temperature index of the hard disk and controlling the power supply state of the hard disk to be dynamically converted by comparing the performance index and the temperature index with the preset performance control target and the preset temperature control target stored in the storage unit.
CN202010537992.7A 2020-06-12 2020-06-12 Method and system for realizing energy conservation through dynamic conversion of hard disk power supply state Withdrawn CN111831097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010537992.7A CN111831097A (en) 2020-06-12 2020-06-12 Method and system for realizing energy conservation through dynamic conversion of hard disk power supply state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010537992.7A CN111831097A (en) 2020-06-12 2020-06-12 Method and system for realizing energy conservation through dynamic conversion of hard disk power supply state

Publications (1)

Publication Number Publication Date
CN111831097A true CN111831097A (en) 2020-10-27

Family

ID=72899132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010537992.7A Withdrawn CN111831097A (en) 2020-06-12 2020-06-12 Method and system for realizing energy conservation through dynamic conversion of hard disk power supply state

Country Status (1)

Country Link
CN (1) CN111831097A (en)

Similar Documents

Publication Publication Date Title
US8996895B2 (en) Method, apparatus, and system for energy efficiency and energy conservation including optimizing C-state selection under variable wakeup rates
US9740645B2 (en) Reducing latency in a peripheral component interconnect express link
KR101519082B1 (en) Sleep processor
US9292068B2 (en) Controlling a turbo mode frequency of a processor
US9921635B2 (en) Dynamic and adaptive sleep state management
US8289850B2 (en) Interconnect bandwidth throttler
EP1742143B1 (en) Method and system for power consumption management, and corresponding computer program product
US20100083017A1 (en) Energy-efficient transitioning among device operating modes
US20090198979A1 (en) Processor performance state optimization
WO2020082929A1 (en) Data processing method and distributed storage system
US9442668B1 (en) Adaptive power management control with performance feedback
CN101441508A (en) Control method of equipment operation mode, equipment and system
US11500445B2 (en) Method and apparatus for controlling hardware device, electronic device and storage medium
CN111831097A (en) Method and system for realizing energy conservation through dynamic conversion of hard disk power supply state
CN107209544B (en) System and method for SoC idle power state control based on I/O operating characteristics
Zhou et al. Improving energy efficiency of database clusters through prefetching and caching
CN116610204B (en) Power management method, system, electronic equipment and medium for electric equipment
US20230315188A1 (en) Using a hardware-based controller for power state management
US20140108684A1 (en) Interconnect bandwidth throttler
CN115934350A (en) Power consumption adjusting method and device
Shih et al. An adaptive hybrid dynamic power management method for handheld devices
Jung et al. A unified framework for system-level design: Modeling and performance optimization of scalable networking systems
CN117312100A (en) Power consumption adjustment method, system, device, equipment and computer storage medium
CN116991682A (en) Maximum power consumption control method of high-performance heterogeneous parallel computer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201027