CN108121638A - Server flattens platform power consumption optimization method and device - Google Patents
Server flattens platform power consumption optimization method and device Download PDFInfo
- Publication number
- CN108121638A CN108121638A CN201711394640.5A CN201711394640A CN108121638A CN 108121638 A CN108121638 A CN 108121638A CN 201711394640 A CN201711394640 A CN 201711394640A CN 108121638 A CN108121638 A CN 108121638A
- Authority
- CN
- China
- Prior art keywords
- power consumption
- cpu usage
- value
- upper limit
- cpu
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
- G06F11/3062—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/324—Power saving characterised by the action undertaken by lowering clock frequency
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Power Sources (AREA)
Abstract
The present invention provides a kind of server leveling platform power consumption optimization method and device.The described method includes:The Configuration Type of reading system;Corresponding CPU usage and the mapping table of power consumption are obtained according to the Configuration Type of the system;Read the value of the CPU usage of current steady;The power consumption upper limit is set according to the value of the CPU usage;The running frequency of CPU is adjusted according to the power consumption upper limit;Whether the value of monitoring CPU utilization rate is stablized;When the value of the CPU usage is unstable, the configured power consumption upper limit of release;After the value stabilization of the CPU usage, the power consumption upper limit corresponding to the value of current CPU usage is reset.The present invention can adjust the power consumption upper limit in real time in the case where ensureing server performance, realize the dynamic optimization of server energy consumption, so as to reduce the power consumption cost of server.
Description
Technical field
The present invention relates to server technology field more particularly to a kind of server leveling platform power consumption optimization methods and device.
Background technology
When disposing substantial amounts of server system, as caused by server energy consumption export of capital, operation power consumption and heat dissipation into
This total amount is very surprising.Current market sales of machine is mostly used by BMC (Baseboard
Management Controller, baseboard management controller) management of webpage interface the method for power consumption strategies is set to limit work(
Consumption, this method is that power consumption upper limit value is made a power consumption strategies by BMC, is passed to power consumption strategies by node manager order
ME (Management Engine, management engine), ME can save the power consumption strategies, when server energy consumption is excessively high, ME
The running frequency of CPU can be adjusted, and then limit the purpose of power consumption.
In the implementation of the present invention, inventor has found at least to have the following technical problems in the prior art:
After being provided at the management of webpage interface of BMC, the power consumption upper limit is just write extremely, when server stress is very big or very little
When, it will result in the limitation on server performance.In addition, under different service conditions, server operation maintenance personnel is needed to these work(
Consumption value is constantly adjusted, this undoubtedly causes certain operating pressure to operation maintenance personnel.
The content of the invention
Server leveling platform power consumption optimization method and device provided by the invention, can ensure the situation of server performance
The lower adjustment power consumption upper limit in real time realizes the dynamic optimization of server energy consumption, so as to reduce the power consumption cost of server.
In a first aspect, the present invention provides a kind of server leveling platform power consumption optimization method, the described method includes:
The Configuration Type of reading system;
Corresponding CPU usage and the mapping table of power consumption are obtained according to the Configuration Type of the system;
Read the value of the CPU usage of current steady;
The power consumption upper limit is set according to the value of the CPU usage;
The running frequency of CPU is adjusted according to the power consumption upper limit;
Whether the value of monitoring CPU utilization rate is stablized;
When the value of the CPU usage changes, the configured power consumption upper limit of release;
After the value stabilization of the CPU usage, reset in the power consumption corresponding to the value of current CPU usage
Limit.
Optionally, it is described according to the CPU usage power consumption upper limit to be set to include:
Inquire about CPU usage and power consumption relation corresponding table;
The corresponding power consumption upper limit of the value of current CPU usage is set according to the CPU usage and power consumption relation corresponding table
Put management engine.
Second aspect, the present invention provide a kind of server leveling platform optimised power consumption device, and described device includes:
First reading unit, for reading the Configuration Type of system;
Acquiring unit, for being obtained according to the Configuration Type of the system, corresponding CPU usage is corresponding with power consumption to close
It is table;
Second reading unit, for reading the value of the CPU usage of current steady;
First setting unit, for setting the power consumption upper limit according to the value of the CPU usage;
Adjustment unit, for being adjusted according to the power consumption upper limit to the running frequency of CPU;
Whether monitoring unit is stablized for the value of monitoring CPU utilization rate;
Releasing unit, for when the value of the CPU usage changes, discharging the configured power consumption upper limit;
Second setting unit, for after the value stabilization of the CPU usage, resetting current CPU usage
The corresponding power consumption upper limit of value.
Optionally, first setting unit includes:
Enquiry module, for inquiring about CPU usage and power consumption relation corresponding table;
Setup module, for power consumption relation corresponding table that the value of current CPU usage is corresponding according to the CPU usage
The power consumption upper limit set to management engine.
Server leveling platform power consumption optimization method and device provided in an embodiment of the present invention, are used by monitoring CPU in real time
The value of rate, after the value stabilization for treating CPU usage, inquiry CPU usage and current CPU usage in power consumption relation corresponding table
It is worth the corresponding power consumption upper limit, and the power consumption upper limit inquired is set among management engine, realizes that power consumption binds, work as discovery
When the value of CPU usage changes, the power consumption upper limit value set before is discharged, and it is right to reset current CPU usage institute
The power consumption upper limit answered.Compared with prior art, the present invention can protected by setting the power consumption upper limit according to the value of CPU usage
The power consumption upper limit is adjusted in real time in the case of card server performance, the dynamic optimization of server energy consumption is realized, so as to reduce server
Power consumption cost.
Description of the drawings
Fig. 1 is the flow chart that one embodiment of the invention server flattens platform power consumption optimization method;
Fig. 2 is the flow chart that another embodiment of the present invention server flattens platform power consumption optimization method;
Fig. 3 is the structure diagram that one embodiment of the invention server flattens platform optimised power consumption device.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
Only it is part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's all other embodiments obtained without making creative work, belong to the scope of protection of the invention.
The present invention provides a kind of server leveling platform power consumption optimization method, as shown in Figure 1, the described method includes:
S11, the Configuration Type for reading system;
S12, corresponding CPU usage and the mapping table of power consumption are obtained according to the Configuration Type of the system;
S13, read current steady CPU usage value;
S14, the power consumption upper limit is set according to the value of the CPU usage;
S15, the running frequency of CPU is adjusted according to the power consumption upper limit;
Whether S16, the value of monitoring CPU utilization rate are stablized;
S17, when the value of the CPU usage changes, the configured power consumption upper limit of release;
S18, after the value stabilization of the CPU usage, reset the power consumption corresponding to the value of current CPU usage
The upper limit.
Optionally, it is described according to the CPU usage power consumption upper limit to be set to include:
Inquire about CPU usage and power consumption relation corresponding table;
The corresponding power consumption number of the value of current CPU usage is set according to the CPU usage and power consumption relation corresponding table
To management engine.
The power consumption optimization method of server provided by the invention is by monitoring CUPS (the Compute Usage of CPU in real time
Per Second, calculating utilization rate per second) value, after CUPS value stabilizations, inquired about in CUPS and the relation table of power consumption current
The value of the corresponding power consumption upper limit of CUPS values, and the value of the power consumption upper limit inquired is set in the middle of ME, realize power consumption envelope
Top.If at this point, finding that CUPS values change, BMC can discharge the power consumption upper limit value set before, and reset current
The corresponding power consumption upper limit of CUPS values.
Since CUPS values caused by different platform and different type of machines are different from power consumption upper limit value correspondence, the present invention provides
The power consumption optimization method of server according to hardware configuration and the difference of machine models different CUPS and power consumption can be set to arrange
Table so that the present invention has very strong scalability.
As shown in Fig. 2, when machine behaves, user only needs to be determined system according to actual use situation
Which kind of type is configured to, according to the Configuration Type of system, obtains corresponding CUPS and power consumption list, after system boot, is read
The value of CUPS when CUPS stablizes, sets corresponding power consumption;When the value of CUPS changes, the power consumption set originally is discharged
Value treats that CUPS is stable and then resets the current power consumption upper limit according to CUPS and power consumption list.
Server provided in an embodiment of the present invention flattens platform power consumption optimization method, by monitoring the value of CPU usage in real time,
After the value stabilization for treating CPU usage, inquiry CPU usage is corresponding with the value of current CPU usage in power consumption relation corresponding table
The power consumption upper limit, and the power consumption upper limit inquired is set among management engine, realizing that power consumption binds, when finding that CPU uses
When the value of rate changes, the power consumption upper limit value set before is discharged, and resets the power consumption corresponding to current CPU usage
The upper limit.Compared with prior art, the present invention can ensure server by setting the power consumption upper limit according to the value of CPU usage
The power consumption upper limit is adjusted in the case of performance in real time, realizes the dynamic optimization of server energy consumption, reduces the power consumption cost of server.
The embodiment of the present invention also provides a kind of server leveling platform optimised power consumption device, as shown in figure 3, described device bag
It includes:
First reading unit 11, for reading the Configuration Type of system;
Acquiring unit 12, it is corresponding with power consumption for obtaining corresponding CPU usage according to the Configuration Type of the system
Relation table;
Second reading unit 13, for reading the value of the CPU usage of current steady;
First setting unit 14, for setting the power consumption upper limit according to the value of the CPU usage;
Adjustment unit 15, for being adjusted according to the power consumption upper limit to the running frequency of CPU;
Whether monitoring unit 16 is stablized for the value of monitoring CPU utilization rate;
Releasing unit 17, for when the value of the CPU usage changes, discharging the configured power consumption upper limit;
Second setting unit 18, for after the value stabilization of the CPU usage, resetting current CPU usage
Value corresponding to the power consumption upper limit.
Optionally, first setting unit 14 includes:
Enquiry module, for inquiring about CPU usage and power consumption relation corresponding table;
Setup module, for power consumption relation corresponding table that the value of current CPU usage is corresponding according to the CPU usage
Power consumption number set to management engine.
Server provided in an embodiment of the present invention flattens platform optimised power consumption device, by monitoring the value of CPU usage in real time,
After the value stabilization for treating CPU usage, inquiry CPU usage is corresponding with the value of current CPU usage in power consumption relation corresponding table
The power consumption upper limit, and the power consumption upper limit inquired is set among management engine, realizing that power consumption binds, when finding that CPU uses
When the value of rate changes, the power consumption upper limit value set before is discharged, and resets the power consumption corresponding to current CPU usage
The upper limit.Compared with prior art, the present invention can ensure server by setting the power consumption upper limit according to the value of CPU usage
The power consumption upper limit is adjusted in the case of performance in real time, realizes the dynamic optimization of server energy consumption, so as to reduce the power consumption of server into
This.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored among BMC.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, all should by the change or replacement that can be readily occurred in
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (4)
1. a kind of server flattens platform power consumption optimization method, which is characterized in that the described method includes:
The Configuration Type of reading system;
Corresponding CPU usage and the mapping table of power consumption are obtained according to the Configuration Type of the system;
Read the value of the CPU usage of current steady;
The power consumption upper limit is set according to the value of the CPU usage;
The running frequency of CPU is adjusted according to the power consumption upper limit;
Whether the value of monitoring CPU utilization rate is stablized;
When the value of the CPU usage changes, the configured power consumption upper limit of release;
After the value stabilization of the CPU usage, the power consumption upper limit corresponding to the value of current CPU usage is reset.
2. according to the method described in claim 1, it is characterized in that, described set power consumption upper limit bag according to the CPU usage
It includes:
Inquire about CPU usage and power consumption relation corresponding table;
The corresponding power consumption upper limit setting of the value of current CPU usage is arrived according to the CPU usage and power consumption relation corresponding table
Management engine.
3. a kind of server flattens platform optimised power consumption device, which is characterized in that described device includes:
First reading unit, for reading the Configuration Type of system;
Acquiring unit, for obtaining corresponding CPU usage and the mapping table of power consumption according to the Configuration Type of the system;
Second reading unit, for reading the value of the CPU usage of current steady;
First setting unit, for setting the power consumption upper limit according to the value of the CPU usage;
Adjustment unit, for being adjusted according to the power consumption upper limit to the running frequency of CPU;
Whether monitoring unit is stablized for the value of monitoring CPU utilization rate;
Releasing unit, for when the value of the CPU usage changes, discharging the configured power consumption upper limit;
Second setting unit, for after the value stabilization of the CPU usage, resetting the value institute of current CPU usage
The corresponding power consumption upper limit.
4. device according to claim 3, which is characterized in that the setting unit includes:
Enquiry module, for inquiring about CPU usage and power consumption relation corresponding table;
Setup module, for according to the CPU usage and power consumption relation corresponding table by the corresponding work(of the value of current CPU usage
Upper limit value is consumed to set to management engine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711394640.5A CN108121638A (en) | 2017-12-21 | 2017-12-21 | Server flattens platform power consumption optimization method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711394640.5A CN108121638A (en) | 2017-12-21 | 2017-12-21 | Server flattens platform power consumption optimization method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108121638A true CN108121638A (en) | 2018-06-05 |
Family
ID=62230927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711394640.5A Pending CN108121638A (en) | 2017-12-21 | 2017-12-21 | Server flattens platform power consumption optimization method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108121638A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108415551A (en) * | 2018-03-25 | 2018-08-17 | 东莞市华睿电子科技有限公司 | A kind of detection process method of application program power consumption exception |
CN109189636A (en) * | 2018-08-08 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of batch monitoring CPU state and the method and system for limiting CPU power consumption |
CN109298774A (en) * | 2018-09-30 | 2019-02-01 | 联想(北京)有限公司 | A kind of method of adjustment and device |
CN111949478A (en) * | 2020-07-28 | 2020-11-17 | 山东英信计算机技术有限公司 | Method and system for controlling upper limit of power consumption of server and related components |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477402A (en) * | 2009-01-12 | 2009-07-08 | 浪潮电子信息产业股份有限公司 | Server system with system energy consumption controlled by policy |
CN101661327A (en) * | 2009-10-14 | 2010-03-03 | 中兴通讯股份有限公司 | Method for adjusting basic frequency of central processing unit (CPU) and device thereof |
US20130318371A1 (en) * | 2012-05-22 | 2013-11-28 | Robert W. Hormuth | Systems and methods for dynamic power allocation in an information handling system environment |
CN103926994A (en) * | 2014-04-04 | 2014-07-16 | 浪潮电子信息产业股份有限公司 | ME based dynamic server energy consumption management and correction method |
CN104182030A (en) * | 2014-09-01 | 2014-12-03 | 浪潮电子信息产业股份有限公司 | Server energy saving strategy method and system based on business usage amount |
CN105045648A (en) * | 2015-05-08 | 2015-11-11 | 北京航空航天大学 | Physical host resource state forecasting method under IaaS cloud environment |
-
2017
- 2017-12-21 CN CN201711394640.5A patent/CN108121638A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477402A (en) * | 2009-01-12 | 2009-07-08 | 浪潮电子信息产业股份有限公司 | Server system with system energy consumption controlled by policy |
CN101661327A (en) * | 2009-10-14 | 2010-03-03 | 中兴通讯股份有限公司 | Method for adjusting basic frequency of central processing unit (CPU) and device thereof |
US20130318371A1 (en) * | 2012-05-22 | 2013-11-28 | Robert W. Hormuth | Systems and methods for dynamic power allocation in an information handling system environment |
CN103926994A (en) * | 2014-04-04 | 2014-07-16 | 浪潮电子信息产业股份有限公司 | ME based dynamic server energy consumption management and correction method |
CN104182030A (en) * | 2014-09-01 | 2014-12-03 | 浪潮电子信息产业股份有限公司 | Server energy saving strategy method and system based on business usage amount |
CN105045648A (en) * | 2015-05-08 | 2015-11-11 | 北京航空航天大学 | Physical host resource state forecasting method under IaaS cloud environment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108415551A (en) * | 2018-03-25 | 2018-08-17 | 东莞市华睿电子科技有限公司 | A kind of detection process method of application program power consumption exception |
CN109189636A (en) * | 2018-08-08 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of batch monitoring CPU state and the method and system for limiting CPU power consumption |
CN109298774A (en) * | 2018-09-30 | 2019-02-01 | 联想(北京)有限公司 | A kind of method of adjustment and device |
CN109298774B (en) * | 2018-09-30 | 2022-05-31 | 联想(北京)有限公司 | Adjusting method and device |
CN111949478A (en) * | 2020-07-28 | 2020-11-17 | 山东英信计算机技术有限公司 | Method and system for controlling upper limit of power consumption of server and related components |
CN111949478B (en) * | 2020-07-28 | 2022-03-22 | 山东英信计算机技术有限公司 | Method and system for controlling upper limit of power consumption of server and related components |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108121638A (en) | Server flattens platform power consumption optimization method and device | |
US9568975B2 (en) | Power balancing to increase workload density and improve energy efficiency | |
US9201486B2 (en) | Large scale dynamic power budget adjustments for optimizing power utilization in a data center | |
US9632835B2 (en) | Deployment of virtual machines to physical host machines based on infrastructure utilization decisions | |
WO2018149221A1 (en) | Device management method and network management system | |
US8065541B2 (en) | Server power consumption controller, and method and computer program for controlling server power consumption | |
US9336106B2 (en) | Dynamically limiting bios post for effective power management | |
WO2015101309A1 (en) | Distributed flow control | |
CN105450716B (en) | Dynamic service distribution method and system | |
CN104836819A (en) | Dynamic load balancing method and system, and monitoring and dispatching device | |
JP2010517142A5 (en) | ||
CN104142860A (en) | Resource adjusting method and device of application service system | |
CN103957237A (en) | Architecture of elastic cloud | |
CN105183561A (en) | Resource distribution method and resource distribution system | |
US9525727B2 (en) | Efficient and scalable pull-based load distribution | |
TWI507988B (en) | Server and method for allocating cpe to update firmware | |
CN104601680A (en) | Resource management method and device | |
TW201409357A (en) | System and method for balancing load of virtual machine | |
CN103516547A (en) | Network parameter distribution method and device | |
CN109388488A (en) | Power allocation in computer system | |
EP3430492A1 (en) | Balancing a power load among usb ports | |
US11625263B2 (en) | Systems and methods for improved management of virtual machine clusters | |
US20170308137A1 (en) | System and method for rack over provisioning and intelligent power management | |
CN102789388B (en) | In MIPS IA frame serverPC, the method and system of network interface card function are increased based on BMC | |
CN107534678B (en) | Method, device and system for establishing connection between VNFM and VIM |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180605 |
|
RJ01 | Rejection of invention patent application after publication |