CN109062618A - A kind of server single node power consumption binds development approach, system and the medium of firmware - Google Patents
A kind of server single node power consumption binds development approach, system and the medium of firmware Download PDFInfo
- Publication number
- CN109062618A CN109062618A CN201810696922.9A CN201810696922A CN109062618A CN 109062618 A CN109062618 A CN 109062618A CN 201810696922 A CN201810696922 A CN 201810696922A CN 109062618 A CN109062618 A CN 109062618A
- Authority
- CN
- China
- Prior art keywords
- power consumption
- bmc
- node power
- binds
- firmware
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
- Power Sources (AREA)
Abstract
A kind of server single node power consumption provided by the invention binds the development approach of firmware, the current power consumption information of respective node is obtained after powering on using BMC, node power consumption value is sent to ME by I2C, and it sets ME and binds the scheme of foundation using this value as power consumption, it solves accurately set the power consumption of individual node described in the prior art, it be easy to cause node power consumption to bind the unconspicuous technical problem of effect, realize that maintenance personnel or user can go setting power consumption to bind function without influencing other nodes for individual node, improve server maintenance efficiency, enhance the technical effect of the stability of server.
Description
Technical field
The present invention relates to server power supply field, bind firmware in particular to a kind of server single node power consumption
Development approach, system and medium.
Background technique
The mode that centrally connected power supply can all be used above the server of mainstream at present is gone to multiple nodes in the same cabinet
It is powered, can generally use power consumption capping technology to be protected to power supply, the power consumption scheme that binds all is in existing situation
It is set for the power supply of complete machine case power supply, what ME can only bind according to the power consumption information read from power supply as power consumption
Foundation.In this case due to that can not take the power consumption information of individual node, the foundation that power consumption binds is not the power consumption of single node
Value, therefore power consumption accurately can not be carried out to individual node and bound.It is unfavorable for user or maintenance personnel goes setting power consumption to bind function,
It is easy to produce the situation of server settings mistake.
The shortcomings that current this method, is it is obvious that when needing to set single node function in the cabinet server of multiple nodes composition
When binding, research staff can not accurately set the power consumption of individual node consumption, and node power consumption is be easy to cause to bind effect
It is unobvious.
Summary of the invention
The present invention provides the development approach that a kind of server single node power consumption binds firmware, obtains after being powered on using BMC each
From the current power consumption information of node, node power consumption value is sent to ME by I2C, and sets ME and binds using this value as power consumption
The scheme of foundation solves accurately set the power consumption of individual node described in the prior art, be easy to cause node
Power consumption binds the unconspicuous technical problem of effect.
This server single node power consumption that the present invention provides to solve above-mentioned technical problem binds the exploitation side of firmware
Method, comprising the following steps:
A. server is powered, and is switched on, BMC starting;
B. the BMC obtains main board power supply module chip information;
C. judge whether the BMC successfully reads the main board power supply module chip information and carry out step if read successfully
E carries out step B if reading is unsuccessful;
E. the main board power supply module chip information of reading is converted to node power consumption value by the BMC;
F. the BMC transmits the node power consumption value to ME and sets power consumption and bind according to strategy;
G. judge that the power consumption binds according to whether strategy is arranged success, if be arranged successfully, carry out step I, if setting
It is unsuccessful, then carry out step F;
I. the node power consumption setting function is completed.
Wherein, it is connected between BMC described in the step B and the main board power supply mould group power supply chip with I2C.
Wherein, BMC described in the step F sends present node power consumption to the ME by I2C.
Wherein, BMC described in the F uses the node power consumption value as this by the I2C to ME configuration
The foundation parameter value that node power consumption binds.
Wherein, the BMC is stored in BMC Flash, can be called after mainboard energization.
It binds the development system of firmware the present invention also provides a kind of server single node power consumption, it is characterised in that: the clothes
The bind development system of firmware of business device single node power consumption includes memory, processor and the calculating being stored on the memory
Machine program, the computer program are configured to the step of realizing described in any item methods when being called by the processor.
In addition, the present invention also provides a kind of computer readable storage mediums, it is characterised in that: the computer-readable storage
Media storage has computer program, and the computer program realizes described in any item methods when being configured to be called by processor
Step.
This server single node power consumption provided by the invention bind firmware development approach for traditional design scheme
In there are apparent problems and disadvantages, improved and optimized;Following functions and advantage are realized by software control:
1. the BMC for powering on rear each node is initialized;
2. increasing the power supply power supply module chip of node in motherboard hardware design, and BMC is connected to by I2C;
3. the power consumption number that each node BMC reads the power supply power supply module chip acquisition of information node;
4.BMC sends present node power consumption number to ME by I2C, concurrently sets ME according to node power consumption value to realize that power consumption is sealed
Push up function.
The bind development approach of firmware of this server single node power consumption provided by the invention has the advantages that and adopts
With this method in the present invention, maintenance personnel or user can go setting power consumption to bind function without influencing for individual node
Other nodes improve server maintenance efficiency, enhance the stability of server.
Detailed description of the invention
Fig. 1 is that server single node power consumption of the present invention binds the development approach schematic diagram of firmware.
Fig. 2 is the structural schematic diagram of BMC of the present invention.
Specific embodiment
In conjunction with above-mentioned Detailed description of the invention specific embodiments of the present invention.
As shown in Figure 1, the present invention provides the development approach that a kind of server single node power consumption binds firmware, including following step
It is rapid:
A. server is powered, and is switched on, BMC starting;
B. the BMC obtains main board power supply module chip information;
C. judge whether the BMC successfully reads the main board power supply module chip information and carry out step if read successfully
E carries out step B if reading is unsuccessful;
E. the main board power supply module chip information of reading is converted to node power consumption value by the BMC;
F. the BMC transmits the node power consumption value to ME and sets power consumption and bind according to strategy;
G. judge that the power consumption binds according to whether strategy is arranged success, if be arranged successfully, carry out step I, if setting
It is unsuccessful, then carry out step F;
I. the node power consumption setting function is completed.
Wherein, it is connected between BMC described in the step B and the main board power supply mould group power supply chip with I2C.
Wherein, BMC described in the step F sends present node power consumption to the ME by I2C.
Wherein, BMC described in the F uses the node power consumption value as this by the I2C to ME configuration
The foundation parameter value that node power consumption binds.
Wherein, the BMC is stored in BMC Flash, can be called after mainboard energization.
It binds the development system of firmware the present invention also provides a kind of server single node power consumption, it is characterised in that: the clothes
The bind development system of firmware of business device single node power consumption includes memory, processor and the calculating being stored on the memory
Machine program, the computer program are configured to the step of realizing described in any item methods when being called by the processor.
In addition, the present invention also provides a kind of computer readable storage mediums, it is characterised in that: the computer-readable storage
Media storage has computer program, and the computer program realizes described in any item methods when being configured to be called by processor
Step.
As shown in Figure 1, this method provided by the invention by after electricity operation on the BMC described in being connected on hardware
The information of power supply module chip reads and calculates node power consumption value, and the BMC is sent to node power consumption value by the I2C
The ME, and the foundation parameter value to be bound using node power consumption value as power consumption is configured to the ME by the I2C.
Method of the present invention depends on the functional module of the BMC program, is stored in the BMC Flash,
Mainboard can be called after powering on, and the BMC has the process of an initialization;
As shown in Figure 2, wherein the functional module is described in detail below:
The operation firstly, BMC is powered;Secondly, the power consumption number of present node is obtained by way of bottom layer driving code programming,
And setting node power consumption value is carried out to the ME by the I2C and setting is bound tactful foundation;It is provided by the invention this
Method may be implemented to avoid the problem that accurately accomplishing single node power consumption summit function.
Wherein, between the BMC and the power supply mould group power supply chip with the I2C connection, it is arranged in the BMC
I2C is stated, the I2C is connected respectively at node power supply module chip with the ME.
This server single node power consumption provided by the invention binds the development approach of firmware, is formed based on multiple nodes
Server in BMC described in each node be powered and obtain the current power consumption information of respective node after operation, the node power consumption
Value sends the ME to by the I2C, and sets the foundation that the ME binds this value as power consumption, such maintenance personnel
Or user can go setting power consumption to bind function without influencing other nodes for individual node, improve server maintenance efficiency,
Enhance the stability of server.
Explanation of nouns
BMC: baseboard management controller (Baseboard Management Controller).It is generally built on mainboard, supports
The IPMI of professional standard is standardized.BMC provide function include: local and remote diagnosis, console support, configuration management, firmly
Part management and troubleshooting.Need both threads that can transmit information between the device being connected in bus.Main device is for opening
Dynamic bus transmissioning data, and clock is generated with the device of open transmission, the device being addressed any at this time is regarded as from device
It is not constant that part, which is advocated peace in bus from, hair and the relationship received, and depends on data transmission direction at this time.If host is wanted
It sends data to from device, then host is addressed first from device, and then active transmission data are finally terminated by host to from device
Data transmission;If host will receive the data from device, is addressed by main device from device and then host receive from device first
The data of transmission, finally terminate receive process by host.Host is responsible for generating timer clock and terminates data in this case
Transmission.
ME:Intel ME is one independently of x86 CPU, and a frame of BIOS/UEFI firmware, this frame is divided into firmly
Two parts of part and software, hardware components respectively correspond ARC4/5, SPARC and x86 (=> MEv11) according to ME version difference
Processor, and the part of software is then to be packaged in flash with BIOS, GBE and other firmware modules, ME this
The application that many bottoms can be run under frame (and independent minicomputer), including forever in operating status long-range
Management tool packet AMT (Advanced Mgt Technology) is ME first application based on ME framework, and there are also works
For ME realize TPM:PTT, for remote attestion trust chain EPIDhe Boot Guard, PAVP (
Protected Audio and Video Path) and SGX.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
Present invention specific implementation is only limited to these instructions, for those of ordinary skill in the art to which the present invention belongs, not
Under the premise of being detached from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to the protection of invention
Range.
Claims (7)
- The development approach of firmware 1. a kind of server single node power consumption binds, it is characterised in that: method includes the following steps:A. server is powered, and is switched on, BMC starting;B. the BMC obtains main board power supply module chip information;C. judge whether the BMC successfully reads the main board power supply module chip information and carry out step if read successfully E carries out step B if reading is unsuccessful;E. the main board power supply module chip information of reading is converted to node power consumption value by the BMC;F. the BMC transmits the node power consumption value to ME and sets power consumption and bind according to strategy;G. judge that the power consumption binds according to whether strategy is arranged success, if be arranged successfully, carry out step I, if setting It is unsuccessful, then carry out step F;I. the node power consumption setting function is completed.
- The development approach of firmware 2. server single node power consumption according to claim 1 binds, it is characterised in that: the step It is connected between BMC and the main board power supply mould group power supply chip with I2C described in rapid B.
- The development approach of firmware 3. server single node power consumption according to claim 1 binds, it is characterised in that: the step BMC described in rapid F sends present node power consumption to the ME by I2C.
- The development approach of firmware 4. server single node power consumption according to claim 3 binds, it is characterised in that: the F Described in BMC the foundation that is bound using the node power consumption value as this node power consumption configured to the ME by the I2C Parameter value.
- The development approach of firmware 5. server single node power consumption according to claim 1 binds, it is characterised in that: described BMC is stored in BMC Flash, can be called after mainboard energization.
- A kind of development system of firmware 6. server single node power consumption binds, it is characterised in that: the server single node power consumption The development system of firmware of binding includes memory, processor and the computer program being stored on the memory, the meter Calculation machine program is configured to the step of realizing method of any of claims 1-5 when being called by the processor.
- 7. a kind of computer readable storage medium, it is characterised in that: the computer-readable recording medium storage has computer journey The step of sequence, the computer program realizes method of any of claims 1-5 when being configured to be called by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810696922.9A CN109062618B (en) | 2018-06-29 | 2018-06-29 | Development method, system and medium for server single-node power consumption capping firmware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810696922.9A CN109062618B (en) | 2018-06-29 | 2018-06-29 | Development method, system and medium for server single-node power consumption capping firmware |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109062618A true CN109062618A (en) | 2018-12-21 |
CN109062618B CN109062618B (en) | 2022-01-11 |
Family
ID=64818439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810696922.9A Active CN109062618B (en) | 2018-06-29 | 2018-06-29 | Development method, system and medium for server single-node power consumption capping firmware |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109062618B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111913802A (en) * | 2020-07-17 | 2020-11-10 | 烽火通信科技股份有限公司 | Multi-node server power consumption control method and system |
CN112084089A (en) * | 2020-09-04 | 2020-12-15 | 山东英信计算机技术有限公司 | Method, device and equipment for determining upper limit of power consumption of data center node and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624546A (en) * | 2012-02-28 | 2012-08-01 | 华为技术有限公司 | Control method, control equipment and control system for capping power consumption |
CN102916835A (en) * | 2012-10-18 | 2013-02-06 | 华为技术有限公司 | Method and device for regulating power consumption of equipments |
US20130054985A1 (en) * | 2011-08-23 | 2013-02-28 | International Business Machines Corporation | Branch Circuit Power Measurement and Dynamic Power Distribution |
US20130111478A1 (en) * | 2010-11-02 | 2013-05-02 | International Business Machines Corporation | Unified resource manager providing a single point of control |
US20140298349A1 (en) * | 2008-04-21 | 2014-10-02 | Adaptive Computing Enterprises, Inc. | System and Method for Managing Energy Consumption in a Compute Environment |
CN107783882A (en) * | 2017-09-14 | 2018-03-09 | 华为技术有限公司 | A kind of server energy consumption management method and equipment |
CN108092813A (en) * | 2017-12-21 | 2018-05-29 | 郑州云海信息技术有限公司 | Data center's total management system server hardware Governance framework and implementation method |
-
2018
- 2018-06-29 CN CN201810696922.9A patent/CN109062618B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140298349A1 (en) * | 2008-04-21 | 2014-10-02 | Adaptive Computing Enterprises, Inc. | System and Method for Managing Energy Consumption in a Compute Environment |
US20130111478A1 (en) * | 2010-11-02 | 2013-05-02 | International Business Machines Corporation | Unified resource manager providing a single point of control |
US20130054985A1 (en) * | 2011-08-23 | 2013-02-28 | International Business Machines Corporation | Branch Circuit Power Measurement and Dynamic Power Distribution |
CN102624546A (en) * | 2012-02-28 | 2012-08-01 | 华为技术有限公司 | Control method, control equipment and control system for capping power consumption |
CN102916835A (en) * | 2012-10-18 | 2013-02-06 | 华为技术有限公司 | Method and device for regulating power consumption of equipments |
CN107783882A (en) * | 2017-09-14 | 2018-03-09 | 华为技术有限公司 | A kind of server energy consumption management method and equipment |
CN108092813A (en) * | 2017-12-21 | 2018-05-29 | 郑州云海信息技术有限公司 | Data center's total management system server hardware Governance framework and implementation method |
Non-Patent Citations (2)
Title |
---|
XIAOXUE HU.ETC: ""Efficient Power Allocation under Global Power Cap and Application-Level Power Budget"", 《2016 7TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND BIG DATA (CCBD)》 * |
邱晓杰: ""功耗受限情况下多核处理器能效优化技术"", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111913802A (en) * | 2020-07-17 | 2020-11-10 | 烽火通信科技股份有限公司 | Multi-node server power consumption control method and system |
CN111913802B (en) * | 2020-07-17 | 2022-09-30 | 烽火通信科技股份有限公司 | Multi-node server power consumption control method and system |
CN112084089A (en) * | 2020-09-04 | 2020-12-15 | 山东英信计算机技术有限公司 | Method, device and equipment for determining upper limit of power consumption of data center node and storage medium |
CN112084089B (en) * | 2020-09-04 | 2022-07-08 | 山东英信计算机技术有限公司 | Method, device and equipment for determining upper limit of power consumption of data center node and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109062618B (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11416397B2 (en) | Global persistent flush | |
US20190068466A1 (en) | Technologies for auto-discovery of fault domains | |
US10509456B2 (en) | Server rack power management | |
US11907035B2 (en) | Sideband signaling over existing auxiliary pins of an interface | |
US20160080210A1 (en) | High density serial over lan managment system | |
CN104063290A (en) | Systems, Methods, And Apparatuses For Handling Timeouts | |
CN105718408A (en) | Hot-pluggable computing system, computer-implemented method and system | |
CN103473141A (en) | Method for out-of-band check and modification of BIOS (basic input/output system) setting options | |
US9898435B2 (en) | Aggregate baseboard management controller (BMC) controller | |
CN105955910B (en) | A kind of time service method towards high-density server system of soaring | |
CN101706748B (en) | Logging method, system and single board management controller | |
CN205139890U (en) | Two memory system that live of two accuses based on X86 framework | |
CN102983989B (en) | Removing method, device and equipment of server virtual address | |
CN109062618A (en) | A kind of server single node power consumption binds development approach, system and the medium of firmware | |
CN103034812A (en) | Compatible method, equipment of credible chip and usage method for equipment | |
US9092334B2 (en) | Method for shortening enumeration of tightly coupled USB device | |
US20170155579A1 (en) | Centralized server switch management | |
US20140189173A1 (en) | Network Efficiency and Power Savings | |
CN105247498A (en) | Generic host-based controller latency method and apparatus | |
CN105051692A (en) | Automated failure handling through isolation | |
WO2014201917A1 (en) | Miniaturized calculation and storage merged system | |
CN116702149A (en) | Trusted measurement method, server and chip | |
US20090276615A1 (en) | Servo device auto-booted upon power supply recovery and method thereof | |
CN105634635A (en) | Real-time clock (RTC) sharing method, device and system | |
US20170091133A1 (en) | Universal sleds server architecture |
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 |