[go: up one dir, main page]

CN111625080A - Server energy saving method and device, electronic equipment and storage medium - Google Patents

Server energy saving method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111625080A
CN111625080A CN202010442554.2A CN202010442554A CN111625080A CN 111625080 A CN111625080 A CN 111625080A CN 202010442554 A CN202010442554 A CN 202010442554A CN 111625080 A CN111625080 A CN 111625080A
Authority
CN
China
Prior art keywords
server
server node
node
load
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010442554.2A
Other languages
Chinese (zh)
Other versions
CN111625080B (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 Metabrain 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 CN202010442554.2A priority Critical patent/CN111625080B/en
Publication of CN111625080A publication Critical patent/CN111625080A/en
Application granted granted Critical
Publication of CN111625080B publication Critical patent/CN111625080B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

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

本申请公开了一种服务器节能方法、装置及一种电子设备和计算机可读存储介质,该方法包括:对多节点服务器中各个服务器节点的负荷情况进行监控;根据监控得到的所述负荷情况,确定需要进行休眠的目标服务器节点;向所述目标服务器节点发送休眠指令,以使所述目标服务器节点停止所有业务,进入休眠模式。由上可知,本申请提供多个服务器节点,并可对各个服务器节点的负荷情况进行监控,以便根据各个服务器节点的负荷情况决定对其中的目标服务器节点进行休眠,避免服务器总是以高性能模式进行工作导致的高能耗、高成本问题,能够满足更加精细的节能调控需求,实现在降低电费成本的基础上降低服务器能耗。

Figure 202010442554

The present application discloses a server energy saving method and device, an electronic device and a computer-readable storage medium. The method includes: monitoring the load condition of each server node in a multi-node server; and according to the load condition obtained by monitoring, Determine the target server node that needs to be dormant; send a dormancy instruction to the target server node, so that the target server node stops all services and enters a dormant mode. As can be seen from the above, the present application provides multiple server nodes, and can monitor the load situation of each server node, so as to decide to sleep the target server node among them according to the load situation of each server node, so as to avoid the server always running in a high-performance mode. The problem of high energy consumption and high cost caused by working can meet the needs of more refined energy-saving regulation, and reduce server energy consumption on the basis of reducing electricity costs.

Figure 202010442554

Description

Server energy saving method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of server technologies, and in particular, to a server energy saving method and apparatus, an electronic device, and a computer-readable storage medium.
Background
Servers in a data center are the main consumers with large power consumption. In order to reduce unnecessary energy consumption waste, a data center manager can set a sleep mode for a non-working server by using a management program. However, the server in the network is in a working state frequently because the user has to access the data constantly at any time. All software and hardware resources on the server in the working state work in a high-performance mode, that is, the server processes tasks in the high-performance mode no matter in the large data access during the peak period of the large task volume or in the data access of small data blocks of a small number of tasks. In this operating mode, the server consumes the maximum amount of energy regardless of the load of the client, which not only wastes the energy provided by the server, but also consumes more electric power, resulting in a substantial increase in electricity cost.
Therefore, how to realize low power consumption on the basis of low cost is a problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a server energy-saving method, a server energy-saving device, an electronic device and a computer-readable storage medium, so that the energy consumption of a server is reduced on the basis of reducing the cost of electric charges.
In order to achieve the above object, the present application provides a server energy saving method, including:
monitoring the load condition of each server node in the multi-node server;
determining a target server node needing to be dormant according to the load condition obtained by monitoring;
and sending a sleep instruction to the target server node to enable the target server node to stop all services and enter a sleep mode.
Optionally, the monitoring the load condition of each server node in the multi-node server includes:
monitoring the mainboard load capacity, and/or the processor power consumption, and/or the processor frequency, and/or the memory frequency, and/or the network bandwidth, and/or the overall power consumption of each server node in the multi-node server to obtain power consumption data;
and storing the power consumption data into a memory, and recording the time corresponding to the power consumption data.
Optionally, the determining, according to the monitored load condition, a target server node that needs to be dormant includes:
generating a power consumption curve of each server node according to the power consumption data of each server node monitored in a preset time period;
and determining the server node with the mainboard load amount lower than a first preset threshold value as a target server node needing to be dormant according to the power consumption curve.
Optionally, the sending a sleep instruction to the target server node to enable the target server node to stop all services includes:
according to the power consumption curve, determining a target time period of the target server node when the load of the mainboard is lower than a first preset threshold;
distributing the service to be processed of the target server node in the target time period to other server nodes;
and sending a sleep instruction to the target server node at regular time according to the target time period so as to enable the target server node to stop all services.
Optionally, after the sending the sleep instruction to the target server node according to the target time period, the method further includes:
and sending a service awakening instruction to the target server node after the target time period is monitored to be ended so that the target server node exits the sleep mode.
Optionally, after monitoring the load condition of each server node in the multi-node server, the method further includes:
determining a server node to be subjected to frequency reduction with the load exceeding a second preset threshold according to the load condition of each server node obtained through monitoring;
determining a low-load server node capable of receiving the service based on a load balancing strategy;
and scheduling part of the to-be-processed services of the to-be-reduced frequency server node to the low-load server node for processing.
In order to achieve the above object, the present application provides a server energy saving device, including:
the load monitoring module is used for monitoring the load condition of each server node in the multi-node server;
the target determining module is used for determining a target server node which needs to be dormant according to the load condition obtained by monitoring;
and the node dormancy module is used for sending a dormancy instruction to the target server node so that the target server node stops all services and enters a dormancy mode.
Optionally, the method further includes:
the first determining module is used for determining the server nodes to be subjected to frequency reduction with the load exceeding a second preset threshold according to the load condition of each server node obtained through monitoring;
the second determining module is used for determining a low-load server node capable of receiving the service based on the load balancing strategy;
and the service scheduling module is used for scheduling part of the services to be processed of the server nodes to be subjected to frequency reduction to the low-load server nodes for processing.
To achieve the above object, the present application provides an electronic device including:
a memory for storing a computer program;
a processor for implementing the steps of any of the server power saving methods disclosed above when executing the computer program.
To achieve the above object, the present application provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of any of the server power saving methods disclosed in the foregoing.
According to the scheme, the server energy saving method provided by the application comprises the following steps: monitoring the load condition of each server node in the multi-node server; determining a target server node needing to be dormant according to the load condition obtained by monitoring; and sending a sleep instruction to the target server node to enable the target server node to stop all services and enter a sleep mode. Therefore, the server nodes are provided, the load conditions of the server nodes can be monitored, the target server nodes can be conveniently determined to be dormant according to the load conditions of the server nodes, the problems of high energy consumption and high cost caused by the fact that the server always works in a high-performance mode are avoided, more precise energy-saving regulation and control requirements can be met, and the energy consumption of the server is reduced on the basis of reducing the cost of electric charges.
The application also discloses a server energy-saving device, an electronic device and a computer readable storage medium, which can also realize the technical effects.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a server energy saving method disclosed in an embodiment of the present application;
FIG. 2 is a flowchart of another server power saving method disclosed in an embodiment of the present application;
fig. 3 is a flowchart of another server energy saving method disclosed in the embodiment of the present application;
fig. 4 is a structural diagram of an energy saving system of a server according to an embodiment of the present disclosure;
fig. 5 is a structural diagram of an energy saving device of a server according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device disclosed in an embodiment of the present application;
fig. 7 is a block diagram of another electronic device disclosed in the embodiments 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 of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the conventional technology, the server processes the task in the high-performance working mode, no matter the data access of a large amount of data during the peak period of a large task amount or the data access of a small amount of data of a small task block. In this operating mode, the server consumes the maximum amount of energy regardless of the load of the client, which not only wastes the energy provided by the server, but also consumes more electric power, resulting in a substantial increase in electricity cost.
Therefore, the embodiment of the application discloses a server energy-saving method, which is used for reducing the energy consumption of a server on the basis of reducing the cost of electricity charges.
Referring to fig. 1, a server energy saving method disclosed in an embodiment of the present application includes:
s101: monitoring the load condition of each server node in the multi-node server;
in the embodiment of the application, the power consumption states of all parts of the current multi-node server system and the load of each server mainboard node can be monitored. In specific implementation, the main board load capacity, and/or the processor power consumption, and/or the processor frequency, and/or the memory frequency, and/or the network bandwidth, and/or the overall power consumption of each server node in the multi-node server may be monitored to obtain corresponding power consumption data.
It can be understood that, when monitoring the load condition of each server node, a regular monitoring mode may be specifically adopted, that is, the load condition of each server node is obtained at regular time according to a certain time interval, and of course, a real-time monitoring mode may also be adopted, which is not specifically limited in this embodiment of the present application.
After the server node is monitored and the corresponding power consumption data are obtained, the power consumption data can be stored in the memory, and the time corresponding to the power consumption data is recorded, so that the subsequent backtracking analysis can be conveniently carried out.
S102: determining a target server node needing to be dormant according to the load condition obtained by monitoring;
in this step, it may be determined whether a target server that needs to be dormant exists in all the server nodes according to the load condition of each server node monitored in the above step. Specifically, the target server node that needs to be dormant may be a server node with a smaller or almost zero current load.
S103: and sending a sleep instruction to the target server node to enable the target server node to stop all services and enter a sleep mode.
After determining the target server node which needs to be dormant, the target server node may send a corresponding dormancy instruction to the target server node, and after receiving the dormancy instruction, the target server node stops all services and enters a dormancy mode, thereby reducing waste of power consumption.
When the target server node needs to exit the sleep mode, the target server node can be issued with a corresponding wake-up service instruction, and the target server node can exit the sleep mode.
According to the scheme, the server energy saving method provided by the application comprises the following steps: monitoring the load condition of each server node in the multi-node server; determining a target server node needing to be dormant according to the load condition obtained by monitoring; and sending a sleep instruction to the target server node to enable the target server node to stop all services and enter a sleep mode. Therefore, the server nodes are provided, the load conditions of the server nodes can be monitored, the target server nodes can be conveniently determined to be dormant according to the load conditions of the server nodes, the problems of high energy consumption and high cost caused by the fact that the server always works in a high-performance mode are avoided, more precise energy-saving regulation and control requirements can be met, and the energy consumption of the server is reduced on the basis of reducing the cost of electric charges.
The embodiment of the application discloses another server energy saving method, and compared with the previous embodiment, the embodiment further explains and optimizes the technical scheme. Referring to fig. 2, specifically:
s201: monitoring the load condition of each server node in the multi-node server;
s202: generating a power consumption curve of each server node according to the power consumption data of each server node monitored in a preset time period;
in the embodiment of the application, the power consumption data of each server node is obtained by monitoring the load condition of each server node in the multi-node server, the collected power consumption data can be counted, and the power consumption data of each server node in the preset time period is used for generating the corresponding power consumption curve. It should be noted that the power consumption curve is specifically a curve representing a relationship between the power consumption of the server node and time, and the preset time period may be set according to actual conditions in specific implementation, for example, may be set to 12 hours, one day, one week, and the like.
S203: according to the power consumption curve, determining the server node with the mainboard load lower than a first preset threshold value as a target server node needing to be dormant;
after the power consumption curves corresponding to the server nodes are obtained, whether a node with a mainboard load lower than a first preset threshold exists in all the server nodes or not can be screened, and the node is determined as a target server node needing to be dormant. The first preset threshold may be set in specific implementation, and is not limited to a specific value.
S204: according to the power consumption curve, determining a target time period of the target server node when the load of the mainboard is lower than a first preset threshold;
it can be understood that after the target server nodes needing to be dormant are screened out, the target time period in which the target server nodes are located when the load of the main board is lower than the first preset threshold needs to be determined, that is, the time period in which the target server nodes need to be dormant is determined.
S205: distributing the service to be processed of the target server node in the target time period to other server nodes;
s206: and sending a sleep instruction to the target server node at regular time according to the target time period so as to enable the target server node to stop all services.
In the embodiment of the application, the to-be-processed service of the target server node in the target time period can be distributed to other server nodes for processing, so that when the target time period is reached, the target server node can be sent with a sleep instruction at regular time, the target server node can enter a sleep mode, and power consumption and power cost consumed by the target server node can be saved.
It can be understood that, after the target server node enters the sleep mode, the sleep time may be monitored, and if it is monitored that the target time period is over, a wake-up service instruction may be sent to the target server node, so that the target server node exits the sleep mode.
The embodiment of the application discloses another energy-saving method for a server, and compared with the previous embodiment, the embodiment further describes and optimizes the technical scheme. Referring to fig. 3, specifically:
s301: monitoring the load condition of each server node in the multi-node server;
s302: determining a server node to be subjected to frequency reduction with the load exceeding a second preset threshold according to the load condition of each server node obtained through monitoring;
in the embodiment of the application, the load condition of each server node is monitored, and then the nodes with the loads exceeding the second preset threshold are screened out according to the load condition of each server node and serve as the server nodes to be subjected to frequency reduction. The second preset threshold may be set according to actual requirements in a specific implementation process, which is not limited in this embodiment.
S303: determining a low-load server node capable of receiving the service based on a load balancing strategy;
s304: and scheduling part of the to-be-processed services of the to-be-reduced frequency server node to the low-load server node for processing.
As a preferred embodiment, the present application further provides a load balancing function, that is, a task to be processed of a node with a higher load can be distributed to other server nodes with a lower load for processing, so as to reduce the pressure of the node with a higher load. In a specific implementation process, a server node with a lower load capacity, for example, a server node with a load capacity lower than a third preset threshold may be determined as a node that can receive a service, so as to schedule a task of a high-load node to a server node with a low load.
It should be noted that, when scheduling the to-be-processed service of the high-load node to the low-load server node, the total task amount that needs to be distributed and scheduled may be determined first, the server nodes whose load amounts are lower than the third preset threshold are screened out and arranged in the order from low to high according to the load amounts, and then the difference between the current load amount of the selected server node and the third preset threshold is calculated, and the distribution and scheduling of the to-be-processed task are performed based on the difference and the total task amount, for example, tasks may be relatively uniformly distributed to each low-load server node in proportion.
The server energy saving system provided by the embodiment of the present application is introduced through a specific implementation scenario. In particular, the following problems mainly exist in terms of energy consumption in consideration of the servers of the current data center: the existing server works in a high-performance mode to process tasks, so that the power consumption of the server is high in the working mode; the existing client cannot realize low-power design on the basis of the existing server; the existing power consumption control strategy is single and cannot meet the low power consumption control strategy of a client service end. An embodiment of the present application provides a server energy saving system, and as shown in fig. 4, the system may specifically include a four-subsatellite host system (four motherboard systems), a power consumption controller, a state monitor, a load balancing controller, and an energy consumption management module, so as to form a complete energy consumption management closed loop with monitoring, tuning, and controlling functions.
It should be noted that the power consumption controller is configured to implement a power consumption control policy of the four-subsatellite system, for example, limit the processor power consumption of each node according to a load condition, limit the processor frequency, limit the memory frequency, limit the network bandwidth, and limit the overall power consumption; the state monitor is used for monitoring the power consumption states of all parts of the current multi-node server system and the load of each mainboard node and storing the power consumption states and the load in real time; the load balancing controller is used for adjusting the power consumption of the four nodes of the four-subsatellite system until a balancing control strategy is implemented; and the energy consumption management module is used for interacting the data acquired by the power consumption controller, the condition monitoring monitor and the load balancer and adjusting an optimal power consumption regulation and control strategy.
According to the scheduling of the energy consumption management module, when a certain node of the four-subsatellite system needs to enter a sleep mode, the energy consumption management module sends all services to the mainboard node through the load balancing management module and the power consumption controller, and sends a corresponding sleep instruction through the control interface. And when the node receives the sleep command, the node enters a sleep mode. When the sleeping node needs to exit the sleeping mode, the energy consumption management module issues a wake-up service request to the sleeping node through the load balancing management module and the power consumption controller, and issues a wake-up instruction through the control interface. And the node of the four subsategories receiving the awakening instruction exits the sleep mode.
In the embodiment of the application, the energy consumption management module can realize automatic monitoring, automatic triggering and automatic tuning control according to the load operation condition, and the problem that the conventional server power consumption management system can only be in a high-performance working mode or the whole server can sleep is solved. For example, according to the monitored load condition of the four-subsatellite node, energy-saving operations such as dormancy and the like can be performed on a certain node, so that the problem of high power consumption caused by a server in a high-performance working mode is solved.
Further, as a preferred implementation manner, the system provided in the embodiment of the present application may adopt dual input in power module design, and both ac and dc can be supported and switched through an internal switch. If the current input is direct current, the energy conversion efficiency of the power supply module in the four-subsatellite can be improved. The automatic identification function of the change-over switch is switched to the direct current DC 380Vdc and DC 12Vdc lines, so that the power conversion efficiency in the power supply process is improved, the power consumption of the server is reduced, and the processing capacity of the server is improved.
In the following, a server energy saving device provided by an embodiment of the present application is introduced, and a server energy saving device described below and a server energy saving method described above may be referred to each other.
Referring to fig. 5, an energy saving device for a server according to an embodiment of the present application includes:
a load monitoring module 401, configured to monitor a load condition of each server node in a multi-node server;
a target determining module 402, configured to determine, according to the monitored load condition, a target server node that needs to be dormant;
a node dormancy module 403, configured to send a dormancy instruction to the target server node, so that the target server node stops all services and enters a dormancy mode.
For the specific implementation process of the modules 401 to 403, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
On the basis of the foregoing embodiment, as a preferred implementation manner, the server energy saving device provided in the embodiment of the present application may further include:
the first determining module is used for determining the server nodes to be subjected to frequency reduction with the load exceeding a second preset threshold according to the load condition of each server node obtained through monitoring;
the second determining module is used for determining a low-load server node capable of receiving the service based on the load balancing strategy;
and the service scheduling module is used for scheduling part of the services to be processed of the server nodes to be subjected to frequency reduction to the low-load server nodes for processing.
The present application further provides an electronic device, and as shown in fig. 6, an electronic device provided in an embodiment of the present application includes:
a memory 100 for storing a computer program;
the processor 200, when executing the computer program, may implement the steps provided by the above embodiments.
Specifically, the memory 100 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor 200 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip in some embodiments, and provides computing and controlling capability for the electronic device, and when executing the computer program stored in the memory 100, the server power saving method disclosed in any of the foregoing embodiments may be implemented.
On the basis of the above embodiment, as a preferred implementation, referring to fig. 7, the electronic device further includes:
and an input interface 300 connected to the processor 200, for acquiring computer programs, parameters and instructions imported from the outside, and storing the computer programs, parameters and instructions into the memory 100 under the control of the processor 200. The input interface 300 may be connected to an input device for receiving parameters or instructions manually input by a user. The input device may be a touch layer covered on a display screen, or a button, a track ball or a touch pad arranged on a terminal shell, or a keyboard, a touch pad or a mouse, etc.
And a display unit 400 connected to the processor 200 for displaying data processed by the processor 200 and for displaying a visualized user interface. The display unit 400 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like.
And a network port 500 connected to the processor 200 for performing communication connection with each external terminal device. The communication technology adopted by the communication connection can be a wired communication technology or a wireless communication technology, such as a mobile high definition link (MHL) technology, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity (WiFi), a bluetooth communication technology, a low power consumption bluetooth communication technology, an ieee802.11 s-based communication technology, and the like.
Fig. 7 shows only an electronic device having components 100-500, and those skilled in the art will appreciate that the structure shown in fig. 7 does not constitute a limitation of the electronic device, and may include fewer or more components than shown, or some components in combination, or a different arrangement of components.
The present application also provides a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. The storage medium stores thereon a computer program which, when executed by a processor, implements the server power saving method disclosed in any of the foregoing embodiments.
The application provides a plurality of server nodes to can monitor the load condition of each server node, so that the target server node in the server nodes can be determined to be dormant according to the load condition of each server node, the problems of high energy consumption and high cost caused by the fact that the server always works in a high-performance mode are avoided, more detailed energy-saving regulation and control requirements can be met, and the energy consumption of the server is reduced on the basis of reducing the cost of electric charges.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, 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 is further noted that, in the present 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 phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1.一种服务器节能方法,其特征在于,包括:1. A server energy saving method, comprising: 对多节点服务器中各个服务器节点的负荷情况进行监控;Monitor the load of each server node in the multi-node server; 根据监控得到的所述负荷情况,确定需要进行休眠的目标服务器节点;According to the load situation obtained by monitoring, determine the target server node that needs to be dormant; 向所述目标服务器节点发送休眠指令,以使所述目标服务器节点停止所有业务,进入休眠模式。Send a sleep instruction to the target server node, so that the target server node stops all services and enters a sleep mode. 2.根据权利要求1所述的服务器节能方法,其特征在于,所述对多节点服务器中各个服务器节点的负荷情况进行监控,包括:2. The server energy saving method according to claim 1, wherein the monitoring the load situation of each server node in the multi-node server comprises: 对多节点服务器中各个服务器节点的主板负载量、和/或处理器功耗、和/或处理器频率、和/或内存频率、和/或网络带宽、和/或整机功耗进行监控,得到功耗数据;Monitor the motherboard load, and/or processor power consumption, and/or processor frequency, and/or memory frequency, and/or network bandwidth, and/or overall power consumption of each server node in a multi-node server, Get power consumption data; 将所述功耗数据保存至存储器中,并记录所述功耗数据对应的时间。The power consumption data is stored in the memory, and the time corresponding to the power consumption data is recorded. 3.根据权利要求2所述的服务器节能方法,其特征在于,所述根据监控得到的所述负荷情况,确定需要进行休眠的目标服务器节点,包括:3 . The server energy saving method according to claim 2 , wherein, determining the target server node that needs to be dormant according to the load situation obtained by monitoring, comprising: 3 . 根据预设时间段内监测得到的每个服务器节点的所述功耗数据,生成各个服务器节点的功耗曲线;generating a power consumption curve of each server node according to the power consumption data of each server node obtained by monitoring within a preset time period; 根据所述功耗曲线,将主板负荷量低于第一预设阈值的服务器节点确定为需要进行休眠的目标服务器节点。According to the power consumption curve, a server node whose mainboard load is lower than the first preset threshold is determined as a target server node that needs to sleep. 4.根据权利要求3所述的服务器节能方法,其特征在于,所述向所述目标服务器节点发送休眠指令,以使所述目标服务器节点停止所有业务,包括:4 . The server energy saving method according to claim 3 , wherein the sending a sleep instruction to the target server node so that the target server node stops all services, comprising: 4 . 根据所述功耗曲线,确定所述目标服务器节点在主板负荷量低于第一预设阈值时所处的目标时间段;determining, according to the power consumption curve, a target time period in which the target server node is located when the motherboard load is lower than a first preset threshold; 将所述目标时间段内所述目标服务器节点的待处理业务分发到其他服务器节点;Distributing the to-be-processed services of the target server node within the target time period to other server nodes; 根据所述目标时间段定时向所述目标服务器节点发送休眠指令,以使所述目标服务器节点停止所有业务。According to the target time period, a sleep instruction is periodically sent to the target server node, so that the target server node stops all services. 5.根据权利要求4所述的服务器节能方法,其特征在于,所述根据所述目标时间段定时向所述目标服务器节点发送休眠指令之后,还包括:5 . The server energy saving method according to claim 4 , wherein after the sending a sleep instruction to the target server node according to the target time period, the method further comprises: 6 . 监测到所述目标时间段结束后,向所述目标服务器节点发送唤醒业务指令,以使所述目标服务器节点退出休眠模式。After monitoring the end of the target time period, a wake-up service instruction is sent to the target server node, so that the target server node exits the sleep mode. 6.根据权利要求1至5任一项所述的服务器节能方法,其特征在于,所述对多节点服务器中各个服务器节点的负荷情况进行监控之后,还包括:6. The server energy saving method according to any one of claims 1 to 5, wherein after monitoring the load situation of each server node in the multi-node server, the method further comprises: 根据监控得到的各个服务器节点的所述负荷情况,确定负荷超过第二预设阈值的待降频服务器节点;According to the load situation of each server node obtained by monitoring, determine the server node to be down-frequency whose load exceeds the second preset threshold; 基于负载均衡策略确定可接收业务的低负荷服务器节点;Determine low-load server nodes that can receive services based on the load balancing strategy; 将所述待降频服务器节点的部分待处理业务调度至所述低负荷服务器节点进行处理。Part of the to-be-processed services of the to-be-down-frequency server node are scheduled to the low-load server node for processing. 7.一种服务器节能装置,其特征在于,包括:7. A server energy saving device, comprising: 负荷监控模块,用于对多节点服务器中各个服务器节点的负荷情况进行监控;The load monitoring module is used to monitor the load of each server node in the multi-node server; 目标确定模块,用于根据监控得到的所述负荷情况,确定需要进行休眠的目标服务器节点;a target determination module, configured to determine the target server node that needs to be dormant according to the load situation obtained by monitoring; 节点休眠模块,用于向所述目标服务器节点发送休眠指令,以使所述目标服务器节点停止所有业务,进入休眠模式。A node sleep module, configured to send a sleep instruction to the target server node, so that the target server node stops all services and enters a sleep mode. 8.根据权利要求7所述的服务器节能装置,其特征在于,还包括:8. The server energy saving device according to claim 7, further comprising: 第一确定模块,用于根据监控得到的各个服务器节点的所述负荷情况,确定负荷超过第二预设阈值的待降频服务器节点;a first determining module, configured to determine the server nodes to be down-converted whose loads exceed the second preset threshold according to the load situation of each server node obtained by monitoring; 第二确定模块,用于基于负载均衡策略确定可接收业务的低负荷服务器节点;a second determining module, configured to determine low-load server nodes that can receive services based on the load balancing strategy; 业务调度模块,用于将所述待降频服务器节点的部分待处理业务调度至所述低负荷服务器节点进行处理。A service scheduling module, configured to schedule part of the to-be-processed services of the to-be-down-frequency server node to the low-load server node for processing. 9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that, comprising: 存储器,用于存储计算机程序;memory for storing computer programs; 处理器,用于执行所述计算机程序时实现如权利要求1至6任一项所述服务器节能方法的步骤。The processor is configured to implement the steps of the server energy saving method according to any one of claims 1 to 6 when executing the computer program. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述服务器节能方法的步骤。10. A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, energy saving of the server according to any one of claims 1 to 6 is realized. steps of the method.
CN202010442554.2A 2020-05-22 2020-05-22 Server energy saving method and device, electronic equipment and storage medium Active CN111625080B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010442554.2A CN111625080B (en) 2020-05-22 2020-05-22 Server energy saving method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010442554.2A CN111625080B (en) 2020-05-22 2020-05-22 Server energy saving method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111625080A true CN111625080A (en) 2020-09-04
CN111625080B CN111625080B (en) 2022-03-08

Family

ID=72272692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010442554.2A Active CN111625080B (en) 2020-05-22 2020-05-22 Server energy saving method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111625080B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031596A (en) * 2019-12-24 2020-04-17 广州微算互联信息技术有限公司 Method, system, device and storage medium for saving electricity of cloud mobile phone through control state
CN112947734A (en) * 2021-03-04 2021-06-11 山东英信计算机技术有限公司 Server power consumption control method, system, terminal and storage medium
CN113553186A (en) * 2021-07-29 2021-10-26 深信服科技股份有限公司 Load balancing method, system, storage medium and electronic equipment
CN113688975A (en) * 2021-08-24 2021-11-23 北京市商汤科技开发有限公司 Training method, device, electronic device and storage medium for neural network
CN116431436A (en) * 2023-03-23 2023-07-14 北京神州安付科技股份有限公司 Energy consumption monitoring system and method based on cloud server crypto machine
CN117873714A (en) * 2023-12-27 2024-04-12 深圳博瑞晶芯科技有限公司 Processor over-frequency method, device, equipment and computer readable medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063327A (en) * 2010-12-15 2011-05-18 中国科学院深圳先进技术研究院 Application service scheduling method with power consumption consciousness for data center
CN103188277A (en) * 2011-12-27 2013-07-03 中国电信股份有限公司 Load energy consumption management system, method and server
CN103701889A (en) * 2013-12-20 2014-04-02 国云科技股份有限公司 Data center energy saving method on basis of cloud computing
CN105577796A (en) * 2015-12-25 2016-05-11 曙光信息产业(北京)有限公司 Cluster power consumption control method and device
WO2017019035A1 (en) * 2015-07-28 2017-02-02 Hewlett Packard Enterprise Development Lp Monitoring network utilization
CN107819626A (en) * 2017-11-15 2018-03-20 广州天源信息科技股份有限公司 The method and system of load equalizer adjustment distribution are realized based on daily record monitoring analysis
CN108845881A (en) * 2018-05-30 2018-11-20 有米科技股份有限公司 The method and device of server capacity dynamic adjustment
CN109324679A (en) * 2018-09-21 2019-02-12 郑州云海信息技术有限公司 Method and device for controlling energy consumption of a server
CN109669758A (en) * 2018-09-11 2019-04-23 深圳平安财富宝投资咨询有限公司 Concocting method, device, equipment and the storage medium of server resource
CN111142647A (en) * 2019-12-27 2020-05-12 亚信科技(南京)有限公司 Energy saving method and system for IT system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063327A (en) * 2010-12-15 2011-05-18 中国科学院深圳先进技术研究院 Application service scheduling method with power consumption consciousness for data center
CN103188277A (en) * 2011-12-27 2013-07-03 中国电信股份有限公司 Load energy consumption management system, method and server
CN103701889A (en) * 2013-12-20 2014-04-02 国云科技股份有限公司 Data center energy saving method on basis of cloud computing
WO2017019035A1 (en) * 2015-07-28 2017-02-02 Hewlett Packard Enterprise Development Lp Monitoring network utilization
CN105577796A (en) * 2015-12-25 2016-05-11 曙光信息产业(北京)有限公司 Cluster power consumption control method and device
CN107819626A (en) * 2017-11-15 2018-03-20 广州天源信息科技股份有限公司 The method and system of load equalizer adjustment distribution are realized based on daily record monitoring analysis
CN108845881A (en) * 2018-05-30 2018-11-20 有米科技股份有限公司 The method and device of server capacity dynamic adjustment
CN109669758A (en) * 2018-09-11 2019-04-23 深圳平安财富宝投资咨询有限公司 Concocting method, device, equipment and the storage medium of server resource
CN109324679A (en) * 2018-09-21 2019-02-12 郑州云海信息技术有限公司 Method and device for controlling energy consumption of a server
CN111142647A (en) * 2019-12-27 2020-05-12 亚信科技(南京)有限公司 Energy saving method and system for IT system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031596A (en) * 2019-12-24 2020-04-17 广州微算互联信息技术有限公司 Method, system, device and storage medium for saving electricity of cloud mobile phone through control state
CN112947734A (en) * 2021-03-04 2021-06-11 山东英信计算机技术有限公司 Server power consumption control method, system, terminal and storage medium
CN112947734B (en) * 2021-03-04 2022-05-13 山东英信计算机技术有限公司 Server power consumption control method, system, terminal and storage medium
CN113553186A (en) * 2021-07-29 2021-10-26 深信服科技股份有限公司 Load balancing method, system, storage medium and electronic equipment
CN113688975A (en) * 2021-08-24 2021-11-23 北京市商汤科技开发有限公司 Training method, device, electronic device and storage medium for neural network
CN116431436A (en) * 2023-03-23 2023-07-14 北京神州安付科技股份有限公司 Energy consumption monitoring system and method based on cloud server crypto machine
CN117873714A (en) * 2023-12-27 2024-04-12 深圳博瑞晶芯科技有限公司 Processor over-frequency method, device, equipment and computer readable medium

Also Published As

Publication number Publication date
CN111625080B (en) 2022-03-08

Similar Documents

Publication Publication Date Title
CN111625080B (en) Server energy saving method and device, electronic equipment and storage medium
US8473768B2 (en) Power control apparatus and method for cluster system
CN104238712B (en) Distributed power conveying
US8583945B2 (en) Minimizing power consumption in computers
EP2399183B1 (en) Energy-aware server management
US10146289B2 (en) Power system utilizing processor core performance state control
TWI425422B (en) Multi-cpu domain mobile electronic device and operation method thereof
US7779276B2 (en) Power management in a power-constrained processing system
CN114710563B (en) Cluster energy saving method and device
US20160239343A1 (en) Multi-tenant monitoring
CN105868004B (en) Scheduling method and scheduling device of service system based on cloud computing
CN113688001B (en) Dynamic balancing method and device for power consumption of server hard disk, terminal and storage medium
CN103701889A (en) Data center energy saving method on basis of cloud computing
CN101661327A (en) Method for adjusting basic frequency of central processing unit (CPU) and device thereof
CN102208986A (en) Cluster power consumption distribution and control method
CN114327023B (en) Energy saving method, system, computer medium and electronic equipment of Kubernetes cluster
CN103488538A (en) Application extension device and application extension method in cloud computing system
CN105549723A (en) Electricity saving control method and device of server, and energy-saving control device of electronic equipment
WO2012001776A1 (en) Multicore system, method of scheduling and scheduling program
CN114003367B (en) Risk monitoring method, device, equipment and storage medium
CN107135123A (en) A kind of concocting method in the dynamic pond of RACK server resources
US11586264B2 (en) Allocation method, system and device for power consumption of complete machine box, and readable storage medium
CN118093169A (en) Consumption reduction control method, device, equipment, storage medium and computer program product
CN107197013A (en) One kind enhancing cloud computing environment energy conserving system
WO2016058149A1 (en) Method for predicting utilization rate of processor, processing apparatus and terminal device

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
CP03 Change of name, title or address

Address after: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province

Patentee after: Suzhou Yuannao Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province

Patentee before: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region before: China