CN115291710A - Server power consumption control method, device and medium - Google Patents

Server power consumption control method, device and medium Download PDF

Info

Publication number
CN115291710A
CN115291710A CN202211062601.6A CN202211062601A CN115291710A CN 115291710 A CN115291710 A CN 115291710A CN 202211062601 A CN202211062601 A CN 202211062601A CN 115291710 A CN115291710 A CN 115291710A
Authority
CN
China
Prior art keywords
server
load
power consumption
load current
curve
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.)
Pending
Application number
CN202211062601.6A
Other languages
Chinese (zh)
Inventor
温翔宇
隋鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211062601.6A priority Critical patent/CN115291710A/en
Publication of CN115291710A publication Critical patent/CN115291710A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit
    • 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)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The application relates to the field of server control, and discloses a server control method, a device and a medium, which comprise the following steps: the method comprises the steps of obtaining power consumption demand information of a server so as to obtain target power consumption and server evaluation indexes corresponding to the power consumption demand information, and determining a load-load current curve corresponding to the server evaluation indexes so as to determine the load current of a central processing unit according to the load-load current curve. And acquiring a load pulling current value corresponding to the target power consumption, wherein the load pulling current value is a point in a load pulling-load current curve, and supplying power to a central processing unit of the server according to the load pulling current value. Therefore, according to the technical scheme provided by the application, the target power consumption corresponding to the evaluation index of the server is determined, so that the load current value corresponding to the target power consumption is determined, the condition that the load current is higher than the current value actually required by the CPU due to the fact that the reading error of the CPU is caused is prevented, the power consumption of the CPU is finally overhigh, and the stability and the reliability of the server are improved.

Description

Server power consumption control method, device and medium
Technical Field
The present application relates to the field of server control, and in particular, to a method, an apparatus, and a medium for controlling server power consumption.
Background
In the working process of the server, a Central Processing Unit (CPU) of the server needs to be supplied with power through a power module, and the power consumption of the server is related to the current and the voltage provided by the power module. The value of the current required by the CPU is called a load current value, and the voltage actually provided by the power module for the CPU becomes a load current value. It can be understood that the magnitude of the supply current provided by the power module to the CPU is related to the demand of the CPU, and when the pull-load current value is smaller than the pull-load current value, the power module increases the pull-load current value.
In specific implementation, the extraction current value is a value read by the CPU through a sensor, and an error may exist between the extraction current value and an actual value, and when the CPU detects that the extraction current detection value is lower than the extraction current actual value, the CPU sends an instruction to the power module to obtain a higher extraction current, so that the extraction current value is too high, and finally, the CPU power consumption is too high, which affects normal operation of the server.
Therefore, how to provide a server power consumption control method is a problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide a server power consumption control method, device and medium, so as to prevent the situation that the normal work of a server is influenced due to overhigh pull load current value caused by wrong CPU reading and finally overhigh CPU power consumption.
In order to solve the above technical problem, the present application provides a server power consumption control method, including:
acquiring power consumption demand information of a server;
acquiring target power consumption and a server evaluation index corresponding to the power consumption demand information, and determining a load-pull current curve corresponding to the server evaluation index;
acquiring a load pulling current value corresponding to the target power consumption, wherein the load pulling current value is a point in the load pulling-load current curve;
and supplying power to a central processing unit of the server according to the load current value.
Preferably, the power consumption requirement information includes: and the server evaluation index and the corresponding relation between the server evaluation index and the server power consumption and the server performance.
Preferably, the determining a load-pull-load current curve corresponding to the server evaluation index includes:
operating a load current test script to obtain a load-load current test curve;
and adjusting the slope and the position of the extraction-load-pull-load current test curve to obtain the extraction-load-pull-load current curve.
Preferably, after the step of obtaining the load pumping-load current curve, the method further includes:
determining a target point of the load-pull load current curve, wherein the linearity of the target point is higher than a first linearity threshold value;
judging whether the server evaluation indexes of the target points meet preset conditions or not;
and if the preset condition is not met, executing the operation load current test script again to obtain a load-load current test curve.
Preferably, when the server evaluation index is the comprehensive performance of the server, the correspondence relationship between the server evaluation index and the power consumption and the performance of the server is as follows:
integrated performance value = server performance 60% -server power consumption 40%.
Preferably, the operating the load current test script to obtain a load-load current test curve includes:
acquiring a load extraction-load current initial curve;
and updating the extraction load current test script according to the server evaluation index so as to process the extraction load-extraction load current initial curve according to the extraction load current test script to obtain the extraction load-extraction load current test curve.
Preferably, the server evaluation index is a value determined according to the temperature of the central processing unit and the performance of the server.
In order to solve the above technical problem, the present application further provides a server power consumption control apparatus, including:
the first acquisition module is used for acquiring the power consumption requirement information of the server;
the determining module is used for acquiring target power consumption and server evaluation indexes corresponding to the power consumption demand information and determining a load-pull load current curve corresponding to the server evaluation indexes;
a second obtaining module, configured to obtain a pull-load current value corresponding to the target power consumption, where the pull-load current value is a point in the pull-load-pull-load current curve;
and the power supply module is used for supplying power to a central processing unit of the server according to the load current value.
In order to solve the above technical problem, the present application further provides a server power consumption control apparatus, including a memory for storing a computer program;
and the processor is used for realizing the steps of the server power consumption control method when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the server power consumption control method.
The application provides a server power consumption control method, which comprises the following steps: the method comprises the steps of obtaining power consumption demand information of a server so as to obtain target power consumption and server evaluation indexes corresponding to the power consumption demand information, and determining a load-load current curve corresponding to the server evaluation indexes so as to determine the load current of a central processing unit according to the load-load current curve. And acquiring a load pulling current value corresponding to the target power consumption, wherein the load pulling current value is a point in a load pulling-load current curve, and supplying power to a central processing unit of the server according to the load pulling current value. Therefore, according to the technical scheme provided by the application, the target power consumption corresponding to the evaluation index of the server is determined, so that the load current value corresponding to the target power consumption is determined, the situation that the load current is higher than the current value actually required by the CPU due to the fact that the reading of the CPU is wrong is prevented, the power consumption of the CPU is finally overhigh, and the stability and the reliability of the server are improved.
In addition, the present application also provides a server power consumption control apparatus and medium, including: the method comprises the steps of obtaining power consumption demand information of a server so as to obtain target power consumption and server evaluation indexes corresponding to the power consumption demand information, and determining a load-load current curve corresponding to the server evaluation indexes so as to determine the load current of a central processing unit according to the load-load current curve. And acquiring a load pulling current value corresponding to the target power consumption, wherein the load pulling current value is a point in a load pulling-load current curve, and supplying power to a central processing unit of the server according to the load pulling current value. Therefore, according to the technical scheme provided by the application, the load-pulling current value corresponding to the target power consumption is determined by determining the target power consumption corresponding to the server evaluation index, so that the situation that the load-pulling current is higher than the current value actually required by the CPU due to the reading error of the CPU, the power consumption of the CPU is overhigh finally is prevented, and the stability and the reliability of the server are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a server power consumption control method according to an embodiment of the present disclosure;
fig. 2 is a structural diagram of a server power consumption control apparatus according to an embodiment of the present application;
fig. 3 is a structural diagram of a server power consumption control apparatus according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a server power consumption control method, device and medium, so that the situation that the load current is higher than the current value actually required by a CPU (Central processing Unit) due to the fact that the reading of the CPU is wrong, the power consumption of the CPU is overhigh finally, and the stability and the reliability of the server are improved.
In the working process of the CPU, when the CPU draws current, it needs to know whether the current is sufficient to support the current operation (i.e., whether the pull-load current provided by the power module is not less than the pull-load current required by the CPU), and therefore, the CPU needs to obtain the current value fed back by the current sensor on the CPU side through an SVID (System V Interface Definition) power management protocol to determine whether the pull-load current is the value required by the CPU, and adjust the magnitude of the pull-load current according to the comparison result. This process is considered a current accuracy (IMON) read. Since power is equal to voltage multiplied by current, the accuracy of the processor power calculation is directly proportional to the accuracy of the IMON signal, and thus inaccuracies in the IMON signal can cause the central processor to perform poorly or cause it to exceed its specified performance target. In order to solve the problem, the application provides a server power consumption control method, which is convenient for obtaining a target power consumption and a server evaluation index corresponding to power consumption demand information by obtaining the power consumption demand information of a server, and determining a load-pull load current curve corresponding to the server evaluation index so as to determine the pull load current of a central processing unit according to the load-pull load current curve. And acquiring a load pulling current value corresponding to the target power consumption, and supplying power to a central processing unit of the server according to the load pulling current value. Therefore, according to the technical scheme provided by the application, the target power consumption and the load current value corresponding to the evaluation index of the server are determined through the load-load current extraction curve corresponding to the evaluation index of the server, so that the situation that the load current is higher than the current value actually required by the CPU due to the reading error of the CPU, the power consumption of the CPU is overhigh finally, and the stability and the reliability of the server are improved.
In order that those skilled in the art will better understand the disclosure, the following detailed description is given with reference to the accompanying drawings.
Fig. 1 is a flowchart of a server power consumption control method provided in an embodiment of the present application, and as shown in fig. 1, the method includes:
s10: and acquiring power consumption requirement information of the server.
S11: and acquiring target power consumption and server evaluation indexes corresponding to the power consumption demand information, and determining a load-load current curve corresponding to the server evaluation indexes.
The scheme provided by the application is applied to the server CPU, and is used for determining the target power consumption of the server according to the requirement of a user, and providing the corresponding load current for the CPU of the server according to the target power consumption and the load-load current extraction curve, so that the normal work of a processor of the server can be ensured, and the overhigh power consumption of the CPU can be prevented.
In a specific implementation, considering that the performance of different types of servers is different, the requirements of users are also different, for example: some users prefer to balance server performance; some users want the server to be able to perform the maximum performance. The target power consumption corresponding to different server performance requirements is different. In order to enable the scheme provided by the application to be applied to different types of server CPUs, the power consumption requirement information includes: and the server evaluation index correspond to the power consumption of the server and the performance of the server. In order to determine target power consumption for different types of servers.
S12: and acquiring a load pulling current value corresponding to the target power consumption, wherein the load pulling current value is a point in a load pulling-load current curve.
In a specific implementation, the pumping-pulling load current test curve is a curve corresponding to the current server evaluation index, and can show a corresponding relationship between the pumping current and the pulling load current. When the target power consumption of the server is determined, the voltage of the SVID power supply service is determined, that is, the extraction current value can be determined, and the extraction current value provided for the CPU can be determined according to the extraction-extraction current curve.
Further, the process of obtaining the pumping-pulling load current curve includes:
and (3) building a test environment, placing the interposer board at the position of a CPU (central processing unit) of the mainboard to be tested, fixing the interposer board by using a bracket, then installing Gen5, sequentially electrifying according to the electrifying sequence requirement after checking that the interposer board is error-free, operating test software, and operating a corresponding IMON test script to obtain a test result of the load-pull load current test curve.
And pasting the test result of the extraction-load current test curve to a test table to obtain the current curves of the extraction current and the load current, and judging whether the extraction current corresponding to each load current is consistent with the required extraction current or not through a fitting curve. If the two parameters do not match, the relevant parameters are adjusted according to the difference between the two parameters in the GUI so as to change the slope and the position of the curve. And reading a register in the Controller at Gen5 to obtain a current value corresponding to the point, running the script again to check the whole load-load current test curve after verifying whether the current value meets the requirement, and then carrying out fine adjustment according to the position with poor linearity in the curve.
Furthermore, the working state (power consumption information, performance information and the like) of the server is determined according to the extraction-load current curve, after the IMON parameter adjustment is completed, linpack run-out test and PTU power consumption test are carried out on the extraction-load current curve, and an expected target is obtained through continuous parameter adjustment, run-out test and power consumption test.
And selecting points with higher linearity on the extraction load-extraction load current curve to serve as the extraction load current value and the extraction load current value of the server CPU.
The process of obtaining the target point through the PTU, linpack and Matlab tools comprises the following steps:
(1) Testing each point on the IMON curve through a PTU power consumption testing tool to obtain a power consumption curve (1);
(2) Testing each point on the IMON curve through a Linpack performance testing tool to obtain a score running curve (2);
(3) Acquiring an energy consumption curve (3) of the NF5270M6 server under an actual use scene;
(4) Fitting (1) and (2) by Matlab to obtain a comprehensive curve (4);
(5) Adjusting the fitting proportion of the comprehensive curve (4);
(6) Comparing the fitting degree of (3) and (4);
(7) And obtaining a proportional value of the optimal curve, and further determining an optimal point meeting the user requirement.
S13: and supplying power to a central processing unit of the server according to the load current value.
The embodiment provides a server power consumption control method, which comprises the following steps: the method comprises the steps of obtaining power consumption demand information of a server so as to obtain target power consumption and server evaluation indexes corresponding to the power consumption demand information, and determining a load-load current curve corresponding to the server evaluation indexes so as to determine load current of a central processing unit according to the load-load current curve. And acquiring a load pulling current value corresponding to the target power consumption, wherein the load pulling current value is a point in a load pulling-load current curve, and supplying power to a central processing unit of the server according to the load pulling current value. Therefore, according to the technical scheme provided by the application, the target power consumption corresponding to the evaluation index of the server is determined, so that the load current value corresponding to the target power consumption is determined, the situation that the load current is higher than the current value actually required by the CPU due to the fact that the reading of the CPU is wrong is prevented, the power consumption of the CPU is finally overhigh, and the stability and the reliability of the server are improved.
As a preferred embodiment, the power consumption requirement information includes: and the server evaluation index correspond to the power consumption of the server and the performance of the server. In particular implementations, server power consumption and performance may be determined based on user-specified evaluation metrics. In this embodiment, after the actual operation test of the whole server is performed, according to the fact that when the server evaluation index is the comprehensive performance of the server, the corresponding relationship between the server evaluation index and the power consumption and performance of the server is as follows: integrated performance value = server performance 60% -server power consumption 40%. .
Further, considering the influence of the server hardware on the test result, different server evaluation indexes and different power consumption-performance corresponding relations may be set for different servers, which is not limited herein. It can be understood that the finally selected pulling load current value and the pulling load current value may be a pulling load current value that optimizes the performance of the server, or may also be a pulling load current value corresponding to performance data specified by a user, which is not limited herein.
As a preferred embodiment, determining a load-pull load current curve corresponding to the server evaluation index comprises:
operating a load current test script to obtain a load-load current test curve;
and adjusting the slope and the position of the load-load current test curve to obtain the load-load current curve.
Further, after the step of obtaining the pumping-pulling load current curve, the method further comprises the following steps:
determining a target point of which the linearity is higher than a first linearity threshold value in a load-pulling current curve;
judging whether the server evaluation indexes of the target points meet preset conditions or not;
and if the preset condition is not met, executing the extraction current test script again to obtain an extraction-extraction current test curve.
Further, running the load current test script to obtain a load-load current test curve includes:
acquiring a load extraction-load current initial curve;
and updating the extraction current test script according to the server evaluation index so as to process the extraction-load current initial curve according to the extraction current test script to obtain the extraction-load current test curve.
In specific implementation, in order to improve the extraction-load-pull-load current curve acquisition efficiency, a python script is used for carrying out automatic test on an extraction-load-pull-load current test curve so as to acquire the extraction-load-pull-load current test curve with the best comprehensive performance of performance and power consumption.
In the testing process, the upper limit and the lower limit of the two currents and the numerical value of the target comprehensive performance are set in a Python script, corresponding parameters are set according to testing conditions, the script is operated, the IMON parameters in the GUI are continuously adjusted, the current value in a Conrtoller register is read in real time through a Gen5 until the curve reaches the required position, and the power of the VR at the moment is calculated.
And controlling Linpack software and PTU software through a script to perform run-out test and power consumption verification, storing data of the extraction-load-pull-load current test curve into an EXCEL at an appointed position, and screening out the extraction-load-pull-load current test curve, parameters, power consumption and run-out result which are closest to a target value. And finally, verifying the obtained result to finish the test.
Specifically, the implementation steps of the scheme are as follows:
(1) And (4) building a test environment, and selecting a corresponding test fixture to match with a matched iron stand and an interposer board. And after the correctness is confirmed, sequentially powering up according to the power-up sequence requirement.
(2) And running an IMON test script to confirm the position of the original curve.
(3) And modifying the current limit range and the comprehensive performance target value in the Python script according to the requirement, and running the script.
(4) After the Python script runs, an Excel table is generated in the specified folder, and the Excel table comprises an accurate pulling load current value, a pulling load-pulling load current test curve, server power consumption and server performance scores.
(5) And finishing the test and checking whether the test result meets the requirement.
Taking NF5270M6 as an example, running the script to adjust a load-load current test curve, detecting performance and power consumption through Linpack and PTU, and calculating comprehensive performance, wherein when offset is-3 and trim is 1010, the power consumption 540W is the lowest, but the performance is poorer at the moment, and when the offset is adjusted to (-5, 990), the performance is better, but the power consumption 591W is the highest. When the offset is-5 and the Trim is 1010, the optimal result of the comprehensive performance of power consumption and performance is obtained.
In particular implementations, as the power consumption of a server increases, the performance of the server increases, but the temperature of the server also increases. When a plurality of servers exist in the server cluster, the server cluster may be failed due to the overhigh temperature of the servers.
In order to solve this problem, on the basis of the above-described embodiment, the server evaluation index is a value determined in accordance with the cpu temperature and the server performance.
And when the temperature of the CPU of the server is detected to be higher than the threshold value, controlling the power of the server to be reduced so as to ensure the normal work of the server. The power consumption and the performance of the server are dynamically adjusted in the using process, and the temperature and the performance of the server are balanced by adjusting and controlling in real time according to different scenes and operating pressures.
In the foregoing embodiments, a server power consumption control method is described in detail, and the present application also provides embodiments corresponding to a server power consumption control apparatus. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one is from the perspective of the function module, and the other is from the perspective of the hardware.
Fig. 2 is a structural diagram of a server power consumption control apparatus according to an embodiment of the present application, and as shown in fig. 2, the apparatus includes:
a first obtaining module 10, configured to obtain power consumption requirement information of a server;
the determining module 11 is configured to obtain a target power consumption and a server evaluation index corresponding to the power consumption demand information, and determine a load-pull-load current curve corresponding to the server evaluation index;
a second obtaining module 12, configured to obtain a pull-load current value corresponding to a target power consumption, where the pull-load current value is a point in a pull-load-pull-load current curve;
and the power supply module 13 is used for supplying power to the central processing unit of the server according to the load current value.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The embodiment provides a server power consumption control device, including: the method comprises the steps of obtaining power consumption demand information of a server so as to obtain target power consumption and server evaluation indexes corresponding to the power consumption demand information, and determining a load-load current curve corresponding to the server evaluation indexes so as to determine the load current of a central processing unit according to the load-load current curve. And acquiring a load pulling current value corresponding to the target power consumption, wherein the load pulling current value is a point in a load pulling-load current curve, and supplying power to a central processing unit of the server according to the load pulling current value. Therefore, according to the technical scheme provided by the application, the load-pulling current value corresponding to the target power consumption is determined by determining the target power consumption corresponding to the server evaluation index, so that the situation that the load-pulling current is higher than the current value actually required by the CPU due to the reading error of the CPU, the power consumption of the CPU is overhigh finally is prevented, and the stability and the reliability of the server are improved.
Fig. 3 is a structural diagram of a server power consumption control device according to another embodiment of the present application, and as shown in fig. 3, the server power consumption control device includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the server power consumption control method as described in the above embodiments when executing the computer program.
The smart device provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in hardware using at least one of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, wherein after being loaded and executed by the processor 21, the computer program is capable of implementing relevant steps of the server power consumption control method disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, windows, unix, linux, and the like. Data 203 may include, but is not limited to, a load-pull-load current curve, and the like.
In some embodiments, the server power consumption control device may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in FIG. 3 does not constitute a limitation on server power consumption control and may include more or fewer components than those shown.
The server power consumption control provided by the embodiment of the application comprises a memory and a processor, and when the processor executes a program stored in the memory, the following method can be realized:
acquiring power consumption demand information of a server;
acquiring target power consumption and a server evaluation index corresponding to the power consumption demand information, and determining a load-load current curve corresponding to the server evaluation index;
acquiring a load pulling current value corresponding to target power consumption, wherein the load pulling current value is a point in a load pulling-load current curve;
and supplying power to a central processing unit of the server according to the load current value.
The embodiment provides a server power consumption control device, including: the method comprises the steps of obtaining power consumption demand information of a server so as to obtain target power consumption and server evaluation indexes corresponding to the power consumption demand information, and determining a load-load current curve corresponding to the server evaluation indexes so as to determine the load current of a central processing unit according to the load-load current curve. And acquiring a load pulling current value corresponding to the target power consumption, wherein the load pulling current value is a point in a load pulling-load current curve, and supplying power to a central processing unit of the server according to the load pulling current value. Therefore, according to the technical scheme provided by the application, the load-pulling current value corresponding to the target power consumption is determined by determining the target power consumption corresponding to the server evaluation index, so that the situation that the load-pulling current is higher than the current value actually required by the CPU due to the reading error of the CPU, the power consumption of the CPU is overhigh finally is prevented, and the stability and the reliability of the server are improved.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
The embodiment provides a server power consumption control medium, including: the method comprises the steps of obtaining power consumption demand information of a server so as to obtain target power consumption and server evaluation indexes corresponding to the power consumption demand information, and determining a load-load current curve corresponding to the server evaluation indexes so as to determine the load current of a central processing unit according to the load-load current curve. And acquiring a load pulling current value corresponding to the target power consumption, wherein the load pulling current value is a point in a load pulling-load current curve, and supplying power to a central processing unit of the server according to the load pulling current value. Therefore, according to the technical scheme provided by the application, the load-pulling current value corresponding to the target power consumption is determined by determining the target power consumption corresponding to the server evaluation index, so that the situation that the load-pulling current is higher than the current value actually required by the CPU due to the reading error of the CPU, the power consumption of the CPU is overhigh finally is prevented, and the stability and the reliability of the server are improved.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the prior art, or all or part of the technical solutions may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The server power consumption control method, device and medium provided by the present application are described in detail above. The embodiments are described in a progressive mode in the specification, the emphasis of each embodiment is on the difference from the other embodiments, and the same and similar parts among the embodiments can be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It should also be noted that, in this specification, 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. 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 phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A server power consumption control method, comprising:
acquiring power consumption demand information of a server;
acquiring target power consumption and a server evaluation index corresponding to the power consumption demand information, and determining a load-pull current curve corresponding to the server evaluation index;
acquiring a load pulling current value corresponding to the target power consumption, wherein the load pulling current value is a point in the load pulling-load current curve;
and supplying power to a central processing unit of the server according to the load current value.
2. The server power consumption control method according to claim 1, wherein the power consumption requirement information includes: and the server evaluation index and the corresponding relation between the server evaluation index and the server power consumption and the server performance.
3. The server power consumption control method according to claim 2, wherein the determining a load-pull-load current curve corresponding to the server evaluation index includes:
operating a load current test script to obtain a load-load current test curve;
and adjusting the slope and the position of the load-load current test curve to obtain the load-load current curve.
4. The server power consumption control method according to claim 3, wherein the step of obtaining the load-pull-load current curve further comprises:
determining a target point of the load-pull load current curve, wherein the linearity of the target point is higher than a first linearity threshold value;
judging whether the server evaluation indexes of the target points meet preset conditions or not;
and if the preset condition is not met, executing the operation load current test script again to obtain a load-load current test curve.
5. The server power consumption control method according to claim 1, wherein when the server evaluation index is server overall performance, the corresponding relationship between the server evaluation index and server power consumption and server performance is:
integrated performance value = server performance 60% -server power consumption 40%.
6. The server power consumption control method of claim 3, wherein the running a load current test script to obtain a load-load current test curve comprises:
acquiring a load extraction-load current initial curve;
and updating the extraction load current test script according to the server evaluation index so as to process the extraction load-extraction load current initial curve according to the extraction load current test script to obtain the extraction load-extraction load current test curve.
7. The server power consumption control method according to claim 1, wherein the server evaluation index is a value determined according to a cpu temperature and a server performance.
8. A server power consumption control apparatus, comprising:
the first acquisition module is used for acquiring the power consumption requirement information of the server;
the determining module is used for acquiring target power consumption and server evaluation indexes corresponding to the power consumption demand information and determining a load-pull load current curve corresponding to the server evaluation indexes;
a second obtaining module, configured to obtain a pull-load current value corresponding to the target power consumption, where the pull-load current value is a point in the pull-load-pull-load current curve;
and the power supply module is used for supplying power to the central processing unit of the server according to the load current value.
9. A server power consumption control apparatus comprising a memory for storing a computer program;
a processor for implementing the steps of the server power consumption control method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the server power consumption control method according to any one of claims 1 to 7.
CN202211062601.6A 2022-08-31 2022-08-31 Server power consumption control method, device and medium Pending CN115291710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211062601.6A CN115291710A (en) 2022-08-31 2022-08-31 Server power consumption control method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211062601.6A CN115291710A (en) 2022-08-31 2022-08-31 Server power consumption control method, device and medium

Publications (1)

Publication Number Publication Date
CN115291710A true CN115291710A (en) 2022-11-04

Family

ID=83831564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211062601.6A Pending CN115291710A (en) 2022-08-31 2022-08-31 Server power consumption control method, device and medium

Country Status (1)

Country Link
CN (1) CN115291710A (en)

Similar Documents

Publication Publication Date Title
CN111124775A (en) Power-on time sequence abnormality detection method and device, MCU and storage medium
CN112782606A (en) Current precision testing method and system for power module in server
CN113219320A (en) BMS circuit board checking method, system, readable storage medium and terminal equipment
CN111338873A (en) Method and system for verifying server heat dissipation strategy
CN111596802A (en) Touch screen calibration method and device and computer readable storage medium
CN115291710A (en) Server power consumption control method, device and medium
CN113241810A (en) Charging method and device for terminal device
US6021359A (en) Method and apparatus for determining an inspection schedule for a production line
CN104461603A (en) Information processing method and electronic equipment
CN114924637B (en) Control method and electronic equipment
CN116185777A (en) Method, device and system for monitoring power consumption of server and server
CN114036010A (en) Method and device for server anti-seismic testing, computer equipment and storage medium
CN114063758A (en) Current value obtaining method, device and medium
CN111399871A (en) System updating method, device, equipment and medium for HBA card
CN114706721A (en) Power supply detection method and device, electronic equipment and storage medium
CN114113977A (en) RTC circuit automatic detection method and system of circuit board
GB2495997A (en) Measurement of electricity consumption with compensation for nominal supply voltage variation
CN104820605A (en) Angle setting method and device for rotary camera
CN111144733A (en) Platform identification method and device, metering automation terminal and readable storage medium
CN115426282B (en) Voltage abnormality detection method, system, electronic device and storage medium
CN114689969A (en) Interface detection method, device and storage medium
CN117851148B (en) Multi-mode testing method, device and equipment for handle equipment and storage medium
CN115424551A (en) Flat panel display detection method and device, electronic equipment and medium
CN118068947A (en) Multi-path server power derating method based on processor
US20150160713A1 (en) Sleep-Mode Detection Method Thereof

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