CN113835507B - 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
CN113835507B
CN113835507B CN202111136428.5A CN202111136428A CN113835507B CN 113835507 B CN113835507 B CN 113835507B CN 202111136428 A CN202111136428 A CN 202111136428A CN 113835507 B CN113835507 B CN 113835507B
Authority
CN
China
Prior art keywords
power
duty ratio
hard disk
starting
started
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.)
Active
Application number
CN202111136428.5A
Other languages
Chinese (zh)
Other versions
CN113835507A (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

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 hard disk electrification control system includes: the feedback device is used for outputting the duty ratio information of the current actual system power in the rated system power to the control device; and the control device is used for taking the duty ratio of the actual power of the system in the rated power of the system 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 duty ratio information until each hard disk to be started is started. By applying the scheme, the power of the hard disk can be effectively prevented from exceeding the bearable range of the system power supply when the hard disk is started, 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, which 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 servers is becoming more and more interesting. More data are stored in a limited machine room space, so that the ultrahigh equipment storage density is realized, and the method is an important requirement of the industry. For example, JBOD (Just a Bunch Of Disks, simple disk binding) is a multi-hard disk storage node, there is no processor inside JBOD enclosure, more storage hard disks can be placed, and thus very high storage density is achieved.
The power supply of the hard disk has specificity. Specifically, the peak power consumption of the hard disk in the initial stage of power-up, that is, the peak power consumption may reach 3 to 4 times of the rated power consumption, and the duration of the peak power consumption in the initial stage of power-up is 5-10 seconds, which is not adjustable, and the duration of each hard disk is different due to the difference between the hard disks, that is, even the peak power consumption of the same type of hard disk of the same brand is different.
Taking a typical 14Tb capacity 3.5 inch SATA hard disk in JBOD storage as an example: the rated power consumption is 10W, the peak power consumption in the initial stage of power-on can reach 40W, and the duration is 5-10 seconds. Thus, 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 10×40=400W, and the peak power consumption at the moment of system start-up can theoretically reach 1600W, the power supply of the system needs to be able to withstand 1600W of load power in the initial stage of system start-up, i.e. needs to select PSU (Power Supply Unit, power supply device) with 1600W and above. However, the system has a power supply requirement of 1600W in 5-10 seconds except for startup, and the rated power consumption of the system is about 400W in most of the time, which causes serious waste of design. Therefore, hardware engineers in the industry often introduce a hard disk peak-shifting power-on strategy for the power supply of the JBOD system, so that the hard disk is started in batches, and the total system power consumption in the initial stage of starting is reduced, so that 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 hard disk peak-shifting power-on strategy is adopted, the system start-up time becomes long.
In summary, how to effectively avoid the power exceeding the range that the system power can withstand when the hard disk is started and effectively shorten the startup 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 avoid that the power of the hard disk is beyond the bearable range of a system power supply when the hard disk is started, 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-up control system, comprising:
the feedback device is used for outputting the duty ratio information of the current actual system power in the rated system power to the control device;
the control device is used for taking the duty ratio of the actual power of the system in the rated power of the system 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 duty ratio information until each hard disk to be started is started.
Preferably, the control device is specifically configured to:
when the duty ratio of the current actual power of the system in the rated power of the system is smaller than a preset duty ratio threshold value based on the duty ratio information, sequentially starting each hard disk to be started according to the determined starting interval;
when the duty ratio of the current system actual power in the system rated power is determined to be greater than or equal to the preset duty ratio threshold based on the duty ratio information, starting the hard disk to be started is temporarily stopped until the duty ratio of the system actual power in the system rated power is smaller than the preset duty ratio threshold;
the determined starting interval is positively correlated with the duty ratio of the actual power of the system in the rated power of the system.
Preferably, the start interval is a start interval determined by:
dividing the duty ratio threshold from 0 to the duty ratio threshold into N continuous intervals, and configuring corresponding starting intervals for each divided interval;
when the duty ratio of the actual power of the system in the rated power of the system accords with any one interval of N intervals, the starting interval configured for the interval is used as the determined starting interval;
wherein N is a positive integer not less than 2, and from the 1 st section to the N-th section, the configured start interval is incremented.
Preferably, the start interval configured for the nth interval is lower than the lower limit value of the duration range of the hard disk peak power consumption.
Preferably, the feedback device is specifically configured to:
outputting the ratio of the current actual power of the system in the rated power of the system to the control device, or outputting the ratio range of the current actual power of the system in the rated power of the system to the control device.
Preferably, the feedback device includes:
the first input ends of the K comparator circuits are connected with the power bus, the second input ends of the 1 st to the K comparator circuits sequentially receive the 1 st to the K reference voltages, and the output ends of the comparator circuits are connected with the control device so that the control device determines the duty ratio range of the current actual system power in the rated system power according to the output signals of the comparator circuits;
and when the duty ratio of the actual power of the system in the rated power of the system is the preset duty ratio threshold value, the voltage of the power bus is the same as the K reference voltage, and K is a positive integer not less than 2.
Preferably, the control device is a BMC.
Preferably, the method further comprises:
and the interface expansion device is used for connecting the BMC with each hard disk.
A hard disk power-on control method comprises the following steps:
receiving the duty ratio information of the current actual system power output by the feedback device in the rated system power;
and taking the duty ratio of the actual power of the system in the rated power of the system 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 duty ratio information until each hard disk to be started is started.
A server comprising a hard disk power-up control system as claimed in any one of the preceding claims.
By applying the technical scheme provided by the embodiment of the invention, the problem that the startup time of the system is long due to the fact that the conventional hard disk peak-shifting power-up strategy is considered, and different peak-shifting strategies cannot be configured according to the total power of the power sources matched by the system and the hard disks with different specifications is solved. Specifically, the feedback device of the present application can output the duty ratio information of the current actual power of the system in the rated power of the system to the control device, so that the control device can control the starting sequence of each hard disk to be started according to the preset hard disk starting control rule by taking the duty ratio of the actual power of the system in the rated power of the system as a control target based on the duty ratio information until each hard disk to be started is started. It can be seen that, in the scheme of the application, no matter how much the rated power of the system is, and no matter what specification of hard disk is selected, the duty ratio of the actual power of the system in the rated power of the system reaches the preset duty ratio threshold value as a control target, so that the waste of design can be effectively avoided, that is, the rated power of the system can be effectively utilized in the hard disk starting stage, and the condition 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. In summary, the scheme of the application can effectively avoid that the power of the hard disk is beyond the bearable range of the system power supply when the hard disk is started, and can effectively shorten the starting time of the system.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a hard disk power-on control system according to the present invention;
FIG. 2 is a schematic 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 method for controlling power-on of a hard disk according to the present invention.
Detailed Description
The core of the invention is to provide a hard disk electrification control system, which can effectively avoid the power of the hard disk from exceeding the bearable range of a system power supply when the hard disk is started, and can effectively shorten the startup time of the system.
The applicant analyzes the traditional strategy of hard disk peak-shifting power-up:
taking the example that the rated power consumption of the system is 400W as an example, it is theoretically possible to select 550W PSU, and in combination with the actual production and different configurations of the system, engineers will typically select 550W PSU and 800W PSU, and considering that the system adopts a single power configuration or a 1+1 redundant power configuration, the power will have 4 gradients of 550W, 800W, 1100W and 1600W.
The program of the chip on the hard disk backboard for controlling the hard disk peak-shifting power-on needs to be fixed and burnt before the chip is welded on the board card, and the program is not adjusted according to the power gradient of the PSU. Therefore, the design of the conventional hard disk off-peak power-up procedure should consider the lowest power PSU configuration, i.e. in the above example, the off-peak strategy should be designed according to the 550W power supply capability. Specifically, first, it is necessary to determine the peak staggering time between batches, and as described above, since the duration of peak power consumption at the time of hard disk startup is varied from 5 to 10 seconds, the peak staggering time between batches needs to be set to at least 10 seconds in order to secure security. Then the number of batches is divided again, and the first batch can be started because the power supply capacity of the system is 550WA block hard disk. The second batch can be started->A block hard disk. The third batch may be startedA block hard disk. Fourth batch activatable->A block hard disk. At this time, the system only leaves 3 hard disks without starting, < >>The fifth lot can therefore start up 3 hard disks. In summary, according to the strategy of hard disk peak staggering power-on, the system is started in five batches, the number of hard disks started in each batch is 13, 10, 8, 6 and 3, the interval between each batch is 10 seconds, and the starting-up starting process of the system can reach more than 50 s.
The analysis shows that, first, the conventional hard disk peak-shifting power-up strategy cannot execute different peak-shifting power-up strategies according to the actually configured PSU, so that the design waste of the system is caused when the high-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, and if all 40 hard disks are electrified in the same batch, the shipment system can be started up after waiting for 5-10S. But is limited by PSU that needs to be compatible with 4 gradient power consumption, so that even if the rated power of the system is 1600W, the peak-shifting power-up strategy designed according to 550W needs to be executed, and the start-up process of the system can reach more than 50 s.
Secondly, in the conventional strategy of off-peak power-up of the hard disk, starting of the hard disks in each batch is performed at intervals of 10 seconds, and peak power consumption duration time of different hard disks is different, so that design waste is caused for the hard disk with shorter peak power consumption duration time.
Thirdly, different capacities, different manufacturers and different types of hard disks may exist in the system, the peak power consumption corresponding to the hard disks with different specifications is not completely the same, but due to the fact that the hard disks with all specifications are required to be compatible, in the traditional scheme, the design of the hard disk peak-shifting power-up strategy can only be carried out according to the maximum power consumption of a single disk, for example, the single-disk peak power consumption of an actually shipped hard disk may be only 30W, the design waste is caused, and the product competitiveness is reduced.
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the 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 to control means 20 the duty ratio information of the current system actual power in the system rated power;
the control device 20 is configured to take a control target that a duty ratio of the actual power of the system in the rated power of the system reaches a preset duty ratio threshold, and control a starting sequence of each hard disk to be started according to a preset hard disk starting control rule based on the duty ratio information until each hard disk to be started is started.
Specifically, the present application needs to obtain the duty ratio information of the current actual power of the system in the rated power of the system, so that the control device 20 can implement feedback control accordingly. That is, in practical applications, the feedback device 10 may be specifically configured to: the ratio of the current system actual power to the system rated power is output to the control device 20, or the ratio range of the current system actual power to 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 duty cycle range than it is to obtain the duty cycle value. And the duty ratio is obtained, in some cases, the control device 20 can be supported to realize more accurate control, but the circuit structure is more complex.
The control device 20 realizes feedback control based on the duty ratio information, and when feedback control is performed, the duty ratio of the actual power of the system in the rated power of the system reaches a preset duty ratio threshold value as a control target, and the means of feedback control controls the starting sequence of each hard disk to be started according to a preset hard disk starting control rule. And when all the hard disks to be started are started, indicating that the hard disk is powered up.
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 the control target can effectively avoid the waste of design no matter how much the system rated power is or what specification hard disk is selected because the system actual power is up to the preset duty ratio threshold in the system rated power as the control target in the scheme of the application. For example, when a PSU of 550W is selected, taking an example that the duty ratio threshold is set to 95%, applying the scheme of the present application can make the duty ratio of the actual power of the system in the rated power of the system reach around 522W, and when a PSU of 1600W is selected, the duty ratio threshold is set to 95%, so that the duty ratio of the actual power of the system in the rated power of the system reaches around 1520W.
The specific value of the duty ratio threshold may be set as required, but it is understood that the duty ratio threshold should be set to a higher value, i.e. a value close to 1, so as to ensure effective utilization of the rated power of the system, avoid waste, and also not be too large, i.e. a certain space needs to be reserved, 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 following example, the duty ratio threshold is set to 95%.
In one embodiment of the present invention, the feedback device 10 may specifically include:
the first input end of each comparator circuit is connected with the power bus, the second input ends of the 1 st to the K th comparator circuits sequentially receive the 1 st to the K th reference voltages, and the output ends of each comparator circuit are connected with the control device 20, so that the control device 20 determines the duty ratio range of the current actual power of the system in the rated power of the system according to the output signals of each comparator circuit;
the values of the 1 st to the K th reference voltages are increased, and when the duty ratio of the actual power of the system in the rated power of the system is a preset duty ratio threshold value, the voltage of the power bus is the same as the K th 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 duty cycle range of the actual power of the current system in the rated power of the system, where the duty cycle range is represented by output levels of K comparator circuits, where K needs to be set to be a positive integer not less than 2, that is, at least one duty cycle range above the duty cycle threshold and one duty cycle range below the duty cycle threshold need to be divided, and it will be understood that the larger the value of K, the more advantageous the control device 20 can realize accurate control, and of course, the cost will also be correspondingly increased.
The feedback device 10 of the present application can be realized by using K comparator circuits, which has a simple structure and low cost, and has high reliability due to the fact that the comparator circuits are all hardware circuits.
In the embodiment of fig. 2 of the present application, k=3, where 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 input terminals of the 3 comparator circuits are all connected to the power supply bus, when the power supply is specifically a PSU, the B23 pin is generally defined as a load_share signal according to the interface definition specification of the PSU, and all PSU signals in the system are connected together to serve as current sharing buses of the PSU, so when the power supply of the system is specifically a PSU, the first input terminals of the 3 comparator circuits are all connected to the B23 pin, and in the embodiment of fig. 2, 2 PSUs are provided, namely PSU1 and PSU0.
The voltage of the power bus can represent the load of the system power supply, namely, the duty ratio 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-100% of the load of the system power supply from 0-8V.
The second input terminals of the 1 st to the K th comparator circuits sequentially receive the 1 st to the K th reference voltages, the values of the 1 st to the K th reference voltages may be set as needed, and the relationship may be set to be incremental, for example, in a specific case, the voltage received by the second input terminal of the 1 st comparator circuit U1 of fig. 2 is 5.6v,5.6v is a power supply bus voltage value when the system actual power is 70% of the system rated power, the voltage received by the second input terminal of the 2 nd comparator circuit U2 is 6.4v,6.4v is a power supply bus voltage value when the system actual power is 80% of the system rated power, and the voltage received by the second input terminal of the 3 rd comparator circuit U3 is 7.6v,7.6v is a power supply bus voltage value when the system actual power is 95% of the system rated power.
For any of the comparators in fig. 2, when the voltage at the first input terminal thereof is higher than the voltage at the second input terminal thereof, the comparator outputs a high level signal, and otherwise outputs a low level signal. Since the output terminals of the comparator circuits are connected to the control device 20, the control device 20 can determine the duty ratio range of the current system actual power in the system rated power according to the output signals of the comparator circuits in the embodiment of fig. 2 as shown in the following table.
Table one:
in table one, signal_1, signal_2, and signal_3 sequentially represent 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 represents the ratio of the current actual system power to 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 may determine that the ratio of the current actual system power to the system rated power is in the range of 0 to 70%.
It should be emphasized that the specific values of the 1 st to the K th reference voltages can be set and adjusted according to actual needs, and the value of the K th reference voltage indicates the voltage of the power bus when the duty ratio of the actual power of the system in the rated power of the system is a preset duty ratio threshold value. For example, in the above example, the duty threshold is set to 95% and the K-th reference voltage is 7.6V.
In the embodiment of fig. 2, the K comparator circuits are directly connected to the control device 20, and in other embodiments, a relevant signal transmission circuit may be provided between each comparator circuit and the control device 20, so long as the control device 20 can receive the output signals of each comparator circuit and determine the duty ratio range of the current actual system power in the rated system power, so long as the implementation of the present invention is not affected.
In one embodiment of the present invention, the control device 20 may be specifically configured to:
when the duty ratio of the current actual power of the system in the rated power of the system is smaller than a preset duty ratio threshold value based on the duty ratio information, sequentially starting all hard disks to be started according to the determined starting interval;
when the duty ratio of the current system actual power in the system rated power is determined to be more than or equal to a preset duty ratio threshold based on the duty ratio information, starting the hard disk to be started is temporarily stopped until the duty ratio of the system actual power in the system rated power is less than the preset duty ratio threshold;
the determined starting interval is positively correlated with the duty ratio of the actual power of the system in the rated power of the system.
In this embodiment, if the duty ratio of the current actual system power in the rated system power is greater than or equal to the preset duty ratio threshold, the current load of the system power is larger, so as to avoid that the actual system power exceeds the rated system power, the hard disk to be started is temporarily stopped. When the hard disk is started, the actual power of the system is reduced, namely the duty ratio of the actual power of the system in the rated power of the system is smaller than a preset duty ratio threshold value, and at the moment, the application can continuously start all the hard disks to be started in sequence according to the determined starting interval. It can be seen that, in this embodiment, the duty ratio of the actual power of the system in the rated power of the system may fluctuate around the preset duty ratio threshold, for example, in the above example, the duty ratio threshold is 95%, and no matter what the rated power of the system is, no matter what specification of hard disk is selected, the duty ratio of the actual power of the system in the rated power of the system may be stabilized around 95%, so that the waste of design is effectively avoided.
When each hard disk to be started is started in turn, the starting sequence may be generally determined according to the serial numbers of the hard disks, for example, 40 hard disks to be started are sequentially numbered from hard disk 0 to hard disk 39, so that the 40 hard disks are started in turn, and of course, the starting sequence may be set based on other needs in other occasions.
Further, in one embodiment of the present invention, the start interval is a start interval determined by:
dividing the threshold value from 0 to the duty ratio into N continuous intervals, and configuring corresponding starting intervals for each divided interval;
when the duty ratio of the actual power of the system in the rated power of the system accords with any one interval of N intervals, the starting interval configured for the interval is used as the determined starting interval;
wherein N is a positive integer not less than 2, and from the 1 st section to the N-th section, the configured start interval is incremented.
For example, in one instance, N may be set to 3, corresponding to the embodiment of fig. 2. I.e. 0 to 95% are divided into 3 consecutive intervals, namely load < 70%,70% < load < 80%, and 80% < load < 95%, for example, the configured start intervals are 10ms,0.1s, and 2.5s, respectively, in this embodiment, when the ratio of the actual power of the system in the rated power of the system corresponds to the interval of load < 70%, a hard disk to be started is started every 10ms, and correspondingly, when the ratio of the actual power of the system in the rated power of the system corresponds to the interval of 70% < load < 80%, a hard disk to be started is started every 0.1s, and when the ratio of the actual power of the system in the rated power of the system corresponds to the interval of 80% < load < 95%, a hard disk to be started is started every 2.5 s. When the current duty ratio of the actual power of the system in the rated power of the system is more 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 duty ratio of the actual power of the system in the rated power of the system is returned to below 95%.
In addition, from the 1 st interval to the N th interval, the configured starting interval is increased, so that the margin of the system load is described to be greater in consideration of the lower the current system actual power ratio in the system rated power, and therefore, each hard disk to be started can be started in sequence. The system actual power occupies a relatively high proportion in the system rated power, which means that the number of hard disks currently being started is relatively large, the system load is close to the maximum load, and if the hard disks to be started are continuously and rapidly started in sequence, the condition that the system actual power directly exceeds the system rated power easily occurs, so that the configured starting interval is gradually increased from the 1 st interval to the N th interval.
And further, in a specific 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 one case of the foregoing, 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, the start interval configured for the nth interval is the maximum value in the N start intervals, and in this embodiment, the maximum value is set to be less than 5s, so that the actual power of the system can be effectively increased until the ratio of the actual power of the system exceeds the ratio threshold in the rated power of the system, or the actual power of the system is stabilized in the nth interval.
In addition, in the foregoing embodiment, N is set to a positive integer not smaller than 2, and in other cases, N may also be set to 1, that is, when it is determined, based on the duty ratio information, that the duty ratio of the current actual power of the system in the rated power of the system is smaller than the preset duty ratio threshold, the determined start interval is a fixed value. Of course, in practical application, a scheme with N at least 2 is generally selected, so that the interval from the 1 st interval to the nth interval can be configured, and the starting interval is increased gradually, so as to achieve the effect of enabling the duty ratio of the actual power of the system in the rated power of the system to quickly approach to the duty 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 startup control of each hard disk, and thus the control device 20 may be specifically referred to as a BMC. Further, in an occasion, the method may further include: and the interface expansion device is used for connecting the BMC with each hard disk, so that 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 electrically controlled by a device such as a CPLD, as long as the functions of the control device 20 of the present application can be realized, without affecting the implementation of the present invention.
The scheme of the application can be generally applied to JBOD equipment, because the hard disk power in the JBOD equipment occupies a relatively high proportion in the actual power of the system, namely the main load of the system power supply is the hard disk, so that the power change when the hard disk is electrified can greatly influence the actual power of the system. Of course, other types of storage devices can also select whether the hard disk needs to be powered on or not according to requirements.
By applying the technical scheme provided by the embodiment of the invention, the problem that the startup time of the system is long due to the fact that the conventional hard disk peak-shifting power-up strategy is considered, and different peak-shifting strategies cannot be configured according to the total power of the power sources matched by the system and the hard disks with different specifications is solved. Specifically, the feedback device 10 of the present application can output the duty ratio information of the current actual system power in the rated system power to the control device 20, so that the control device 20 can control the starting sequence of each hard disk to be started according to the preset hard disk starting control rule, based on the duty ratio information, by taking the duty ratio of the actual system power in the rated system power as a control target, until each hard disk to be started is started. It can be seen that, in the scheme of the application, no matter how much the rated power of the system is, and no matter what specification of hard disk is selected, the duty ratio of the actual power of the system in the rated power of the system reaches the preset duty ratio threshold value as a control target, so that the waste of design can be effectively avoided, that is, the rated power of the system can be effectively utilized in the hard disk starting stage, and the condition 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. In summary, the scheme of the application can effectively avoid that the power of the hard disk is beyond the bearable range of the system power supply when the hard disk is started, and can effectively shorten the starting time of the system.
Corresponding to the system embodiment above, the embodiment of the invention also provides a method for controlling the power-on of the hard disk, which can be correspondingly referred to the above. The hard disk power-on control method can comprise the following steps:
step S301: receiving the duty ratio information of the current actual system power output by the feedback device in the rated system power;
step S302: and taking the duty ratio of the actual power of the system in the rated power of the system 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 duty ratio information until each hard disk to be started is started.
In one embodiment of the present invention, step S302 includes:
when the duty ratio of the current actual power of the system in the rated power of the system is smaller than a preset duty ratio threshold value based on the duty ratio information, sequentially starting all hard disks to be started according to the determined starting interval;
when the duty ratio of the current system actual power in the system rated power is determined to be more than or equal to a preset duty ratio threshold based on the duty ratio information, starting the hard disk to be started is temporarily stopped until the duty ratio of the system actual power in the system rated power is less than the preset duty ratio threshold;
the determined starting interval is positively correlated with the duty ratio of the actual power of the system in the rated power of the system.
In one embodiment of the present invention, the initiation interval is an initiation interval determined by:
dividing the threshold value from 0 to the duty ratio into N continuous intervals, and configuring corresponding starting intervals for each divided interval;
when the duty ratio of the actual power of the system in the rated power of the system accords with any one interval of N intervals, the starting interval configured for the interval is used as the determined starting interval;
wherein N is a positive integer not less than 2, and from the 1 st section to the N-th section, the configured start interval is incremented.
In a specific embodiment of the present invention, the start interval configured for the nth interval is lower than the lower limit of the duration range of the peak power consumption of the hard disk.
In one embodiment of the present invention, step S301 includes:
the ratio of the current system actual power output by the feedback device in the system rated power, or the ratio range of the current system actual power output by the feedback device in the system rated power.
In one embodiment of the present invention, the feedback device comprises:
the first input end of each comparator circuit is connected with the power bus, the second input ends of the 1 st to the K th comparator circuits sequentially receive the 1 st to the K th reference voltages, and the output ends of the comparator circuits are connected with the control device, so that the control device determines the occupation ratio 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 the K th reference voltages are increased, and when the duty ratio of the actual power of the system in the rated power of the system is a preset duty ratio threshold value, the voltage of the power bus is the same as the K th 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 with each hard disk.
Corresponding to the above method and system embodiments, the embodiment of the present invention further provides a server, which may include the hard disk power-on control system in any one of the above embodiments.
It is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like 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 elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 solution. 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 principles and embodiments of the present invention have been described herein with reference to specific examples, but the description of the examples above is only for aiding in understanding the technical solution of the present invention and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.

Claims (9)

1. A hard disk power-on control system, comprising:
the feedback device is used for outputting the duty ratio information of the current actual system power in the rated system power to the control device;
the control device is used for taking the duty ratio of the actual power of the system in the rated power of the system 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 duty ratio information until each hard disk to be started is started;
the control device is specifically used for:
when the duty ratio of the current actual power of the system in the rated power of the system is smaller than a preset duty ratio threshold value based on the duty ratio information, sequentially starting each hard disk to be started according to the determined starting interval;
when the duty ratio of the current system actual power in the system rated power is determined to be greater than or equal to the preset duty ratio threshold based on the duty ratio information, starting the hard disk to be started is temporarily stopped until the duty ratio of the system actual power in the system rated power is smaller than the preset duty ratio threshold;
the determined starting interval is positively correlated with the duty ratio of the actual power of the system in the rated power of the system.
2. The hard disk power-up control system according to claim 1, wherein the start-up interval is a start-up interval determined by:
dividing the duty ratio threshold from 0 to the duty ratio threshold into N continuous intervals, and configuring corresponding starting intervals for each divided interval;
when the duty ratio of the actual power of the system in the rated power of the system accords with any one interval of N intervals, the starting interval configured for the interval is used as the determined starting interval;
wherein N is a positive integer not less than 2, and from the 1 st section to the N-th section, the configured start interval is incremented.
3. The hard disk power-up control system according to claim 2, wherein the start-up interval configured for the nth interval is lower than a lower limit value of a duration range of the hard disk peak power consumption.
4. The hard disk power-on control system according to claim 1, wherein the feedback means is specifically configured to:
outputting the ratio of the current actual power of the system in the rated power of the system to the control device, or outputting the ratio range of the current actual power of the system in the rated power of the system to the control device.
5. The hard disk drive power-on control system as claimed in claim 4, wherein the feedback means comprises:
the first input ends of the K comparator circuits are connected with the power bus, the second input ends of the 1 st to the K comparator circuits sequentially receive the 1 st to the K reference voltages, and the output ends of the comparator circuits are connected with the control device so that the control device determines the duty ratio range of the current actual system power in the rated system power according to the output signals of the comparator circuits;
and when the duty ratio of the actual power of the system in the rated power of the system is the preset duty ratio threshold value, the voltage of the power bus is the same as the K reference voltage, and K is a positive integer not less than 2.
6. The hard disk power-on control system according to claim 1, wherein the control device is a BMC.
7. The hard disk drive power-on control system as recited in claim 6, further comprising:
and the interface expansion device is used for connecting the BMC with each hard disk.
8. A method for controlling power-on of a hard disk, comprising:
receiving the duty ratio information of the current actual system power output by the feedback device in the rated system power;
taking the duty ratio of the actual power of the system in the rated power of the system 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 duty ratio information until each hard disk to be started is started;
the method for controlling the starting sequence of each hard disk to be started according to the preset hard disk starting control rule by taking the duty ratio of the actual power of the system in the rated power of the system as a control target and based on the duty ratio information until the starting of each hard disk to be started is completed comprises the following steps:
when the duty ratio of the current actual power of the system in the rated power of the system is smaller than a preset duty ratio threshold value based on the duty ratio information, sequentially starting each hard disk to be started according to the determined starting interval;
when the duty ratio of the current system actual power in the system rated power is determined to be greater than or equal to the preset duty ratio threshold based on the duty ratio information, starting the hard disk to be started is temporarily stopped until the duty ratio of the system actual power in the system rated power is smaller than the preset duty ratio threshold;
the determined starting interval is positively correlated with the duty ratio of the actual power of the system in the rated power of the system.
9. A server comprising a hard disk power-up control system as claimed in any one of claims 1 to 7.
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 CN113835507A (en) 2021-12-24
CN113835507B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116643636B (en) * 2023-05-29 2024-02-23 合芯科技有限公司 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

Also Published As

Publication number Publication date
CN113835507A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN113835507B (en) Server and hard disk power-on control system and method thereof
CN115167647B (en) Power supply method, system, equipment and medium for server
CN112612356B (en) Power supply method, system, equipment and medium
US7334738B2 (en) Riser card identification system
US10886749B2 (en) Synchronized startup of power supplies in electrical systems
CN110659183A (en) System power consumption testing method and device
CN109116959B (en) Power supply system
CN101697094A (en) Double-power power supply unit and method
CN106546906B (en) Method and device for testing integrity of power supply
CN112485696B (en) Power supply testing device and method and server
CN109792151B (en) Controlling an energy storage system
CN211062038U (en) Hardware architecture for controlling south bridge SATA disk sequence
CN109217663B (en) Method and system for optimally designing microplate power supply compensation of storage system
US10148192B1 (en) Power supply system and control method using the same
CN115113711B (en) Method, system, equipment and medium for designing IO (input/output) board serving multiple mainboards
CN109739158B (en) Power supply control circuit of M.2 connector
CN114816021B (en) Power supply management system and method
CN114967892B (en) Circuit structure of server power supply
CN113656341B (en) Chip starting control circuit and server
CN101923379A (en) Reset voltage generation circuit
CN117394303A (en) Parallel operation system, slow start control method and device thereof, and storage medium
CN115144784A (en) Power supply detection method and device and server node
CN117573458A (en) Debugging device and method for memory bank slot
CN116418073A (en) Charging device and charging method
CN117234822A (en) Server testing method and device, electronic equipment and storage medium

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