Power management method and system

By calculating the maximum power function value and minimum power consumption value of the node to determine the power limit, and allocate it according to the power ratio, it solves the problem of power demand changes when the server system updates or replaces servers at different times, and realizes automated power management. Improved system efficiency and reliability.

CN114816025BActive Publication Date: 2024-10-22LENOVO INT LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110068891.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-19
Publication Date
2024-10-22
Estimated Expiration
2041-01-19

AI Technical Summary

Technical Problem

When existing server systems update or replace servers at different times, it is difficult to effectively manage the power requirements and changes of different types and models of servers, resulting in reduced system efficiency and reliability.

Method used

By determining the maximum power function value and minimum power consumption value of the computing node, the power limit is calculated, whichever is the larger of the minimum value and the maximum value, and is allocated according to the power ratio of the computing node, and the total power and power ratio are dynamically updated to ensure Each compute node receives sufficient power allowance.

Benefits of technology

It realizes automatic power management without interrupting the operation of the computing system, ensuring that computing nodes obtain appropriate power limits, improving system efficiency and reliability, avoiding overcurrent and faults, and reducing reliance on professional knowledge. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114816025B_ABST
    Figure CN114816025B_ABST
Patent Text Reader

Abstract

The present invention relates to a power management method and system. The power management system includes a power controller, wherein the power controller is configured to execute a power management method, wherein the power management method includes: determining a maximum power function value for a computing node; determining a power limit, wherein the power limit is a larger value of the maximum power function value and a minimum power consumption value of the computing node; and allocating the power limit to the computing node, wherein the maximum power function value is a product of a total power and a power ratio of the computing node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a power management method and system for a computing system. Background Art

[0002] A server system may include servers of different types and models, especially if the servers are updated or replaced at different times. A power management system and method that can take into account different power requirements and their variations can help improve the efficiency and reliability of the server system. Summary of the invention

[0003] On the one hand, the present disclosure provides a power management method, which includes: determining a maximum power function value equivalent to a computing node; determining a power limit, wherein the power limit is the larger value of the minimum power consumption value and the maximum power function value of the computing node, and the maximum power function value is the product of the total power and the power ratio of the computing node; and allocating the power limit to the computing node.

[0004] Optionally, the method may further include: determining a priority order of multiple computing nodes in the system domain; and allocating respective power limits to the multiple computing nodes according to the priority order. Optionally, the method may further include: sorting the priority order in descending order of the minimum power consumption values ​​of the multiple computing nodes.

[0005] Optionally, if the minimum power consumption value of the computing node is approximately equal to the minimum power consumption value of the next computing node, and if the maximum power consumption value of the computing node is greater than the maximum power consumption value of the next computing node, the computing node is ranked before the next computing node in the order of precedence. Optionally, after determining the power limit of the corresponding computing node, determine the total power relative to the next computing node, wherein the next computing node is ranked immediately after the computing node in the order of precedence.

[0006] Optionally, the power ratio of the computing node is the ratio of the maximum power consumption value of the computing node to the total maximum power consumption value of the pending computing nodes. Optionally, the total power is determined relative to all the pending computing nodes.

[0007] Optionally, before determining the power cap of each computing node in the system domain, the total power and the power ratio are iteratively updated. Optionally, with each iterative update, the total power decreases and the power ratio increases.

[0008] On the other hand, the present disclosure also provides a power management system, which includes: a power controller, which is configured to: determine a maximum power function value of a computing node; determine a power limit, wherein the power limit is a larger value of a minimum power consumption amount and a maximum power function value of the computing node, and the maximum power function value is a product of a total power and a power ratio of the computing node; and allocate the power limit to the computing node.

[0009] Optionally, the power controller may be further configured to: determine the order of the plurality of computing nodes in the system domain; and allocate respective power limits to the plurality of computing nodes according to the order of order. Optionally, the power controller may be further configured to: sort the order of the plurality of computing nodes in descending order of their respective minimum power consumption values.

[0010] Optionally, the power controller may be further configured to: if the minimum power consumption value of the computing node is approximately equal to the minimum power consumption value of the next computing node, and if the maximum power consumption value of the computing node is greater than the maximum power consumption value of the next computing node, then in the order of precedence, the computing node is placed before the next computing node. Optionally, the power controller may be further configured to: after determining the power limit for the computing node, determine the total power relative to the next computing node, wherein the next computing node is placed immediately after the computing node in the order of precedence.

[0011] Optionally, the power controller may be configured such that the power ratio of the computing node is the ratio of the maximum power consumption value of the computing node to the total maximum power value of the pending computing nodes. Optionally, the power controller may be configured such that the total power is determined relative to all pending computing nodes.

[0012] Optionally, the power management controller may be further configured to: iteratively update the total power and the power ratio before determining the power limit of each computing node in the system domain. Optionally, the power management controller may be further configured to: with each iterative update, the total power decreases and the power ratio increases. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 is a schematic diagram of a power management system according to one embodiment of the present disclosure.

[0014] Figure 2 is a schematic diagram of a power management method according to an embodiment.

[0015] Figure 3 yes Figure 2 Schematic diagram of the power list confirmation process.

[0016] Figure 4 yes Figure 2 Schematic diagram of the power cap allocation process.

[0017] Figure 5 Show according to Figure 2 An example of a method for assigning power caps to system domains.

[0018] FIG. 6A to FIG. 6D Show according to Figure 2 An example of configuring a system domain using the method. DETAILED DESCRIPTION

[0019] Figure 1 A computing system 100 is shown. The computing system includes a plurality of computing nodes 140. For example, a computing node may be a computing device such as a server. An example of a computing system includes one or more server racks having a plurality of servers. The computing system is configured to operate using power drawn from a power supply 120. A power controller 110 is configured to manage power distribution between various computing nodes. In some cases, the computing system may include computing nodes of different classes and / or models. At a certain moment, various computing nodes in the same computing system may have different power requirements and energy efficiencies. In some cases, one or more computing nodes may be upgraded, replaced, or added to the computing system so that the initial power management configuration is no longer the optimal configuration for relative operating performance and energy efficiency. In some cases, the computing system may be designed to fail to start or enter a fault state to avoid overcurrent. When this occurs, an ordinary user may lack the ability or expertise to quickly reset the computing system configuration.

[0020] According to one embodiment of the present disclosure, a power management system includes a power controller 110 configured to perform a power management method in a computing system 100 or a system domain, wherein the computing system or the system domain includes a plurality of computing nodes 140. The computing nodes are configured to draw power from a power supply 120. The power management system may include a memory 114 configured to store data related to the power consumption or power requirements of each computing node 140. The power management system is configured to perform a power management method 200 as described below.

[0021] Figure 2A method according to an embodiment of the present disclosure is shown. In some examples, the power controller is configured to perform a power limit allocation method in response to one or more computing nodes in the system domain being reset or connected to an AC power source. The power limit refers to the maximum power that a computing node is allowed to extract under any load conditions. On the one hand, the power controller can be configured to perform a power limit allocation process 240 in response to the node initialization and / or power list confirmation process 220 before each computing node is fully powered on 290. On the other hand, the power controller can be configured to perform a power list confirmation process 220 and / or a dynamic allocation 240 of one or more power limits without interrupting the operation of the computing system. On the other hand, the power controller can be configured to perform a power limit allocation 240 for all computing nodes in the system domain based on the power list data 220, thereby allocating sufficient power to all computing nodes so that they can be fully powered on or run without the intervention of a specialized technician. The computing system can be configured to perform a node initialization and / or power list confirmation process 220 in response to changes in the computing system. In some examples, the power controller can implement automatic or dynamic resetting of power cap allocation in response to a change in the number of computing nodes in the system domain. This can include a situation where one or more computing nodes fail. This can include a situation where one or more computing nodes are added to the computing system. In some examples, the power controller can automatically reset the allocation of power caps in response to changes in parameters related to operating performance and / or power requirements. The power controller can be configured to determine the corresponding power caps of the computing nodes in the system domain in response to changes in total power. For example, if one of the power supply units of the power supply fails, or a new power supply is added to the system domain, the power supply controller is configured to reset the allocation of power caps accordingly.

[0022] Reference Figure 3 As part of the power inventory validation process, the power controller is configured to determine a total power pool (TPB) available for the entire system domain. The total power pool may include power to be shared among all computing nodes, as well as power required by other devices in the computing system.

[0023] The power inventory confirmation process includes determining power-related parameters 226 for computing nodes in the system domain. Each computing node can be associated with a corresponding power-related parameter. Examples of power-related parameters include a minimum power consumption value (P 最小 ) and the maximum power consumption value (P 最大). The minimum power consumption value refers to the power consumption of the computing node when the computing node is fully throttled, or the power consumption of the computing node when the computing node is in a minimum load working state. The minimum power consumption value may refer to the power of the computing node required to keep the computing node from shutting down. The maximum power consumption value refers to the power consumption of the computing node when the computing node is under load and the current is not throttled, or the power consumption of the computing node when it is in a full load working state.

[0024] like Figure 4 As shown, the power controller is configured to determine a priority order 242. The priority order refers to the order in which the respective power limits are assigned to the computing nodes one by one. In other words, the power controller is configured to determine the power limits of each computing node according to the priority order. The priority order can be a descending order based on the minimum power consumption values ​​of each of the multiple computing nodes in the system domain. The power controller is configured to determine the power limits of each computing node in sequence, starting from the computing node with the largest minimum power consumption value in the system domain. The last computing node to be assigned a power limit will be the computing node with the smallest minimum power consumption value in the system domain. If two computing nodes have the same minimum power consumption value, the power limit will be assigned preferentially to the computing node with the higher maximum power consumption value.

[0025] The power controller is also configured to determine the total available power (TP) 244. The total power available for all computing nodes can be a major part of the total power pool. The power controller is configured to perform a power list confirmation process in response to a change in the total power pool. According to an embodiment of the present disclosure, the total power is dynamically updated. For the sake of simplicity, computing nodes that have been assigned power limits are referred to as determined computing nodes, and computing nodes that have not been assigned power limits are referred to as pending computing nodes. As an example, a case where a new computing node is added to two existing computing nodes is described here. At the beginning of the power limit allocation sequence, the pending computing nodes include all three computing nodes. The power controller is configured to determine a power limit PC1 and assign the power limit PC1 to a first computing node, wherein the power limit PC1 is based on the total power TP1. In the next step, the first computing node is considered to be a determined computing node, and the second computing node and the third computing node are considered to be pending computing nodes. The power limit PC2 now determined for the second computing node is based on the total power TP2 available to the corresponding pending computing node. Similarly, the power cap PC3 allocated to the remaining pending computing nodes is based on the total power TP3 available corresponding to this step. Therefore, it can be understood that the power controller is configured to determine the corresponding power cap in response to the dynamically changing total power throughout the process of allocating power caps to multiple computing nodes in the same system domain. The power management method includes dynamically determining the total power. In other words, the power management method includes determining the total power available to the pending computing nodes in each iteration of the power cap allocation process, wherein each iteration allocates the power cap to one of the multiple computing nodes in the system domain.

[0026] The power management method includes determining a power ratio 246 relative to one of a plurality of computing nodes in the system domain. In some embodiments, the power ratio corresponding to the computing node is a maximum power consumption value P of the computing node. 最大 The maximum total power consumption of the pending computing nodes in the system domain (∑P 最大 For example, in a system domain with four computing nodes, ΣP 最大 The power ratio is the sum of the maximum power consumption of the third computing node and the maximum power consumption of the fourth computing node in the order, that is, the total maximum power consumption. The power ratio can be expressed as (P 最大 / ∑P 最大 It will be appreciated that the determination of the total power and the power ratio may be performed in any order relative to each other and need not necessarily be in the order shown above. Figure 4 Instead of performing the operations in the order shown, for example, the power management system can be configured to determine the total power and the power ratio at approximately the same time.

[0027] The power management method further includes determining a power limit (PPCn) of a computing node in the system domain, wherein the power limit is a minimum power consumption value (P 最小 ) and the larger value of the maximum power function value. The maximum power function value (P 最大 The function value is the ratio of the total power (TP) of the computing node to be determined and the power of the computing node (P 最大 / ∑P 最大 ), as shown in Equation 1 below:

[0028] Equation 1:

[0029]

[0030] After allocating the power cap to a computing node, the power controller is configured to iteratively allocate the power cap to the next computing node in the order. In this iteration, the total power and the maximum power consumption total value are updated corresponding to the pending computing node. The power cap allocation process can be configured to continue to allocate until all computing nodes in the system domain have been allocated the corresponding power cap.

[0031] Examples of power management systems and methods are further described below to aid understanding. Figure 5 A computing system with four computing nodes with respective power parameters is shown. In this example, the total power (TP) to be allocated to the four computing nodes is 1757 watts (Watts). The P of computing node A 最小 is 500W, its P 最大 is 600W. Calculate the P of node B 最小 is 250W, its P 最大 is 400W. The P of computing node C 最小 is 400W, its P 最大 is 500W. 最小 is 600W, its P 最大 The power controller is configured to 最小 The power cap allocation is performed in the order determined by the descending order of the values ​​of . Therefore, the power cap allocation will be performed according to the following order: computing node D, followed by the next computing node A, followed by computing node C, and then computing node B.

[0032] The power limits of the various computing nodes are determined according to the order of precedence. For example, the power limit of the pending computing node A is set to the larger value of the first value and the second value. The first value in this example is the P of computing node A. 最小 , that is, P 最小=500W. The total power (TP) at this stage is the total power pool (TPB) minus the power limit that has been allocated to the given compute node D (compute node D is before compute node A in the order of precedence). Therefore, the total power corresponding to compute node A is 1757W–600W=1157W. The power ratio corresponding to compute node A can be expressed as: (P 最大 / ∑P 最大 ). 最大 Refers to the maximum power consumption of the undetermined computing node A, which is 600W. ∑P 最大 It refers to the total maximum power consumption of all the computing nodes to be determined at this time (that is, the sum of the maximum power consumption values ​​of the computing nodes whose power limits are to be determined). Therefore, the power limit ∑P for determining computing node A is 最大 =600W+500W+400W=1500W. Therefore, the power ratio used to determine the power limit of computing node A is approximately 0.400. The second value can be set to the product of the power ratio and the total power ((P 最大 / ∑P 最大 )×TP). In this example, the maximum power function value is the product of 0.400 and 1157 W, which is approximately 462.8 W. The power limit is the larger value of the first value 500 W and the second value 462.8 W. Therefore, the power limit allocated to computing node A is 500 W.

[0033] The power limit of the next computing node C is determined in order, and the total power is dynamically updated by subtracting the power limit assigned to computing node A. Therefore, the total power relative to the next computing node C is 1157W-500w=657W. The power ratio is also dynamically updated relative to the remaining pending computing nodes C and B. That is, at this time, computing node A has been assigned a power limit, and the calculation of the total maximum power consumption value does not include the maximum power consumption value of computing node A. The power ratio corresponding to the next computing node C is approximately 0.556, and the corresponding maximum power function value = 0.556×657=365.3W. The power controller is configured to compare the minimum power consumption value (400W) with the maximum power function value (365.3W) and select the larger value of the two as the power limit of computing node C. Therefore, computing node C is assigned a power limit of 400W.

[0034] FIG. 6A to FIG. 6D It shows how a computing system, such as a server system, can be configured so that its power management configuration can be adapted for systems with different numbers of computing nodes. Fig. 6A The case where only one computing node will be powered is shown. This situation can be detected during the initialization of the computing node and during the power list confirmation process. Since only one computing node is to be started, the power ratio is 1, and the total power of 2000W can be allocated to the computing node.

[0035] Figure 6B The same computing system is shown, but in the process of executing the power list confirmation, the power controller determines that two computing nodes (i.e., computing node D and computing node A) are about to enter the operating state. The power controller determines the order of the computing nodes, wherein it is determined that computing node D will be assigned a power limit before computing node A. This is based on the fact that the minimum power consumption value of computing node D is higher than the minimum power of computing node A. The power controller is configured to iteratively update the total power and power ratio before determining the power limits of each computing node in the system domain. Therefore, the total power and power ratio used to determine the power limit of computing node A are the updated total power and the updated power ratio. That is, in each iteration (also corresponding to each computing node in the order of precedence), the power limit is determined for a computing node. The power controller is configured so that the total power decreases and the power ratio increases during each iteration update. As shown in the figure, the sum of all allocated power limits is not greater than the original total power (total power before any allocation) available to all computing nodes.

[0036] Figure 6C The same computing system is shown, wherein another computing node C is about to enter an operating state. Figure 6C , according to the order of precedence, in the step of determining the power limit of computing node A, the current total power is 1300W, not Figure 6B 1000W as shown. This is because the original 2000W total power has been subtracted from the power limit (700W) allocated to computing node D. When computing node B is to enter the operating state, the total power is similarly and dynamically updated. As shown in the figure, the power controller is configured to take into account computing nodes that are later in the sequence when allocating power limits to computing nodes that are earlier in the sequence. The order of priority does not depend on which computing node is coupled to the computing system first, but on the power-related parameters of all computing nodes. In this way, even the computing node that joins the system domain last can be assigned a required power limit, which is a power limit sufficient for the computing node to operate.

[0037] Fig.6D The same computing system is shown, wherein another computing node B is about to enter an operational state. Using the method according to an embodiment of the present disclosure, power limits can be allocated so that each computing node is allocated a power limit sufficient for the computing node to operate, regardless of the order of the computing node in the startup (power supply) sequence, and regardless of when the computing node was added to the computing system. It can also be understood that using the power management method disclosed herein, the total power demand of all computing nodes does not exceed the total power available in the system domain. At the same time, the power ratio is also dynamically updated so that the power ratio increases.

[0038] As used herein, unless explicitly stated otherwise, the singular "a", "an" and "an" may be construed as including the plural "one or more".

[0039] The present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limiting. Many modifications and variations will be apparent to those of ordinary skill in the art. The exemplary embodiments are selected and described in order to explain the principles and practical applications, and to enable those of ordinary skill in the art to understand the various embodiments of the present disclosure with various modifications suitable for the particular use contemplated.

[0040] Therefore, although illustrative example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the description is not limiting and that various other changes and modifications may be implemented therein by those skilled in the art without departing from the scope or spirit of the present disclosure.

Claims

1. A power management method, It is characterized in that include: Sorting the one or more computing nodes in the system domain in descending order of their respective minimum power consumption values; as well as Allocating respective power limits to the one or more computing nodes in the order of priority, including: determining respective maximum power function values ​​relative to the one or more computing nodes; Determining a power limit for each of the one or more computing nodes, wherein the power limit is a larger value of a minimum power consumption value for each of the one or more computing nodes and a maximum power function value for each of the one or more computing nodes, and the maximum power function value is a product of a total power and a power ratio for each of the one or more computing nodes, the power ratio being a ratio of a maximum power consumption value for each of the one or more computing nodes to a total maximum power value of a pending computing node, the total power being determined relative to all of the pending computing nodes, the pending computing node being a computing node among the one or more computing nodes to which a power limit is not allocated; and The power limit is respectively allocated to corresponding computing nodes among the one or more computing nodes.

2. The power management method according to claim 1, It is characterized in that Also includes: If the minimum power consumption value of the computing node is equal to the minimum power consumption value of the next computing node, and if the maximum power consumption value of the computing node is greater than the maximum power consumption value of the next computing node, the computing node is placed before the next computing node in the precedence order.

3. The power management method according to claim 1, It is characterized in that Also includes: Before determining the power cap of each computing node in the system domain, the total power and the power ratio are iteratively updated.

4. The power management method according to claim 3, It is characterized in that Also includes: With each iterative update, the total power decreases and the power ratio increases.

5. A power management system, It is characterized in that include: A power controller, wherein the power controller is configured to: Sorting the one or more computing nodes in the system domain in descending order of their respective minimum power consumption values; as well as Allocating respective power limits to the one or more computing nodes in the order of priority, including: determining respective maximum power function values ​​relative to the one or more computing nodes; Determining a power limit for each of the one or more computing nodes, wherein the power limit is a larger value of a minimum power consumption value for each of the one or more computing nodes and a maximum power function value for each of the one or more computing nodes, and the maximum power function value is a product of a total power and a power ratio for each of the one or more computing nodes, the power ratio being a ratio of a maximum power consumption value for each of the one or more computing nodes to a total maximum power value of a pending computing node, the total power being determined relative to all of the pending computing nodes, the pending computing node being a computing node among the one or more computing nodes to which a power limit is not allocated; and The power limit is respectively allocated to corresponding computing nodes among the one or more computing nodes.

6. The power management system according to claim 5, It is characterized in that The power controller is also configured to: if the minimum power consumption value of the computing node is equal to the minimum power consumption value of the next computing node, and if the maximum power consumption value of the computing node is greater than the maximum power consumption value of the next computing node, then the computing node is placed before the next computing node in the order of precedence.

7. The power management system according to claim 5, It is characterized in that The power controller is further configured to iteratively update the total power and the power ratio before determining the power limit of each computing node in the system domain.

8. The power management system according to claim 7, It is characterized in that The power controller is further configured such that, with each iterative update, the total power decreases and the power ratio increases.