CN110850951B - A method, system and device for refreshing and reading PSU information - Google Patents
A method, system and device for refreshing and reading PSU information Download PDFInfo
- Publication number
- CN110850951B CN110850951B CN201910930863.1A CN201910930863A CN110850951B CN 110850951 B CN110850951 B CN 110850951B CN 201910930863 A CN201910930863 A CN 201910930863A CN 110850951 B CN110850951 B CN 110850951B
- Authority
- CN
- China
- Prior art keywords
- register
- registers
- psu
- data
- class
- 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
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000036541 health Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 6
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- 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/28—Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Dram (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method, a system and equipment for refreshing and reading PSU information.A register needing to be refreshed in real time is arranged in a PSU; classifying the registers according to preset standards; the updating and reading frequency of the differentiated setting register; through the strategy of differential refreshing, the updating frequency of the PSU and the BMC on important data is improved, and the running stability of the whole server system is improved.
Description
Technical Field
The invention relates to the technical field of server power supply monitoring, in particular to a method, a system and equipment for refreshing and reading PSU information.
Background
In order to ensure the stability of the operation of the whole server, the BMC needs to monitor the working information of the PSU, including input values and output values of voltage, current and power, the temperature of an air inlet and an air outlet in the PSU, and status words for judging whether the information exceeds a specification value, if the operation state of the PSU exceeds the specification value, the status words can display that the PSU is currently in a fault state, the system can make a protection action according to the fault severity reported by the PSU, for the fault caused by exceeding the PSU power specification, the system can limit the working frequency of a CPU, reduce the overall power consumption of the system, and for the fatal fault sent by the PSU, the system can timely store the operation data and cope with the possible system crash at any time. BMC pass I2The C bus communicates with the PSU and monitors the operating state of the PSU.
At present, the PSU adopts the same refresh frequency for all information in the running process, and all information is refreshed and then stored in a register. The current communication mode between the BMC and the PSU is to sequentially read the values of all registers of the PSU according to the register definition table given by the PSU.
For the PSU, the amount of information for single refresh is too much, and the time consumption for single refresh in the existing scheme results in low overall refresh frequency, and needs to be improved in the real-time performance of fault state response.
For BMC, the reading sequence of the PSU register is too rigid in the existing scheme, the data amount read in each round is too large, and each round of refreshing takes a long time, so that the overall reading frequency is low, and the real-time performance of the fault state response needs to be improved.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a method, a system, and a device for refreshing and reading PSU information, which optimize the frequency of refreshing PSU information and the reading efficiency of the BMC for reading PSU information, improve the response real-time performance of the entire server after PSU failure, and further improve the operation stability of the entire server.
In order to achieve the purpose, the invention is realized by the following technical scheme: a method for refreshing and reading PSU information comprises the following steps:
in the PSU, a plurality of registers needing to be refreshed in real time are arranged;
dividing the registers into a first-class register, a second-class register and a third-class register according to a preset standard;
setting the data in the first class register as one update for each round, setting the data in the second class register as one update for each two rounds, and setting the data in the third class register as one update for each four rounds;
in the registers, a register used for displaying the whole state data by the PSU is set as a key register, and other registers are set as non-key registers;
the BMC reads the data of the key register once every turn and reads the data of the non-key register once every ten turns.
Further, in the PSU, 30 registers requiring real-time refresh of data are set.
Further, among the registers, a register for displaying the current health state of the PSU is set as a first-class register, a register for predicting the health state of the PSU is set as a second-class register, and the other registers are set as third-class registers.
Further, the number ratio of the first-class register, the second-class register and the third-class register is 1: 1: 1.
furthermore, the number of the key registers is one, and the other registers are all non-key registers.
Further, the data refreshing time of the register is 1ms, and the data reading time is 1 ms.
Correspondingly, the invention also discloses a system for refreshing and reading PSU information, which comprises:
the setting unit is used for setting a plurality of registers needing real-time refreshing in the PSU;
the first register classification unit is used for classifying the registers into a first type register, a second type register and a third type register according to a preset standard;
the data updating frequency setting unit is used for setting the data in the first class register to be updated once every round, setting the data in the second class register to be updated once every two rounds, and setting the data in the third class register to be updated once every four rounds;
the second register classification unit is used for setting a register used for displaying the whole state data by the PSU as a key register and setting other registers as non-key registers in the register;
and the data reading frequency setting unit is used for setting that the BMC reads the data of the key register once every turn and reads the data of the non-key register once every ten turns.
Correspondingly, the invention also discloses a device for refreshing and reading PSU information, which comprises:
a memory for storing a computer program;
a processor for implementing the method steps of refreshing and reading PSU information as described in any one of the above when said computer program is executed.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a method, a system and equipment for refreshing and reading PSU information.A register needing to be refreshed in real time is arranged in a PSU; classifying the registers according to preset standards; the updating and reading frequency of the differentiated setting register; through the strategy of differential refreshing, the updating frequency of the PSU and the BMC on important data is improved, and the running stability of the whole server system is improved.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of the method of the present invention.
Fig. 2 is a system block diagram of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings.
A method for refreshing and reading PSU information as shown in fig. 1 includes the following steps:
s1: in the PSU, 30 registers are set that require real-time refreshing of data.
257 registers from 00h to FFh are arranged inside the PSU, wherein the enabled registers which can be inquired by the BMC are close to 100 registers; the asset information of the PSU and the logic judgment parameters in the operation process are stored in a part of registers, and real-time refreshing is not needed; the number of registers that need to be refreshed in real time is 30.
S2: in the registers, a register for displaying the current health state of the PSU is set as a first-class register, a register for predicting the health state of the PSU is set as a second-class register, and other registers are set as third-class registers.
S3: the data in the first type register is set to be updated once every round, the data in the second type register is set to be updated once every two rounds, and the data in the third type register is set to be updated once every four rounds.
The importance of storing data in the registers is not the same for the operational stability of the PSU itself. In order to improve the real-time performance of important data, the current PSU health state data is regarded as important data, the data of the predicted PSU health state is regarded as general data, the rest is unimportant data, and registers are divided into three types according to the importance degree of the data: a first type register, a second type register, and a third type register. For important data, the updating frequency is improved; for less important data, the update frequency is reduced.
According to register data in the PSU, the number ratio of a first-class register, a second-class register and a third-class register is 1: 1: 1, i.e. 10 per data. The important data is updated once every round, the general data is updated once every two rounds, the unimportant data is updated once every four rounds, and the updating frequency of the important data register is improved compared with the original scheme by taking four rounds as a unit.
The time required by the PSU for updating one register is 1ms, and according to the original scheme, the time required for updating four rounds is 30+30+30+ 30-120 ms; according to the new scheme, the time required for four updating wheels is 10+20+10+30 which is 70 ms; the important data are updated four times, the whole time is shortened by 42%, and the updating frequency of the important data is improved by 71.4%. Accordingly, the refresh frequency of general data is reduced by 14.3%, and the refresh frequency of insignificant data is reduced by 57.1%.
S4: among the registers, a register for displaying the entire status data of the PSU is set as a key register, and the other registers are set as non-key registers.
S5: the BMC reads the data of the key register once every turn and reads the data of the non-key register once every ten turns.
For the stability of the whole operation of the server system, the monitoring frequency should be adjusted according to the importance of the data in different registers to the whole operation of the server, and only one piece of information in the PSU data required by the whole server is the most important, namely the whole PSU state data, and other data are general data. Therefore, of the 30 data registers that need to be refreshed in real time, as long as one critical register is used, the others are non-critical registers. Important data is monitored every round, and general data is monitored every ten rounds.
The time required for the BMC to inquire one PSU state word is 1ms, and according to the original scheme, the time required for inquiring 10 rounds is 30 × 10-300 ms; according to the new scheme, the time required for updating 10 rounds is 1 × 9+ 30-39 ms; the important data are updated 10 times, the whole time is shortened by 87%, the refreshing frequency of the important data is improved by 669%, and the refreshing frequency of the general data is reduced by 23%.
Correspondingly, as shown in fig. 2, the present invention also discloses a system for refreshing and reading PSU information, which includes:
the setting unit is used for setting a plurality of registers needing real-time refreshing in the PSU;
the first register classification unit is used for classifying the registers into a first type register, a second type register and a third type register according to a preset standard;
the data updating frequency setting unit is used for setting the data in the first class register to be updated once every round, setting the data in the second class register to be updated once every two rounds, and setting the data in the third class register to be updated once every four rounds;
the second register classification unit is used for setting a register used for displaying the whole state data by the PSU as a key register and setting other registers as non-key registers in the register;
and the data reading frequency setting unit is used for setting that the BMC reads the data of the key register once every turn and reads the data of the non-key register once every ten turns.
Correspondingly, the invention also discloses a device for refreshing and reading PSU information, which comprises:
a memory for storing a computer program;
a processor for implementing the method steps of refreshing and reading PSU information as described in any one of the above when said computer program is executed.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention. The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided by the present invention, it should be understood that the disclosed system, system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit.
The invention is further described with reference to the accompanying drawings and specific embodiments. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and these equivalents also fall within the scope of the present application.
Claims (6)
1. A method for refreshing and reading PSU information, comprising:
in the PSU, a plurality of registers needing to be refreshed in real time are arranged;
dividing the registers into a first-class register, a second-class register and a third-class register according to a preset standard;
setting the data in the first class register as one update for each round, setting the data in the second class register as one update for each two rounds, and setting the data in the third class register as one update for each four rounds;
in the registers, a register used for displaying the PSU overall state data is set as a key register, and other registers are set as non-key registers;
the BMC reads the data of the key register once every turn and reads the data of the non-key register once every ten turns;
in the registers, a register for displaying the current PSU health state is set as a first-class register, a register for predicting the PSU health state is set as a second-class register, and other registers are set as third-class registers;
the number of the key registers is one, and the other registers are all non-key registers.
2. The PSU information refreshing and reading method according to claim 1, wherein: in the PSU, 30 registers are set that require real-time refreshing of data.
3. The PSU information refreshing and reading method according to claim 1, wherein: the number ratio of the first-class register, the second-class register and the third-class register is 1: 1: 1.
4. the PSU information refreshing and reading method according to claim 1, wherein: the data refreshing time of the register is 1ms, and the data reading time is 1 ms.
5. A system for refreshing and reading PSU information, comprising:
the setting unit is used for setting a plurality of registers needing real-time refreshing in the PSU;
the first register classification unit is used for classifying the registers into a first type register, a second type register and a third type register according to a preset standard;
the data updating frequency setting unit is used for setting the data in the first class register to be updated once every round, setting the data in the second class register to be updated once every two rounds, and setting the data in the third class register to be updated once every four rounds;
the second register classification unit is used for setting a register for displaying the PSU overall state data as a key register and setting other registers as non-key registers in the register;
the data reading frequency setting unit is used for setting that the BMC reads the data of the key register once in each round and reads the data of the non-key register once in every ten rounds;
in the registers, a register for displaying the current PSU health state is set as a first-class register, a register for predicting the PSU health state is set as a second-class register, and other registers are set as third-class registers;
the number of the key registers is one, and the other registers are all non-key registers.
6. A PSU information refreshing and reading apparatus, comprising:
a memory for storing a computer program;
processor for implementing the method steps of refreshing and reading PSU information according to any of claims 1 to 4 when executing said computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910930863.1A CN110850951B (en) | 2019-09-29 | 2019-09-29 | A method, system and device for refreshing and reading PSU information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910930863.1A CN110850951B (en) | 2019-09-29 | 2019-09-29 | A method, system and device for refreshing and reading PSU information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110850951A CN110850951A (en) | 2020-02-28 |
CN110850951B true CN110850951B (en) | 2021-07-06 |
Family
ID=69596241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910930863.1A Active CN110850951B (en) | 2019-09-29 | 2019-09-29 | A method, system and device for refreshing and reading PSU information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110850951B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856615A (en) * | 2012-12-04 | 2014-06-11 | 赛龙通信技术(深圳)有限公司 | Method for displaying dynamic variation data of state parameters of mobile phone |
CN103871445A (en) * | 2012-12-12 | 2014-06-18 | 北京普源精电科技有限公司 | Power supply with recording function |
CN106445055A (en) * | 2016-09-09 | 2017-02-22 | 郑州云海信息技术有限公司 | Power supply protection mechanism of Rack server |
CN109597475A (en) * | 2018-12-03 | 2019-04-09 | 郑州云海信息技术有限公司 | A kind of server power supply information processing method, apparatus and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8489907B2 (en) * | 2009-09-16 | 2013-07-16 | Apple Inc. | Method of selective power cycling of components in a memory device independently by reducing power to a memory array or memory controller |
JP5624583B2 (en) * | 2012-05-31 | 2014-11-12 | 株式会社東芝 | PROGRAM, COMPUTER PROCESSING DEVICE, MEMORY MANAGEMENT METHOD, AND COMPUTER |
CN109240846A (en) * | 2018-09-19 | 2019-01-18 | 郑州云海信息技术有限公司 | A kind of power failure diagnosing method, apparatus and server |
-
2019
- 2019-09-29 CN CN201910930863.1A patent/CN110850951B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856615A (en) * | 2012-12-04 | 2014-06-11 | 赛龙通信技术(深圳)有限公司 | Method for displaying dynamic variation data of state parameters of mobile phone |
CN103871445A (en) * | 2012-12-12 | 2014-06-18 | 北京普源精电科技有限公司 | Power supply with recording function |
CN106445055A (en) * | 2016-09-09 | 2017-02-22 | 郑州云海信息技术有限公司 | Power supply protection mechanism of Rack server |
CN109597475A (en) * | 2018-12-03 | 2019-04-09 | 郑州云海信息技术有限公司 | A kind of server power supply information processing method, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN110850951A (en) | 2020-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109611815B (en) | Energy consumption alarm management method and device for gas steam boiler | |
CN111626498B (en) | Equipment running state prediction method, device, equipment and storage medium | |
CN114442794A (en) | Server power consumption control method, system, terminal and storage medium | |
US10599204B1 (en) | Performance efficiency monitoring system | |
CN110850951B (en) | A method, system and device for refreshing and reading PSU information | |
CN118840108B (en) | A linkage integrated operation and maintenance method, system, equipment and product based on big data | |
CN113487182B (en) | Device health state evaluation method, device, computer device and medium | |
CN112702350B (en) | Out-of-band management method and device, electronic equipment and readable medium | |
CN107590023B (en) | Data processing method, electronic device and computer readable storage medium | |
DE112007003007T5 (en) | Method and apparatus for power management in a processor | |
CN117235760B (en) | Encryption storage method and device for enterprise data, computer equipment and storage medium | |
TW201837480A (en) | Integrated circuit current metering using voltage variation detection circuit | |
CN111309132A (en) | Method for multi-gear power supply redundancy of server | |
CN113900718B (en) | A method, system and device for decoupling BMC and BIOS asset information | |
CN115964935A (en) | Data center machine room IT equipment management method, device, server and medium | |
CN107976570A (en) | Power consumption test method, device and medium during a kind of storage system data backup | |
Garg et al. | SENSITIVITY ANALYSIS OF A UREA FERTILIZER PLANT | |
CN117057527B (en) | Intelligent operation and maintenance method and system for industrial Internet of things of automobile manufacturing equipment | |
CN118333529B (en) | Inventory early warning method and device, electronic equipment and storage medium | |
CN117312100B (en) | Power consumption adjustment method, system, device, equipment and computer storage medium | |
CN118672861B (en) | Method and device for predicting operating status, storage medium, electronic device and computer program product | |
CN111767318A (en) | Data statistical method, device, electronic equipment and medium | |
US20250076941A1 (en) | Optimization method for heat dissipation control of gpu accelerator cards, electronic device, and storage medium | |
CN114301058B (en) | Intelligent power distribution method, system and computer equipment | |
US20210349516A1 (en) | Energy saving device and method for saving energy in data center |
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 |