CN113835507A - Server and hard disk power-on control system and method thereof - Google Patents

Server and hard disk power-on control system and method thereof Download PDF

Info

Publication number
CN113835507A
CN113835507A CN202111136428.5A CN202111136428A CN113835507A CN 113835507 A CN113835507 A CN 113835507A CN 202111136428 A CN202111136428 A CN 202111136428A CN 113835507 A CN113835507 A CN 113835507A
Authority
CN
China
Prior art keywords
power
hard disk
started
starting
actual
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.)
Granted
Application number
CN202111136428.5A
Other languages
Chinese (zh)
Other versions
CN113835507B (en
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 CN202111136428.5A priority Critical patent/CN113835507B/en
Publication of CN113835507A publication Critical patent/CN113835507A/en
Application granted granted Critical
Publication of CN113835507B publication Critical patent/CN113835507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

The application discloses control system on hard disk, include: the feedback device is used for outputting the proportion information of the current system actual power in the system rated power to the control device; and the control device is used for taking the ratio of the actual power of the system in the rated power of the system to reach a preset ratio threshold as a control target, and controlling the starting sequence of each hard disk to be started according to a preset hard disk starting control rule on the basis of the ratio information until the hard disks to be started are started completely. By applying the scheme of the application, the situation that the power of the hard disk during starting exceeds the range which can be borne by a system power supply can be effectively avoided, and meanwhile, the starting time of the system can be effectively shortened. The application also discloses a server and a hard disk power-on control method thereof, and the server and the hard disk power-on control method have corresponding technical effects.

Description

Server and hard disk power-on control system and method thereof
Technical Field
The invention relates to the technical field of storage, in particular to a server and a hard disk power-on control system and method thereof.
Background
With the increasing demand for data storage, the storage capacity of the server is receiving more and more attention. More data are stored in a limited machine room space, and ultrahigh equipment storage density is realized, which is an important requirement of the industry. For example, JBOD (Just a Bunch Of Disks, Just a bundle Of Disks) is a storage node with multiple hard Disks, and there is no processor inside the JBOD chassis, so that more storage hard Disks can be placed, and thus very high storage density is achieved.
The power supply of the hard disk has particularity. Specifically, peak power consumption of the hard disks in the initial power-on stage, that is, peak power consumption, may reach 3 to 4 times of rated power consumption, and the duration of the peak power consumption in the initial power-on stage is different from 5 to 10 seconds, the duration is not adjustable, and due to differences among the hard disks, the duration of each hard disk is different, that is, even if the peak power consumption of the hard disks of the same model of the same brand is different.
Take the common 14Tb 3.5 inches SATA hard disk with capacity in JBOD storage device as an example: the rated power consumption is 10W, the peak power consumption in the initial power-on stage can reach 40W, and the duration time is different from 5 to 10 seconds. Therefore, taking a JBOD storage device capable of accommodating 40 hard disks as an example, the rated total Power consumption of the hard disks in the system is 400W, and the peak Power consumption at the moment of system startup can theoretically reach 1600W, so the Power Supply of the system needs to be able to withstand load Power of 1600W in the initial stage of system startup, that is, a PSU (Power Supply Unit) with Power of 1600W or more needs to be selected. However, except for the system with 1600W power supply requirement within 5-10 seconds of startup, the rated power consumption of the system is about 400W most of the time, which causes serious waste of design. Therefore, hardware engineers in the industry often introduce a hard disk off-peak power-on strategy for supplying power to the JBOD system, and the hard disks are started in batches, so that the total power consumption of the system at the initial stage of starting is reduced, the system can be matched with a PSU with lower power, the waste of design is avoided, and the flexibility is improved.
However, after the strategy of off-peak power-on of the hard disk is adopted, the boot time of the system becomes very long.
In summary, how to effectively prevent the power of the hard disk from exceeding the tolerable range of the system power supply when the hard disk is started and effectively shorten the booting time of the system is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a server and a hard disk power-on control system and method thereof, so as to effectively prevent the power of the hard disk during starting from exceeding the range which can be borne by a system power supply and effectively shorten the starting time of the system.
In order to solve the technical problems, the invention provides the following technical scheme:
a hard disk power-on control system comprises:
the feedback device is used for outputting the proportion information of the current system actual power in the system rated power to the control device;
and the control device is used for taking the ratio of the actual power of the system in the rated power of the system to reach a preset ratio threshold as a control target, and controlling the starting sequence of each hard disk to be started according to a preset hard disk starting control rule on the basis of the ratio information until the hard disks to be started are started completely.
Preferably, the control device is specifically configured to:
when the occupation ratio of the current actual system power in the system rated power is determined to be smaller than a preset occupation ratio threshold value based on the occupation ratio information, sequentially starting each hard disk to be started according to the determined starting interval;
when the occupation ratio of the current system actual power in the system rated power is determined to be larger than or equal to the preset occupation ratio threshold value based on the occupation ratio information, the hard disk to be started is temporarily stopped from being started until the occupation ratio of the system actual power in the system rated power is smaller than the preset occupation ratio threshold value;
and the determined starting interval is in positive correlation with the proportion of the actual system power in the rated system power.
Preferably, the starting interval is a starting interval determined by:
dividing the ratio threshold from 0 to N continuous intervals, and configuring corresponding starting intervals for each divided interval;
when the proportion of the actual power of the system in the rated power of the system conforms to any one of the N intervals, taking the starting interval configured for the interval as the determined starting interval;
wherein, N is a positive integer not less than 2, and the configured starting interval is increased from the 1 st interval to the Nth interval.
Preferably, the start interval configured for the nth interval is lower than the lower limit value of the duration range of the peak power consumption of the hard disk.
Preferably, the feedback device is specifically configured to:
and outputting the proportion value of the current system actual power in the system rated power to the control device, or outputting the proportion range of the current system actual power in the system rated power to the control device.
Preferably, the feedback device includes:
the first input end of each comparator circuit is connected with a power bus, the second input ends of the 1 st to Kth comparator circuits sequentially receive the 1 st to Kth reference voltages, and the output end of each comparator circuit is connected with the control device, so that the control device determines the proportion range of the current actual system power in the rated system power according to the output signals of each comparator circuit;
the values of the 1 st to Kth reference voltages are increased progressively, and when the ratio of the actual power of the system in the rated power of the system is a preset ratio threshold value, the voltage of the power supply bus is the same as the Kth reference voltage, and K is a positive integer not less than 2.
Preferably, the control device is a BMC.
Preferably, the method further comprises the following steps:
and the interface expansion device is used for connecting the BMC and each hard disk.
A hard disk power-on control method comprises the following steps:
receiving the proportion information of the current actual system power in the rated system power output by the feedback device;
and taking the ratio of the actual power of the system in the rated power of the system to reach a preset ratio threshold as a control target, and controlling the starting sequence of each hard disk to be started according to a preset hard disk starting control rule on the basis of the ratio information until the hard disks to be started are started.
A server comprises the hard disk power-on control system.
By applying the technical scheme provided by the embodiment of the invention, the problem that the starting time of the system is very long due to the fact that the traditional strategy of hard disk off-peak power-on is considered, because different off-peak strategies cannot be configured according to the total power of power supplies collocated by the system and hard disks of different specifications, in the scheme of the invention, the hard disk power-on is adaptively controlled according to the actual power of the system, so that the starting time of the system is effectively shortened and the design waste is avoided on the premise that the power of the hard disk during starting is effectively prevented from exceeding the range which can be borne by the system power supply. Specifically, the feedback device of the present application can output, to the control device, ratio information of the current system actual power in the system rated power, so that the control device can take, as a control target, a ratio of the system actual power in the system rated power reaching a preset ratio threshold value based on the ratio information, and control a starting sequence of each hard disk to be started according to a preset hard disk starting control rule until each hard disk to be started is completely started. It can be seen that, in the scheme of the present application, no matter what the rated power of the system is, and no matter what specification of hard disk is selected, the present application takes the ratio of the actual power of the system in the rated power of the system to reach the preset ratio threshold as the control target, so that waste of design can be effectively avoided, that is, in the starting stage of the hard disk, the rated power of the system can be effectively utilized, and the situation that the actual power of the system exceeds the rated power of the system or is far lower than the rated power of the system is avoided. To sum up, the scheme of this application can avoid the power when the hard disk starts to surpass the scope that the system power can bear effectively, can shorten the boot time of system again effectively simultaneously.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a hard disk power-on control system according to the present invention;
fig. 2 is a schematic structural diagram of a hard disk power-on control system according to an embodiment of the present invention;
fig. 3 is a flowchart of an implementation of a hard disk power-on control method according to the present invention.
Detailed Description
The core of the invention is to provide a hard disk power-on control system, which can effectively prevent the power of the hard disk from exceeding the range that the system power supply can bear when the hard disk is started, and can effectively shorten the starting time of the system.
The applicant analyzes the traditional strategy of off-peak power-up of the hard disk:
still taking the nominal power consumption of 400W for the system in the above example as an example, a theoretical 550W PSU can be selected, and in combination with the actual production and differently configured systems, engineers usually select 550W and 800W PSUs, and considering that the system adopts a single power supply configuration or a 1+1 redundant power supply configuration, the power supply power has 4 gradients of 550W, 800W, 1100W and 1600W.
The program for controlling the off-peak power-up of the hard disk by the chip on the hard disk backboard needs to be fixed and burnt before the chip is welded to the board card, and cannot be adjusted according to the power gradient of the PSU. Therefore, the conventional hard disk off-peak power-up program is designed in consideration of the lowest power PSU configuration, i.e. in the above example, the off-peak strategy is designed according to the power supply capacity of 550W. Specifically, first, the peak offset time between batches needs to be determined, and according to the above description, since the duration of peak power consumption at the time of starting the hard disk is different from 5 to 10 seconds, the peak offset time between batches needs to be set to at least 10 seconds in order to ensure the security. Then dividing the number of batches, and starting the first batch due to the power supply capacity of 550W of the system
Figure BDA0003282190320000051
And (5) a block hard disk. The second batch may be started
Figure BDA0003282190320000052
And (5) a block hard disk. The third batch may start
Figure BDA0003282190320000053
And (5) a block hard disk. The fourth batch is started
Figure BDA0003282190320000054
And (5) a block hard disk. At this point the system leaves only 3 hard disks not active,
Figure BDA0003282190320000055
so the fifth batch can start 3 hard disks. In summary, according to the strategy of off-peak power-up of the hard disks, the hard disks are started in five batches, the number of the started hard disks in each batch is 13, 10, 8, 6 and 3, the interval between each batch is 10 seconds, and the starting process of the system can reach more than 50 s.
As can be seen from the above analysis, the conventional hard disk off-peak power-up strategy cannot execute different off-peak power-up strategies according to the actually configured PSU, which results in wasted system design when the highly configured PSU is shipped. For example: the shipment system has 2 PSUs of 800W connected in parallel, namely the rated power of the system is 1600W, if all 40 hard disks are powered on in the same batch, the system can be started up after waiting for 5-10S. But is limited by the PSU that needs to be compatible with 4 kinds of gradient power consumption, so that even if the rated power of the system is 1600W, the above off-peak power-on strategy designed according to 550W power still needs to be executed, and the start-up process of the system can reach more than 50 s.
Secondly, in a traditional strategy of powering up hard disks in a staggered peak mode, starting of each batch of hard disks is carried out according to 10 second intervals, and peak power consumption duration of different hard disks is different, so that design waste can be caused for hard disks with short peak power consumption duration.
Thirdly, hard disks of different capacities, different manufacturers and different models may exist in the system, and peak power consumptions corresponding to the hard disks of different specifications are not completely the same, but the hard disks of all specifications need to be compatible, so that the design of the hard disk off-peak power-on strategy can be only performed according to the maximum power consumption of 40W of a single disk in the traditional scheme, for example, the power consumption of the peak of the single disk of the hard disk which is actually shipped may only be 30W, which causes design waste and reduces the product competitiveness.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a hard disk power-on control system according to the present invention, where the hard disk power-on control system may include:
feedback means 10 for outputting the proportion information of the current system actual power in the system rated power to the control means 20;
and the control device 20 is configured to use, as a control target, a ratio of the actual power of the system in the rated power of the system reaching a preset ratio threshold, and control, based on the ratio information, a starting sequence of each hard disk to be started according to a preset hard disk starting control rule until each hard disk to be started is started.
Specifically, the present application needs to obtain the proportion information of the current system actual power in the system rated power, so that the control device 20 can implement feedback control according to the proportion information, and the obtained proportion information may be a specific proportion value of the current system actual power in the system rated power, or may be a proportion range, and may be set and adjusted according to actual needs. That is, in practical applications, the feedback device 10 may be specifically used for: the proportion value of the current system actual power in the system rated power is output to the control device 20, or the proportion range of the current system actual power in the system rated power is output to the control device 20. And it will be appreciated that the feedback device 10 is easier, i.e. less costly, to obtain the ratio range than it is to obtain the ratio value. The obtained ratio can support the control device 20 to realize more precise control in some cases, but the circuit structure is more complicated.
The control device 20 implements feedback control based on the ratio information, and when performing feedback control, the ratio of the actual power of the system in the rated power of the system reaches a preset ratio threshold as a control target, and the feedback control means controls the starting sequence of each hard disk to be started according to a preset hard disk starting control rule. And when the hard disks to be started are all started, the hard disks are completely powered on.
The specific content of the preset hard disk start control rule can be set and adjusted according to actual needs, but it can be understood that, because the scheme of the application takes the proportion of the actual power of the system in the rated power of the system to reach the preset proportion threshold as the control target, the control target can effectively avoid the waste of design no matter what the rated power of the system is or no matter what specification of hard disk is selected. For example, if a PSU of 550W is selected, taking the duty ratio threshold value as 95% as an example, the application of the scheme of the present application may make the duty ratio of the system actual power in the system rated power reach around 522W, and if a PSU of 1600W is selected, the duty ratio threshold value is set to 95%, then make the duty ratio of the system actual power in the system rated power reach around 1520W.
The specific value of the duty ratio threshold can be set as required, but it is understood that a higher value, i.e. a value close to 1, should be set to ensure effective utilization of the rated power of the system, so as to avoid waste, and it should not be too large, i.e. a certain space needs to be left, so as to avoid the situation that the actual power of the system exceeds the rated power of the system due to fluctuation, for example, in the latter case, the duty ratio threshold is set to 95%.
In an embodiment of the present invention, the feedback device 10 may specifically include:
the first input end of each comparator circuit is connected with a power bus, the second input ends of the 1 st to Kth comparator circuits sequentially receive the 1 st to Kth reference voltages, and the output ends of the comparator circuits are connected with the control device 20, so that the control device 20 determines the proportion range of the current actual system power in the rated system power according to the output signals of the comparator circuits;
the values of the 1 st to Kth reference voltages are increased progressively, and when the proportion of the actual power of the system in the rated power of the system is a preset proportion threshold value, the voltage of the power bus is the same as the Kth reference voltage, and K is a positive integer not less than 2.
In this embodiment, the feedback device 10 outputs to the control device 20 a ratio range of the current actual system power in the rated system power, the ratio range is represented by output levels of K comparator circuits, K needs to be set to be a positive integer no less than 2, i.e. at least one ratio range higher than a ratio threshold and one ratio range lower than the ratio threshold need to be divided, and it can be understood that the larger the value of K is, the more favorable the control device 20 can realize accurate control, and of course, the cost is also increased accordingly.
The feedback device 10 of the present application can be realized by using K comparator circuits, and has a simple structure and a low cost, and the reliability is also high because all the comparator circuits are hardware circuits.
In the embodiment of fig. 2 of the present application, K is 3, wherein the 1 st comparator circuit is denoted as U1, the 2 nd comparator circuit is denoted as U2, and the 3 rd comparator circuit is denoted as U3. The first inputs of the 3 comparator circuits are all connected to the power bus, and when the power supply is a PSU, according to the interface definition specification of the PSU, the B23 pin is usually defined as a load _ share signal, and the signals of all PSUs in the system are connected together to serve as a current-sharing bus of the PSU, so that when the power supply is a PSU, the first inputs of the 3 comparator circuits are all connected to a B23 pin, and in the embodiment of fig. 2, 2 PSUs are provided, which are PSU1 and PSU0, respectively.
The voltage of the power bus can reflect the load capacity of the system power supply, namely the proportion of the actual power of the system in the rated power of the system is reflected, for example, in a specific occasion, the voltage of the power bus linearly corresponds to 0% to 100% of the load capacity of the system power supply from 0 to 8V.
The second input terminals of the 1 st to K-th comparator circuits sequentially receive the 1 st to K-th reference voltages, and the values of the 1 st to K-th reference voltages may be set as needed to be in an increasing relationship, for example, in a specific case, the voltage received at the second input terminal of the 1 st comparator circuit U1 in fig. 2 is 5.6V, 5.6V is a power bus voltage value when the ratio of the system real power to the system rated power is 70%, the voltage received at the second input terminal of the 2 nd comparator circuit U2 is 6.4V, 6.4V is a power bus voltage value when the ratio of the system real power to the system rated power is 80%, the voltage received at the second input terminal of the 3 rd comparator circuit U3 is 7.6V, and 7.6V is a power bus voltage value when the ratio of the system real power to the system rated power is 95%.
For any comparator in fig. 2, when the voltage of its first input terminal is higher than that of its second input terminal, the comparator outputs a high signal, otherwise, the comparator outputs a low signal. Furthermore, the output terminal of each comparator circuit is connected to the control device 20, so for the embodiment of fig. 2, the control device 20 determines the ratio range of the current system actual power in the system rated power according to the output signal of each comparator circuit as shown in the following table.
Table one:
Figure BDA0003282190320000081
in the first embodiment, Signal _1, Signal _2, and Signal _3 sequentially indicate the output levels of the 1 st comparator circuit U1, the 2 nd comparator circuit U2, and the 3 rd comparator circuit U3, and load indicates the percentage of the current system real power in the system rated power, and in this embodiment, for example, when the output Signal of the feedback device 10 is 000, the control device 20 can determine that the percentage of the current system real power in the system rated power is in the range of 0 to 70%.
It should be emphasized that specific values of the 1 st to the kth reference voltages can be set and adjusted according to actual needs, and the value of the kth reference voltage indicates the voltage of the power bus when the ratio of the actual power of the system in the rated power of the system is a preset ratio threshold. For example, in the above example, the duty threshold is set to 95%, and the K-th reference voltage is 7.6V.
In addition, in the embodiment of fig. 2, the K comparator circuits are directly connected to the control device 20, and in other embodiments, a related signal transmission circuit may be provided between each comparator circuit and the control device 20 to implement functions such as voltage level conversion and filtering, which does not affect the implementation of the present invention, as long as the control device 20 can receive the output signal of each comparator circuit and further determine the occupation range of the current system actual power in the system rated power.
In one embodiment of the present invention, the control device 20 may be specifically configured to:
when the occupation ratio of the current actual system power in the rated system power is determined to be smaller than a preset occupation ratio threshold value based on the occupation ratio information, sequentially starting each hard disk to be started according to the determined starting interval;
when the occupation ratio of the current system actual power in the system rated power is determined to be larger than or equal to a preset occupation ratio threshold value based on the occupation ratio information, the hard disk to be started is temporarily stopped from being started until the occupation ratio of the system actual power in the system rated power is smaller than the preset occupation ratio threshold value;
and the determined starting interval is in positive correlation with the proportion of the actual system power in the rated system power.
In this embodiment, if the ratio of the current system actual power in the system rated power is greater than or equal to the preset ratio threshold, it indicates that the load of the current system power supply is large, and in order to avoid the system actual power exceeding the system rated power, the start of the hard disk to be started is temporarily stopped. When the starting of part of the hard disks which are being started is finished, the actual power of the system is reduced, namely the ratio of the actual power of the system in the rated power of the system is smaller than the preset ratio threshold, and at the moment, the hard disks to be started can be started sequentially according to the determined starting interval. It can be seen that, with this embodiment, the ratio of the system actual power in the system rated power can be made to fluctuate around the preset ratio threshold, for example, in the above example, the ratio threshold is 95%, and then, no matter what the system rated power is, and no matter what specification of hard disk is selected, the ratio of the system actual power in the system rated power can be made to be stable around 95%, thereby effectively avoiding design waste.
When the hard disks to be started are sequentially started, the starting sequence may be generally determined according to the numbers of the hard disks, for example, 40 hard disks to be started are sequentially numbered as hard disk 0 to hard disk 39, so that the 40 hard disks are sequentially started, and naturally, the starting sequence may be set based on other needs in other cases.
Further, in an embodiment of the present invention, the start interval is a start interval determined by:
dividing the ratio threshold from 0 to N continuous intervals, and configuring corresponding starting intervals for each divided interval;
when the proportion of the actual power of the system in the rated power of the system conforms to any one of the N intervals, taking the starting interval configured for the interval as the determined starting interval;
wherein, N is a positive integer not less than 2, and the configured starting interval is increased from the 1 st interval to the Nth interval.
For example, in one case, N may be set to 3, corresponding to the embodiment of fig. 2. Namely, 0 to 95% is divided into 3 continuous intervals, load is less than 70%, and load is less than 80% and load is less than 95%, for example, the configured starting intervals are 10ms, 0.1s and 2.5s respectively, in this embodiment, when the proportion of the system actual power in the system rated power accords with the interval of load being less than 70%, one hard disk to be started is started every 10ms, correspondingly, when the proportion of the system actual power in the system rated power accords with the interval of 70% < load being less than 80%, one hard disk to be started is started every 0.1s, and when the proportion of the system actual power in the system rated power accords with the interval of 80% < load being less than 95%, one hard disk to be started is started every 2.5 s. When the proportion of the current system actual power in the system rated power is greater than or equal to 95%, the starting of the hard disk to be started is temporarily stopped, namely the hard disk to be started is not started any more until the proportion of the system actual power in the system rated power returns to below 95%.
In addition, the configured starting interval is increased from the 1 st interval to the nth interval, so that the lower the occupation ratio of the current actual system power in the rated system power is, the greater the surplus degree of the system load is, and therefore, the hard disks to be started can be started rapidly and sequentially. The ratio of the actual power of the system in the rated power of the system is higher, which indicates that the number of the hard disks which are started at present is larger, the load of the system is close to the maximum load, and if the hard disks to be started are continuously and rapidly started in sequence, the actual power of the system is easily to exceed the rated power of the system, so that the configured starting interval is increased gradually from the 1 st interval to the Nth interval.
And further, in an embodiment of the present invention, the start interval configured for the nth interval is lower than the lower limit value of the duration range of the peak power consumption of the hard disk.
For example, in the foregoing case, the duration range of the peak power consumption of the hard disk is 5 to 10 seconds, the lower limit value of the duration range of the peak power consumption of the hard disk is 5s, and the start interval configured for the nth interval is the maximum value of the N start intervals, and in this embodiment, the maximum value is set to be less than 5s, so that the system actual power can be effectively increased until the ratio of the system actual power in the system rated power is exceeded and the ratio exceeds the ratio threshold, or is stabilized in the nth interval.
In addition, in the foregoing embodiment, N is set to be a positive integer not less than 2, and in other cases, N may also be set to be 1, that is, when it is determined that the occupancy of the current system actual power in the system rated power is less than the preset occupancy threshold based on the occupancy information, the determined start interval is a fixed value. Of course, in practical applications, a scheme in which N is at least 2 is usually selected, so that the interval from 1 st to nth can be configured, and the start interval is increased incrementally, so as to achieve the above-described effect of making the ratio of the system actual power in the system rated power quickly approach the ratio threshold.
The control device 20 of the present application may be set and adjusted according to actual needs, for example, considering that the BMC may perform start control of each hard disk, the control device 20 may be specifically a BMC. Further, in one case, the method may further include: the interface extension device is used for connecting the BMC and each hard disk, so that the excessive pins of the BMC are prevented from being occupied when the number of the hard disks is too large. In other cases, the hard disk may be powered on by a device such as a CPLD, as long as the function of the control device 20 of the present application can be realized, and the implementation of the present invention is not affected.
The scheme of the application can be generally applied to JBOD equipment, because the JBOD equipment has a high proportion of the hard disk power in the actual power of the system, namely, the main load of a system power supply is the hard disk, and therefore the power change of the hard disk during power-on can cause great influence on the actual power of the system. Of course, other types of storage devices may also select whether hard disk power-on control is required according to needs.
By applying the technical scheme provided by the embodiment of the invention, the problem that the starting time of the system is very long due to the fact that the traditional strategy of hard disk off-peak power-on is considered, because different off-peak strategies cannot be configured according to the total power of power supplies collocated by the system and hard disks of different specifications, in the scheme of the invention, the hard disk power-on is adaptively controlled according to the actual power of the system, so that the starting time of the system is effectively shortened and the design waste is avoided on the premise that the power of the hard disk during starting is effectively prevented from exceeding the range which can be borne by the system power supply. Specifically, the feedback device 10 of the present application can output, to the control device 20, ratio information of the current system actual power in the system rated power, so that the control device 20 can take the ratio of the system actual power in the system rated power reaching a preset ratio threshold as a control target based on the ratio information, and control the starting sequence of each hard disk to be started according to a preset hard disk starting control rule until the hard disk to be started is completely started. It can be seen that, in the scheme of the present application, no matter what the rated power of the system is, and no matter what specification of hard disk is selected, the present application takes the ratio of the actual power of the system in the rated power of the system to reach the preset ratio threshold as the control target, so that waste of design can be effectively avoided, that is, in the starting stage of the hard disk, the rated power of the system can be effectively utilized, and the situation that the actual power of the system exceeds the rated power of the system or is far lower than the rated power of the system is avoided. To sum up, the scheme of this application can avoid the power when the hard disk starts to surpass the scope that the system power can bear effectively, can shorten the boot time of system again effectively simultaneously.
Corresponding to the above system embodiment, the embodiment of the present invention further provides a hard disk power-on control method, which can be referred to in correspondence with the above. The hard disk power-on control method can comprise the following steps:
step S301: receiving the proportion information of the current actual system power in the rated system power output by the feedback device;
step S302: and taking the ratio of the actual power of the system in the rated power of the system to reach a preset ratio threshold as a control target, and controlling the starting sequence of each hard disk to be started according to a preset hard disk starting control rule based on the ratio information until the hard disks to be started are started completely.
In one embodiment of the present invention, step S302 includes:
when the occupation ratio of the current actual system power in the rated system power is determined to be smaller than a preset occupation ratio threshold value based on the occupation ratio information, sequentially starting each hard disk to be started according to the determined starting interval;
when the occupation ratio of the current system actual power in the system rated power is determined to be larger than or equal to a preset occupation ratio threshold value based on the occupation ratio information, the hard disk to be started is temporarily stopped from being started until the occupation ratio of the system actual power in the system rated power is smaller than the preset occupation ratio threshold value;
and the determined starting interval is in positive correlation with the proportion of the actual system power in the rated system power.
In one embodiment of the present invention, the start interval is a start interval determined by:
dividing the ratio threshold from 0 to N continuous intervals, and configuring corresponding starting intervals for each divided interval;
when the proportion of the actual power of the system in the rated power of the system conforms to any one of the N intervals, taking the starting interval configured for the interval as the determined starting interval;
wherein, N is a positive integer not less than 2, and the configured starting interval is increased from the 1 st interval to the Nth interval.
In an embodiment of the present invention, the start interval configured for the nth interval is lower than the lower limit value of the duration range of the peak power consumption of the hard disk.
In one embodiment of the present invention, step S301 includes:
the proportion value of the current system actual power output by the feedback receiving device in the system rated power or the proportion range of the current system actual power output by the feedback receiving device in the system rated power.
In one embodiment of the present invention, a feedback apparatus includes:
the first input end of each comparator circuit is connected with a power bus, the second input ends of the 1 st to Kth comparator circuits sequentially receive the 1 st to Kth reference voltages, and the output ends of the comparator circuits are connected with the control device, so that the control device determines the proportion range of the current actual power of the system in the rated power of the system according to the output signals of the comparator circuits;
the values of the 1 st to Kth reference voltages are increased progressively, and when the proportion of the actual power of the system in the rated power of the system is a preset proportion threshold value, the voltage of the power bus is the same as the Kth reference voltage, and K is a positive integer not less than 2.
In one embodiment of the present invention, the control device is a BMC.
In one embodiment of the present invention, the method further comprises:
and the interface expansion device is used for connecting the BMC and each hard disk.
Corresponding to the above method and system embodiments, an embodiment of the present invention further provides a server, which may include the hard disk power-on control system in any of the above embodiments.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A hard disk power-on control system is characterized by comprising:
the feedback device is used for outputting the proportion information of the current system actual power in the system rated power to the control device;
and the control device is used for taking the ratio of the actual power of the system in the rated power of the system to reach a preset ratio threshold as a control target, and controlling the starting sequence of each hard disk to be started according to a preset hard disk starting control rule on the basis of the ratio information until the hard disks to be started are started completely.
2. The hard disk power-on control system according to claim 1, wherein the control device is specifically configured to:
when the occupation ratio of the current actual system power in the system rated power is determined to be smaller than a preset occupation ratio threshold value based on the occupation ratio information, sequentially starting each hard disk to be started according to the determined starting interval;
when the occupation ratio of the current system actual power in the system rated power is determined to be larger than or equal to the preset occupation ratio threshold value based on the occupation ratio information, the hard disk to be started is temporarily stopped from being started until the occupation ratio of the system actual power in the system rated power is smaller than the preset occupation ratio threshold value;
and the determined starting interval is in positive correlation with the proportion of the actual system power in the rated system power.
3. The hard disk power-on control system according to claim 2, wherein the start interval is a start interval determined by:
dividing the ratio threshold from 0 to N continuous intervals, and configuring corresponding starting intervals for each divided interval;
when the proportion of the actual power of the system in the rated power of the system conforms to any one of the N intervals, taking the starting interval configured for the interval as the determined starting interval;
wherein, N is a positive integer not less than 2, and the configured starting interval is increased from the 1 st interval to the Nth interval.
4. The hard disk power-on control system according to claim 3, wherein the start interval configured for the nth interval is lower than a lower limit value of a duration range of the peak power consumption of the hard disk.
5. The hard disk power-on control system according to claim 1, wherein the feedback device is specifically configured to:
and outputting the proportion value of the current system actual power in the system rated power to the control device, or outputting the proportion range of the current system actual power in the system rated power to the control device.
6. The hard disk power-on control system according to claim 5, wherein the feedback device comprises:
the first input end of each comparator circuit is connected with a power bus, the second input ends of the 1 st to Kth comparator circuits sequentially receive the 1 st to Kth reference voltages, and the output end of each comparator circuit is connected with the control device, so that the control device determines the proportion range of the current actual system power in the rated system power according to the output signals of each comparator circuit;
the values of the 1 st to Kth reference voltages are increased progressively, and when the ratio of the actual power of the system in the rated power of the system is a preset ratio threshold value, the voltage of the power supply bus is the same as the Kth reference voltage, and K is a positive integer not less than 2.
7. The hard disk power-on control system according to claim 1, wherein the control device is a BMC.
8. The hard disk power-on control system according to claim 7, further comprising:
and the interface expansion device is used for connecting the BMC and each hard disk.
9. A hard disk power-on control method is characterized by comprising the following steps:
receiving the proportion information of the current actual system power in the rated system power output by the feedback device;
and taking the ratio of the actual power of the system in the rated power of the system to reach a preset ratio threshold as a control target, and controlling the starting sequence of each hard disk to be started according to a preset hard disk starting control rule on the basis of the ratio information until the hard disks to be started are started.
10. A server, characterized by comprising the hard disk power-on control system according to any one of claims 1 to 8.
CN202111136428.5A 2021-09-27 2021-09-27 Server and hard disk power-on control system and method thereof Active CN113835507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111136428.5A CN113835507B (en) 2021-09-27 2021-09-27 Server and hard disk power-on control system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111136428.5A CN113835507B (en) 2021-09-27 2021-09-27 Server and hard disk power-on control system and method thereof

Publications (2)

Publication Number Publication Date
CN113835507A true CN113835507A (en) 2021-12-24
CN113835507B CN113835507B (en) 2023-08-04

Family

ID=78970815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111136428.5A Active CN113835507B (en) 2021-09-27 2021-09-27 Server and hard disk power-on control system and method thereof

Country Status (1)

Country Link
CN (1) CN113835507B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116643636A (en) * 2023-05-29 2023-08-25 合芯科技有限公司 Method, device, equipment and medium for randomly powering on hard disk backboard

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105929923A (en) * 2016-04-25 2016-09-07 浙江大华技术股份有限公司 Management method and apparatus for power of power supply
CN110147157A (en) * 2019-05-23 2019-08-20 苏州浪潮智能科技有限公司 A kind of starting method, system and the associated component of storage server
WO2021046934A1 (en) * 2019-09-12 2021-03-18 苏州浪潮智能科技有限公司 Psu-based power supply system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105929923A (en) * 2016-04-25 2016-09-07 浙江大华技术股份有限公司 Management method and apparatus for power of power supply
CN110147157A (en) * 2019-05-23 2019-08-20 苏州浪潮智能科技有限公司 A kind of starting method, system and the associated component of storage server
WO2021046934A1 (en) * 2019-09-12 2021-03-18 苏州浪潮智能科技有限公司 Psu-based power supply system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116643636A (en) * 2023-05-29 2023-08-25 合芯科技有限公司 Method, device, equipment and medium for randomly powering on hard disk backboard
CN116643636B (en) * 2023-05-29 2024-02-23 合芯科技有限公司 Method, device, equipment and medium for randomly powering on hard disk backboard

Also Published As

Publication number Publication date
CN113835507B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN111679601B (en) Control method of multi-board card device, multi-board card device and medium
KR102215583B1 (en) Power supply device and micro server having the same
CN110989818A (en) PSU power supply method, system, equipment and computer readable storage medium
CN113835507A (en) Server and hard disk power-on control system and method thereof
CN113849431A (en) System topology structure switching method, device and medium
US11594870B2 (en) Systems and methods for extending fault timer to prevent overcurrent protection shutdown during powering on of information handling system
CN111475343B (en) Computer state outage restoration method and device and terminal equipment
CN109116959B (en) Power supply system
CN117331423A (en) Power supply method and device of PCIE equipment, storage medium and electronic device
CN116594488A (en) Computing equipment
CN101697094A (en) Double-power power supply unit and method
CN114301051A (en) Control method and device of direct current power supply system and control equipment
CN212649103U (en) Multi-power supply device
CN114567034A (en) Control method and device of battery charge-discharge module, terminal and storage medium
CN114640258A (en) Compensation type alternating current voltage stabilizer control method, control device and control terminal
CN109792151B (en) Controlling an energy storage system
CN114967892B (en) Circuit structure of server power supply
CN112904988B (en) Power module efficiency adjusting and optimizing method, device and related components
CN114816021B (en) Power supply management system and method
CN114301176B (en) Power supply method, system, equipment and storage medium based on Ethernet
CN113176459B (en) Flexible direct current converter valve power module starting test method and circuit thereof
CN210986067U (en) Power supply and various reset circuits of DSP
US10802519B2 (en) Automatic configuration of multiple-phase digital voltage regulator
JP5263952B2 (en) Power supply start time control apparatus, information processing apparatus, power supply start time control method, and power supply start time control program
CN101923379A (en) Reset voltage generation circuit

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
GR01 Patent grant
GR01 Patent grant