CN109918192A - A kind of BMC resource allocation methods for server - Google Patents

A kind of BMC resource allocation methods for server Download PDF

Info

Publication number
CN109918192A
CN109918192A CN201711421955.4A CN201711421955A CN109918192A CN 109918192 A CN109918192 A CN 109918192A CN 201711421955 A CN201711421955 A CN 201711421955A CN 109918192 A CN109918192 A CN 109918192A
Authority
CN
China
Prior art keywords
bmc
electronic equipment
time
resource allocation
calculating
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
CN201711421955.4A
Other languages
Chinese (zh)
Other versions
CN109918192B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711421955.4A priority Critical patent/CN109918192B/en
Publication of CN109918192A publication Critical patent/CN109918192A/en
Application granted granted Critical
Publication of CN109918192B publication Critical patent/CN109918192B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of BMC resource allocation methods for server, comprising: obtains corresponding signal cabling delay time when the BMC in destination server is communicated with each electronic equipment that the BMC is managed;The time required to obtaining calculating corresponding to the message for each electronic equipment that BMC calculates itself control;According to each electronic equipment corresponding signal cabling delay time and the time required to calculating, the corresponding resource allocation weight of each electronic equipment is calculated;According to resource allocation weight, the computing resource of BMC is correspondingly distributed to the corresponding electronic equipment of each resource allocation weight.By distributing corresponding resource allocation weight for each electronic equipment, to distribute the computing resource of BMC to each electronic equipment, to optimize management of the BMC to electronic equipment, BMC is allowed to handle signal appropriate under limited ability, it is effectively utilized the resource of BMC, avoids the appearance because of the case where carrying capacity distributes system delay caused by unevenness too long.

Description

A kind of BMC resource allocation methods for server
Technical field
The present invention relates to server technology fields, more particularly to a kind of BMC resource allocation methods for server.
Background technique
In server design now, it will usually be equipped with a basic management controller (BMC) as system periphery control The core of system and management, and control matchmaker of the main signal of periphery electronic equipment by IC bus I2C as communication It is situated between, to control the running of the speed, system temperature, voltage and CPU of fan, and allows system administration by the transmission form of event Personnel are recognized that the situation message of current server system, achieve the purpose that remotely to read convenient for manager.
Since the electronic equipment that BMC needs to manage in server system is more and more, effectively manages electronic equipment and read The message taken is particularly important.Even if BMC can handle signal appropriate under limited ability, to reach the effect of optimization Fruit.
Therefore, how to optimize management of the BMC to electronic equipment, be those skilled in the art to efficiently use the resource of BMC The technical issues that need to address at present.
Summary of the invention
The object of the present invention is to provide a kind of BMC resource allocation methods for server, can optimize BMC and set to electronics Standby management efficiently uses the resource of BMC.
In order to solve the above technical problems, the present invention provides the following technical scheme that
A kind of BMC resource allocation methods for server, comprising:
Obtain corresponding signal cabling when the BMC in destination server is communicated with each electronic equipment that the BMC is managed Delay time;
The time required to obtaining calculating corresponding to the message for each electronic equipment that the BMC calculates itself control;
According to each electronic equipment corresponding signal cabling delay time and the time required to calculating, each electronics is calculated The corresponding resource allocation weight of equipment;
According to the resource allocation weight, the computing resource of the BMC is correspondingly distributed to each resource allocation weight Corresponding electronic equipment.
Preferably, each resource is given in the computing resource for according to the resource allocation weight, correspondingly distributing the BMC It distributes before the corresponding electronic equipment of weight, further includes:
Obtain the communication priority of each electronic equipment;
According to the communication priority of each electronic equipment, the corresponding resource allocation power of each electronic equipment is recalculated Weight.
Preferably, it is corresponding when the BMC obtained in destination server is communicated with each electronic equipment that the BMC is managed Signal cabling delay time, comprising:
Obtain the BMC and time t1, t2, t3, t4 when target electronic device is communicated, wherein t1 is the BMC The time point of signal is issued, t2 is the time point that the target electronic device receives the signal that the BMC is issued, and t3 is target electricity The time point of BMC feedback signal described in sub- equipment item, t4 are the time point that the BMC receives the feedback signal;
Calculate the BMC according to the following formula and when target electronic device is communicated corresponding signal cabling average retardation Time:
T2-t1=DelayBD+offset From BMC
T4-t3=DelayDB-offset From BMC
DelayBD+DelayDB=(t4-t1)-(t3-t2)
Mean Path Delay=(DelayBD+DelayDB)/2=[(t4-t1)-(t3-t2)]/2
Wherein, DelayBD is delay time of the BMC to the target electronic device, and DelayDB is the target electricity For sub- equipment to the delay time of the BMC, offset From BMC is the signal that the BMC calculates the target electronic device Required time difference, Mean Path Delay are the signal cabling average delay time of the BMC and the target electronic device.
Preferably, calculating corresponding to the message for obtaining each electronic equipment that the BMC calculates itself control Required time, comprising:
Obtain the BMC and time t1, t2, t3, t4 when target electronic device is communicated;
Calculating institute corresponding to the message for the target electronic device that the BMC calculates itself control is calculated according to the following formula It takes time:
T2-t1=DelayBD+offset From BMC
T4-t3=DelayDB-offset From BMC
Time consume=offset From BMC=[(t2-t1)+(t3-t4)]/2
Wherein, Time consume=offset From BMC is the signal that the BMC calculates the target electronic device The required time difference, also the as described BMC is calculated needed for calculating corresponding to the message of each electronic equipment of itself control Time.
Preferably, described according to each electronic equipment corresponding signal cabling delay time and the time required to calculating, meter Calculate the corresponding resource allocation weight of each electronic equipment, comprising:
Correspondence time adduction the time required to calculating each electronic equipment corresponding signal cabling delay time and calculating;
Calculate the ratio of the corresponding time adduction of each electronic equipment;
Assign each electronic equipment corresponding resource allocation weight according to the ratio.
Compared with prior art, above-mentioned technical proposal has the advantage that
A kind of BMC resource allocation methods for server provided by the present invention, comprising: obtain in destination server BMC corresponding signal cabling delay time when being communicated with each electronic equipment that the BMC is managed;BMC is obtained to calculate from barrel The time required to calculating corresponding to the message of each electronic equipment of control;According to each electronic equipment corresponding signal cabling delay time With the time required to calculating, the corresponding resource allocation weight of each electronic equipment is calculated;According to resource allocation weight, correspondingly distribute The computing resource of BMC gives the corresponding electronic equipment of each resource allocation weight.By BMC in calculation server and its managed it is each The time required to signal cabling delay time and corresponding message when electronic equipment is linked up calculate, it can analyze and calculate BMC pairs Each electronic equipment carries out the time required for operation, is that each electronic equipment distributes corresponding money according to the calculated time Weight is distributed in source, to distribute the computing resource of BMC to each electronic equipment, thus optimize management of the BMC to electronic equipment, so that BMC can handle signal appropriate under limited ability, be effectively utilized the resource of BMC, avoid because carrying capacity is distributed not Caused by system delay too long the case where appearance.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the BMC resource allocation methods flow chart that server is used for provided by a kind of specific embodiment of the present invention;
Fig. 2 is that BMC provided by a kind of specific embodiment of the present invention and the signal of target electronic device transmit schematic diagram.
Specific embodiment
Core of the invention is to provide a kind of BMC resource allocation methods for server, can optimize BMC and set to electronics Standby management efficiently uses the resource of BMC.
It is understandable in order to enable the above objects, features and advantages of the present invention to become apparent, with reference to the accompanying drawing to this hair Bright specific embodiment is described in detail.
Detail is elaborated in the following description to fully understand the present invention.But the present invention can with it is a variety of not Other way described herein is same as to implement, those skilled in the art can do class without violating the connotation of the present invention Like popularization.Therefore the present invention is not limited to the specific embodiments disclosed below.
Referring to FIG. 1, Fig. 1 is the BMC resource allocation for being used for server provided by a kind of specific embodiment of the present invention Method flow diagram.
A kind of specific embodiment of the invention provides a kind of BMC resource allocation methods for server, comprising:
S11: corresponding signal when the BMC in destination server is communicated with each electronic equipment that the BMC is managed is obtained Cabling delay time.
When each electronic equipment of BMC and its control in server are linked up each time, while obtaining current carry out The signal cabling delay time of the electronic equipment of communication, which is set to first time parameter.
S12: the time required to obtaining calculating corresponding to the message for each electronic equipment that BMC calculates itself control.
Except obtaining except above-mentioned signal cabling delay time, when also acquisition BMC and each electronic equipment are linked up pair The time is set to the second time parameter by the time that the message of each electronic equipment is read out and handles.
S13: according to each electronic equipment corresponding signal cabling delay time and the time required to calculating, each electronic equipment is calculated Corresponding resource allocation weight.
According to the first time parameter of each electronic equipment and corresponding second time parameter, each electronic equipment pair is calculated The resource allocation weight answered.
Wherein, it according to each electronic equipment corresponding signal cabling delay time and the time required to calculating, calculates each electronics and sets Standby corresponding resource allocation weight, comprising: the time required to calculating each electronic equipment corresponding signal cabling delay time and calculating The correspondence time adduction;Calculate the ratio of the corresponding time adduction of each electronic equipment;It is corresponding that each electronic equipment is assigned according to ratio Resource allocation weight.
S14: according to resource allocation weight, the computing resource of BMC is correspondingly distributed to the corresponding electricity of each resource allocation weight Sub- equipment.
It, can by the first time parameter and the second time parameter of each electronic equipment managed of BMC in calculation server BMC is calculated with analysis meter and carries out the time total required for operation to each electronic equipment, is according to the calculated time Each electronic equipment distributes corresponding resource allocation weight, to distribute the computing resource of BMC to each electronic equipment, to optimize BMC Management to electronic equipment allows BMC to handle signal appropriate under limited ability, is effectively utilized the resource of BMC, Avoid the appearance because of the case where carrying capacity distributes system delay caused by unevenness too long.
In one embodiment of the invention, according to resource allocation weight, the computing resource for correspondingly distributing BMC is given Before the corresponding electronic equipment of each resource allocation weight, further includes: obtain the communication priority of each electronic equipment;According to each electronics The communication priority of equipment recalculates the corresponding resource allocation weight of each electronic equipment.
Since the effect of different electronic equipments in the server is different, priority is also different.Carrying out resource allocation When, different electronic equipments can be classified according to processing priority, the electronic equipment in high priority preferentially carries out Computational resource allocation, and to the electronic equipment in same priority then according to by two calculated resources of time parameter point With weight distribution computing resource.
Except above-mentioned resource distribution mode, can also directly it join priority as the calculating of resource allocation weight Number, priority parameters are calculated into resource allocation weight recalculate the corresponding resource of each electronic equipment according to certain specific gravity Distribute weight.And the distribution of the computing resource of BMC is carried out according to the resource allocation weight after recalculating.
Referring to FIG. 2, Fig. 2 is the signal of BMC and target electronic device provided by a kind of specific embodiment of the present invention Transmit schematic diagram
In one embodiment of the invention, the BMC in destination server and each electronic equipment of BMC control are obtained Corresponding signal cabling delay time when being communicated, comprising:
Time t1, t2, t3, t4 when acquisition BMC and target electronic device are communicated, wherein t1 is that BMC issues signal Time point, t2 be the target electronic device receive BMC issue signal time point, t3 be target electronic device item BMC The time point of feedback signal, t4 are the time point that BMC receives feedback signal;
When calculating BMC and target electronic device are communicated according to the following formula when corresponding signal cabling average retardation Between:
T2-t1=DelayBD+offset From BMC
T4-t3=DelayDB-offset From BMC
DelayBD+DelayDB=(t4-t1)-(t3-t2)
Mean Path Delay=(DelayBD+DelayDB)/2=[(t4-t1)-(t3-t2)]/2
Wherein, DelayBD is delay time of the BMC to target electronic device, and DelayDB is target electronic device to BMC Delay time, offset From BMC be BMC calculate target electronic device signal needed for the time difference, Mean Path Delay is the signal cabling average delay time of BMC and the target electronic device.
The time required to obtaining calculating corresponding to the message for each electronic equipment that BMC calculates itself control, comprising:
Time t1, t2, t3, t4 when acquisition BMC and target electronic device are communicated;
Calculating corresponding to the message for the target electronic device that BMC calculates itself control is calculated according to the following formula to be taken Between:
T2-t1=DelayBD+offset From BMC
T4-t3=DelayDB-offset From BMC
Time consume=offset From BMC=[(t2-t1)+(t3-t4)]/2
Wherein, when Time consume=offset From BMC is that BMC is calculated needed for the signal of target electronic device Between it is poor, also as BMC is calculated corresponding to the message of each electronic equipment of itself control the time required to calculating.
In the present embodiment, these parameters of each electronic equipment corresponding t1, t2, t3, t4 are obtained, by above-mentioned Formula can be calculated by the BMC corresponding first time parameter of each electronic equipment managed and the second time parameter.
A kind of BMC resource allocation methods for server provided by the present invention are described in detail above.This Apply that a specific example illustrates the principle and implementation of the invention in text, the explanation of above example is only intended to It facilitates the understanding of the method and its core concept of the invention.It should be pointed out that for those skilled in the art, Without departing from the principles of the invention, can be with several improvements and modifications are made to the present invention, these improvement and modification are also fallen Enter in the protection scope of the claims in the present invention.

Claims (5)

1. a kind of BMC resource allocation methods for server characterized by comprising
It obtains corresponding signal when the BMC in destination server is communicated with each electronic equipment that the BMC is managed and walks wire delay Time;
The time required to obtaining calculating corresponding to the message for each electronic equipment that the BMC calculates itself control;
According to each electronic equipment corresponding signal cabling delay time and the time required to calculating, each electronic equipment is calculated Corresponding resource allocation weight;
According to the resource allocation weight, the computing resource for correspondingly distributing the BMC is corresponding to each resource allocation weight Electronic equipment.
2. the method according to claim 1, wherein correspondingly distributing institute according to the resource allocation weight Before the computing resource of BMC is stated to the corresponding electronic equipment of each resource allocation weight, further includes:
Obtain the communication priority of each electronic equipment;
According to the communication priority of each electronic equipment, the corresponding resource allocation weight of each electronic equipment is recalculated.
3. according to the method described in claim 2, it is characterized in that, the BMC obtained in destination server the and BMC is managed Each electronic equipment corresponding signal cabling delay time when being communicated, comprising:
Obtain the BMC and time t1, t2, t3, t4 when target electronic device is communicated, wherein t1 is that the BMC is issued The time point of signal, t2 are the time point that the target electronic device receives the signal that the BMC is issued, and t3 is that the target electronic is set The time point of the standby item BMC feedback signal, t4 are the time point that the BMC receives the feedback signal;
Calculate the BMC according to the following formula and when target electronic device is communicated when corresponding signal cabling average retardation Between:
T2-t1=DelayBD+offset From BMC
T4-t3=DelayDB-offset From BMC
DelayBD+DelayDB=(t4-t1)-(t3-t2)
Mean Path Delay=(DelayBD+DelayDB)/2=[(t4-t1)-(t3-t2)]/2
Wherein, DelayBD is delay time of the BMC to the target electronic device, and DelayDB is that the target electronic is set The standby delay time for arriving the BMC, offset From BMC are that the BMC is calculated needed for the signal of the target electronic device Time difference, Mean Path Delay be the BMC and the target electronic device signal cabling average delay time.
4. according to the method described in claim 3, it is characterized in that, the acquisition BMC calculates each described of itself control The time required to calculating corresponding to the message of electronic equipment, comprising:
Obtain the BMC and time t1, t2, t3, t4 when target electronic device is communicated;
Calculating corresponding to the message for the target electronic device that the BMC calculates itself control is calculated according to the following formula to be taken Between:
T2-t1=DelayBD+offset From BMC
T4-t3=DelayDB-offset From BMC
Time consume=offset From BMC=[(t2-t1)+(t3-t4)]/2
Wherein, Time consume=offset From BMC is that the BMC is calculated needed for the signal of the target electronic device Time difference, also the as described BMC is calculated corresponding to the message of each electronic equipment of itself control the time required to calculating.
5. according to the method described in claim 4, it is characterized in that, described according to the corresponding signal cabling of each electronic equipment The time required to delay time and calculating, the corresponding resource allocation weight of each electronic equipment is calculated, comprising:
Correspondence time adduction the time required to calculating each electronic equipment corresponding signal cabling delay time and calculating;
Calculate the ratio of the corresponding time adduction of each electronic equipment;
Assign each electronic equipment corresponding resource allocation weight according to the ratio.
CN201711421955.4A 2017-12-25 2017-12-25 BMC resource allocation method for server Active CN109918192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711421955.4A CN109918192B (en) 2017-12-25 2017-12-25 BMC resource allocation method for server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711421955.4A CN109918192B (en) 2017-12-25 2017-12-25 BMC resource allocation method for server

Publications (2)

Publication Number Publication Date
CN109918192A true CN109918192A (en) 2019-06-21
CN109918192B CN109918192B (en) 2022-02-18

Family

ID=66959485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711421955.4A Active CN109918192B (en) 2017-12-25 2017-12-25 BMC resource allocation method for server

Country Status (1)

Country Link
CN (1) CN109918192B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354663A (en) * 2007-07-25 2009-01-28 联想(北京)有限公司 Method and apparatus for scheduling true CPU resource applied to virtual machine system
CN102521055A (en) * 2011-12-15 2012-06-27 广州杰赛科技股份有限公司 Virtual machine resource allocating method and virtual machine resource allocating system
US20150242243A1 (en) * 2014-02-21 2015-08-27 International Business Machines Corporation Processor power optimization with response time assurance
CN104954496A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Cloud resource allocation method and device
CN105912439A (en) * 2016-04-05 2016-08-31 浪潮电子信息产业股份有限公司 Method, device and system for computer monitoring

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354663A (en) * 2007-07-25 2009-01-28 联想(北京)有限公司 Method and apparatus for scheduling true CPU resource applied to virtual machine system
CN102521055A (en) * 2011-12-15 2012-06-27 广州杰赛科技股份有限公司 Virtual machine resource allocating method and virtual machine resource allocating system
US20150242243A1 (en) * 2014-02-21 2015-08-27 International Business Machines Corporation Processor power optimization with response time assurance
CN104954496A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Cloud resource allocation method and device
CN105912439A (en) * 2016-04-05 2016-08-31 浪潮电子信息产业股份有限公司 Method, device and system for computer monitoring

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
R. MOORE: "Practical experience with IEEE 1588 high Precision Time Synchronization in electrical substation based on IEC 61850 Process Bus", 《IEEE》 *
黄曙: "电力系统IEEE 1588一致性测试研究", 《电网技术》 *

Also Published As

Publication number Publication date
CN109918192B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
JP5602886B2 (en) Power supply system for dynamic multi-service routing on the end user side of FTTx optical line termination equipment
JP5908293B2 (en) System, method, and apparatus for identifying invalid nodes in a mesh network
CN105765906A (en) Methods, systems, and computer readable media for a network function virtualization information concentrator
CN103346978A (en) Method for guaranteeing fairness and stability of virtual machine network bandwidth
CN102436399A (en) Load-balanced acquisition method
CN105227212A (en) Reverse power supply management method, Apparatus and system
Xu et al. Allocation of discrete energy on a cloud-computing datacenter using a digital power grid
CN109347647A (en) Group message distribution method and device
CN206489563U (en) Heterogeneous computing system
CN106341494A (en) Multiple compute nodes server managing framework
CN106209433B (en) Application system energy-efficient deployment device towards framework under a kind of cloud environment
CN105335376B (en) A kind of method for stream processing, apparatus and system
CN109918192A (en) A kind of BMC resource allocation methods for server
CN103326916A (en) System and method for automatic partition of intelligent substation and optimization of VLAN
CN108989442A (en) Data distributing method, system and control node
CN102938699B (en) Balanced power supply method and device
US9693318B1 (en) Multi-protocol load control
CN106468734A (en) Electricity monitoring system
US9094321B2 (en) Energy management for communication network elements
CN106997310A (en) The apparatus and method of load balancing
CN103337003A (en) Centralized scheduling method based on distributed terminal
CN103986744B (en) Throughput-based file parallel transmission method
CN103327093B (en) The control method of cloud computing system
CN208240079U (en) A kind of harmonic impedance computing system based on private clound
US20120179396A1 (en) Systems, methods, and apparatus for powering an ami communication board

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