CN109062618B - Development method, system and medium for server single-node power consumption capping firmware - Google Patents
Development method, system and medium for server single-node power consumption capping firmware Download PDFInfo
- Publication number
- CN109062618B CN109062618B CN201810696922.9A CN201810696922A CN109062618B CN 109062618 B CN109062618 B CN 109062618B CN 201810696922 A CN201810696922 A CN 201810696922A CN 109062618 B CN109062618 B CN 109062618B
- Authority
- CN
- China
- Prior art keywords
- power consumption
- bmc
- node
- capping
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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)
- Power Sources (AREA)
- Information Transfer Between Computers (AREA)
Abstract
According to the development method of the single-node power consumption capping firmware of the server, the current power consumption information of each node is obtained after the BMC is electrified, the node power consumption value is transmitted to the ME through I2C, and the ME is set to use the value as the power consumption capping basis, so that the technical problem that the power consumption capping effect of the node is not obvious easily because the power consumption of the single node cannot be accurately set in the prior art is solved, a maintenance worker or a user can set the power consumption capping function of the single node without influencing other nodes, the maintenance efficiency of the server is improved, and the technical effect of enhancing the stability of the server is achieved.
Description
Technical Field
The invention relates to the field of server power supplies, in particular to a development method, a development system and a development medium of a single-node power consumption capping firmware of a server.
Background
At present, a centralized power supply mode is used for supplying power to a plurality of nodes in the same computer case, a power consumption capping technology is generally used for protecting a power supply, a power consumption capping scheme is set for the power supply of the whole computer case under the existing condition, and ME can only serve as the basis of power consumption capping according to power consumption information read from the power supply. In this case, since the power consumption information of the single node cannot be obtained, the basis of the power consumption capping is not the power consumption value of the single node, and thus the power consumption capping cannot be accurately performed on the single node. The situation that a user or a maintenance person sets the power consumption capping function is not facilitated, and server setting errors are easy to occur.
The method has the obvious defects that when the power consumption capping of a single node needs to be set in a chassis server consisting of a plurality of nodes, research personnel cannot accurately set the power consumption of the single node, and the power consumption capping effect of the node is not obvious easily.
Disclosure of Invention
The invention provides a development method of a single-node power consumption capping firmware of a server, which adopts the scheme that after a BMC is electrified, the current power consumption information of each node is obtained, the power consumption value of the node is transmitted to an ME through I2C, and the ME is set to use the value as the power consumption capping basis, thereby solving the technical problem that the power consumption of a single node cannot be accurately set in the prior art, and the node power consumption capping effect is easily unobvious.
The invention provides a development method of a single-node power consumption capping firmware of a server for solving the technical problems, which comprises the following steps:
A. powering on the server, starting up the server, and starting up the BMC;
B. the BMC acquires chip information of a mainboard power supply module;
C. judging whether the BMC successfully reads the chip information of the mainboard power supply module, if so, performing the step E, and if not, performing the step B;
E. the BMC converts the read chip information of the mainboard power supply module into a node power consumption value;
F. the BMC transmits the node power consumption value to the ME and sets a power consumption capping basis strategy;
G. judging whether the power consumption capping is successfully set according to the strategy or not, if so, performing the step I, and if not, performing the step F;
I. and completing the power consumption setting function of the node.
And in the step B, the BMC is connected with the power supply chip of the mainboard power supply module by using I2C.
And in the step F, the BMC sends the current node power consumption to the ME through I2C.
Wherein, the BMC in F configures the ME with the node power consumption value through the I2C as a parameter value according to which the node power consumption is capped.
The BMC is stored in the BMC Flash and can be called after the mainboard is powered on.
The invention also provides a development system of the server single-node power consumption capping firmware, which is characterized by comprising a memory, a processor and a computer program stored on the memory, wherein the computer program is configured to realize the steps of any one of the methods when the computer program is called by the processor.
The invention also provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program configured to implement the steps of any of the methods described when invoked by a processor.
The development method of the server single-node power consumption capping firmware provided by the invention is used for improving and optimizing the problems and the defects existing in the traditional design scheme; the following functions and advantages are realized through software control:
1. initializing the BMC of each node after power-on;
2. a power supply module chip of a node is added on the design of the hardware of the mainboard and is connected to the BMC through I2C;
3. each node BMC reads power supply module chip information to obtain a power consumption value of the node;
and 4, the BMC sends the current node power consumption value to the ME through the I2C, and simultaneously sets the ME to realize the power consumption capping function only according to the node power consumption value.
The development method of the server single-node power consumption capping firmware provided by the invention has the following beneficial effects: by adopting the method, maintainers or users can set the power consumption capping function for a single node without influencing other nodes, thereby improving the maintenance efficiency of the server and enhancing the stability of the server.
Drawings
Fig. 1 is a schematic diagram of a development method of a single-node power consumption capping firmware of a server according to the present invention.
FIG. 2 is a schematic diagram of the BMC of the present invention.
Detailed Description
Specific embodiments of the present invention are described with reference to the above drawings.
As shown in fig. 1, the present invention provides a method for developing a power consumption capping firmware for a single node of a server, comprising the following steps:
A. powering on the server, starting up the server, and starting up the BMC;
B. the BMC acquires chip information of a mainboard power supply module;
C. judging whether the BMC successfully reads the chip information of the mainboard power supply module, if so, performing the step E, and if not, performing the step B;
E. the BMC converts the read chip information of the mainboard power supply module into a node power consumption value;
F. the BMC transmits the node power consumption value to the ME and sets a power consumption capping basis strategy;
G. judging whether the power consumption capping is successfully set according to the strategy or not, if so, performing the step I, and if not, performing the step F;
I. and completing the power consumption setting function of the node.
And in the step B, the BMC is connected with the power supply chip of the mainboard power supply module by using I2C.
And in the step F, the BMC sends the current node power consumption to the ME through I2C.
Wherein, the BMC in F configures the ME with the node power consumption value through the I2C as a parameter value according to which the node power consumption is capped.
The BMC is stored in the BMC Flash and can be called after the mainboard is powered on.
The invention also provides a development system of the server single-node power consumption capping firmware, which is characterized by comprising a memory, a processor and a computer program stored on the memory, wherein the computer program is configured to realize the steps of any one of the methods when the computer program is called by the processor.
The invention also provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program configured to implement the steps of any of the methods described when invoked by a processor.
As shown in fig. 1, in the method provided by the present invention, after the BMC is powered on and operates, information of the power module chip connected to hardware is read out and a node power consumption value is calculated, the BMC sends the node power consumption value to the ME through I2C, and the ME is configured with a parameter value according to which the node power consumption value is used as a power consumption capping through I2C.
The method of the invention depends on the function module of the BMC program, is stored in the BMC Flash, can be called after the mainboard is electrified, and the BMC has an initialization process;
as shown in fig. 2, the functional modules are specifically described as follows:
firstly, the BMC is powered on to run; secondly, acquiring a power consumption value of a current node in a bottom layer drive code programming mode, and setting a node power consumption value and a capping strategy basis for the ME through the I2C; the method provided by the invention can avoid the problem that the power consumption peak-top function of the single node cannot be accurately realized.
The BMC is connected with the power supply module power chip through the I2C, the I2C is arranged in the BMC, and the I2C is respectively connected with the ME and the node power supply module chip.
The development method of the single-node power consumption capping firmware of the server is based on the fact that current power consumption information of each node is obtained after the BMC is electrified to operate in the server composed of a plurality of nodes, the power consumption value of the node is transmitted to the ME through the I2C, and the ME is set to use the value as the basis of power consumption capping, so that maintenance personnel or users can set the power consumption capping function for the single node without influencing other nodes, the maintenance efficiency of the server is improved, and the stability of the server is enhanced.
Noun interpretation
BMC: a board Management Controller (Baseboard Management Controller). The IPMI standard is built in a mainboard and supports the IPMI standard of the industry standard. The functions provided by the BMC include: local and remote diagnostics, console support, configuration management, hardware management, and troubleshooting.
I2C: the I2C bus is a simple, bi-directional two-wire synchronous serial bus developed by Philips. It requires only two wires to transfer information between devices connected to the bus. The master device is used to initiate the bus to transfer data and to generate a clock to open up the devices that are transferring, when any addressed device is considered a slave device. If the host wants to send data to the slave device, the host addresses the slave device first, then actively sends the data to the slave device, and finally the host terminates the data transmission; the master device addresses the slave device first if the master device is to receive data from the slave device. The host is responsible for generating the timing clock and terminating the data transfer.
ME: intel ME is a framework independent of firmware x86 CPU, BIOS/UEFI, and is divided into two parts, namely hardware and software, the hardware part corresponds to processors of ARC4/5, SPARC and x86(= MEv11) respectively according to the ME version, and the software part is packaged with BIOS, GBE and other firmware modules in flash, and a plurality of bottom-layer applications can be run under the framework of ME (and an independent small computer), including AMT (advanced Mgt technology) which is the first ME-based application in a running state, and now there are also PTT implemented as ME, EPIDhe Boot Guard of trust chain for remote authentication, PAVP (protected Audio and Video Path) and SGX.
While the invention has been described in detail with reference to specific preferred embodiments thereof, it will be understood by those skilled in the art that the present invention is not limited to the details of the foregoing description, but is capable of various modifications and changes without departing from the spirit of the invention.
Claims (3)
1. A development method of a server single-node power consumption capping firmware is characterized by comprising the following steps: the method comprises the following steps:
A. powering on the server, starting up the server, and starting up the BMC; the BMC is stored in the BMC Flash and can be called after the mainboard is powered on;
B. the BMC acquires chip information of a mainboard power supply module; the BMC is connected with the power supply chip of the mainboard power supply module by I2C;
C. judging whether the BMC successfully reads the chip information of the mainboard power supply module, if so, performing the step E, and if not, performing the step B;
E. the BMC converts the read chip information of the mainboard power supply module into a node power consumption value;
F. the BMC transmits the node power consumption value to the ME and sets a power consumption capping basis strategy; the BMC sends current node power consumption to the ME through I2C; the BMC configures the ME to use the node power consumption value as a parameter value according to the node power consumption cap through the I2C;
G. judging whether the power consumption capping is successfully set according to the strategy or not, if so, performing the step I, and if not, performing the step F;
I. and completing the power consumption setting function of the node.
2. A system for developing server single node power consumption capping firmware, comprising a memory, a processor, and a computer program stored on the memory, the computer program configured to perform the steps of the method of claim 1 when invoked by the processor.
3. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program configured to, when invoked by a processor, implement the steps of the method of claim 1.
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 CN109062618A (en) | 2018-12-21 |
CN109062618B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111913802B (en) * | 2020-07-17 | 2022-09-30 | 烽火通信科技股份有限公司 | Multi-node server power consumption control method and system |
CN112084089B (en) * | 2020-09-04 | 2022-07-08 | 山东英信计算机技术有限公司 | Method, device, device and storage medium for determining upper limit of power consumption of data center nodes |
CN115061756A (en) * | 2022-07-29 | 2022-09-16 | 苏州浪潮智能科技有限公司 | A server power capping scheme configuration method, system, device and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624546A (en) * | 2012-02-28 | 2012-08-01 | 华为技术有限公司 | Control method, device and 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 |
Family Cites Families (3)
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 |
US9081613B2 (en) * | 2010-11-02 | 2015-07-14 | International Business Machines Corporation | Unified resource manager providing a single point of control |
US20130054981A1 (en) * | 2011-08-23 | 2013-02-28 | International Business Machines Corporation | Branch Circuit Power Measurement and Dynamic Power Distribution |
-
2018
- 2018-06-29 CN CN201810696922.9A patent/CN109062618B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624546A (en) * | 2012-02-28 | 2012-08-01 | 华为技术有限公司 | Control method, device and 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 |
Also Published As
Publication number | Publication date |
---|---|
CN109062618A (en) | 2018-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI733752B (en) | System and method for side band communication, and tangible, non-transitory, computer-readable medium | |
CN115686872B (en) | BMC-based memory resource processing equipment, method, device and medium | |
US9645954B2 (en) | Embedded microcontroller and buses | |
CN113672539A (en) | Sideband signal transmission through existing auxiliary pin of interface | |
EP3255527A1 (en) | Remote keyboard-video-mouse technologies | |
CN104767838B (en) | Microserver, method of assigning MAC address, and computer-readable recording medium | |
CN109062618B (en) | Development method, system and medium for server single-node power consumption capping firmware | |
US20100095138A1 (en) | Computer start-up timing control device and method thereof | |
US10372639B2 (en) | System and method to avoid SMBus address conflicts via a baseboard management controller | |
CN116521209B (en) | Upgrading method and device of operating system, storage medium and electronic equipment | |
JP7145347B2 (en) | BASEBOARD MANAGEMENT CONTROLLER AND ITS CONSTRUCTION METHOD | |
CN103077102A (en) | Computer starting detection system | |
JP2023020861A (en) | Firmware update | |
US10996942B1 (en) | System and method for graphics processing unit firmware updates | |
CN116627520A (en) | System operation method of baseboard management controller and baseboard management controller | |
CN117608676A (en) | Server network card control method and device, storage media and electronic equipment | |
WO2013075501A1 (en) | Method and device for hot-plugging a node | |
US9201663B2 (en) | Computer system and remote control method for computer device | |
US20110173610A1 (en) | Virtual machine, remote start method, and virtual machine system | |
CN119271023B (en) | Server heat dissipation system, method and baseboard management controller | |
US8909818B2 (en) | Method for shortening enumeration of tightly coupled USB device | |
CN114461286B (en) | A server startup method, device, electronic equipment and readable storage medium | |
CN105607940A (en) | Method for transmitting information from BDK to UEFI BIOS in ARM platform | |
TWI501090B (en) | Server system and node detection method | |
CN119376752A (en) | Firmware upgrade method, firmware upgrade system and related equipment |
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 |