Power consumption estimation system, power consumption estimation method, and power consumption estimation program
By partitioning server power ranges and training short-range models, the system accurately estimates workload power consumption, addressing overestimation issues and enhancing resource utilization and renewable energy integration.
Patent Information
- Application Number
- JP2023044191
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-10-03
- Estimated Expiration
- 2043-03-20
AI Technical Summary
Existing power consumption estimation methods, particularly those using single linear regression models, overestimate the power consumption of low-power workloads when trained on datasets with a long tail of high-power data points, leading to inaccurate workload scheduling and resource utilization decisions.
A power consumption estimation system that divides the entire power range of a physical server into predetermined divisions, training multiple short-range power models and using a classifier to identify specific power ranges for accurate power consumption estimation based on workload metrics.
The system effectively reduces overestimation and improves the accuracy of power consumption estimation for workloads, enabling better resource utilization and renewable energy integration.
Smart Images

Figure 2024134085000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for estimating the power consumption of a workload executed on a physical server. [Background technology]
[0002] In a typical workload execution environment, various workloads are executed side by side on a single physical server in order to save infrastructure costs. Here, a workload refers to software executed on a virtual machine built on a physical server.
[0003] These workloads have diverse power consumption characteristics; some workloads are low power consumption workloads and others are power intensive.
[0004] Being able to estimate the power consumption of individual workloads can help implement demand response and green computing measures, such as delaying power-intensive workloads to periods of energy surplus or renewable energy when possible, or moving power-intensive workloads to data centers that have energy surplus or renewable energy supplies.
[0005] Additionally, emissions of individual workloads can be calculated from their power consumption estimates, which can help make decisions at the individual workload level to meet high-level emission reduction targets.
[0006] Patent Document 1 discloses a method for attributing a portion of a server's power consumption to a workload running on the server based on the load level imposed on the server by the workload. The load level can be determined based on the usage of resources such as processor, memory, disk, and network. A regression model can be used to map the load level of the workload to a portion of the server's total power consumption in the form of server resource usage. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] U.S. Pat. No. 8,751,844 Summary of the Invention [Problem to be solved by the invention]
[0008] For example, the power consumption of a workload may be estimated using a single linear regression model, which is trained with a dataset having the full range of power consumption in, for example, a server.
[0009] For example, the intercept of a single linear regression model attempts to model the mean of a dataset of training data and can be large if the training data is high power data, which can lead to an overestimation of the power consumption of a workload. The intercept can be interpreted as the overhead component of the power consumption of a workload due to the operating system and middleware supporting the workload, increased heat dissipation due to the workload, and other factors.
[0010] In a typical data center, there are many low-power workloads and some others that are power-intensive. However, a model trained on a dataset with power-intensive workloads will overestimate the power consumption of the low-power workloads.
[0011] The technique disclosed in US Pat. No. 6,399,366 does not address the problem of overestimation observed when the distribution of training data contains a long tail of high-power data points.
[0012] Furthermore, workload scheduling and migration decisions made based on such overestimated workload power consumption estimates may not result in increased utilization of server resources and renewable energy supplies.
[0013] The present invention has been made in consideration of the above circumstances, and has an object to provide a technique that can appropriately estimate the power consumption of a workload. [Means for solving the problem]
[0014] In order to achieve the above-mentioned object, a power consumption estimation system according to one aspect is a power consumption estimation system that estimates the power consumption of a workload executed on a physical server, the power consumption estimation system having a processor, which trains a number of short range power models, which are power models that take metrics of the physical server as input and output power consumption values of the physical server, for a number of short ranges obtained by dividing the entire power range of the physical server into a predetermined number of divisions, trains a classifier that takes metrics of the physical server as input and outputs specific information that identifies the corresponding short range, identifies specific information that identifies the short range to be applied based on the metrics of the workload and the classifier, and estimates the power consumption of the workload based on the metrics of the workload and a short range power model corresponding to the short range indicated by the specific information. Effect of the Invention
[0015] According to the present invention, the power consumption of a workload can be appropriately estimated. [Brief description of the drawings]
[0016] [Figure 1] FIG. 1 is a diagram showing the overall configuration of a computing system according to an embodiment. [Diagram 2] FIG. 2 is a configuration diagram of a workload power estimation server according to an embodiment. [Diagram 3]FIG. 3 is a configuration diagram of a metric time series database according to an embodiment. [Figure 4a] FIG. 4a is a diagram illustrating the distribution of training data for server power consumption. [Figure 4b] FIG. 4b illustrates the overestimation of a single model trained at long range. [Figure 5a] FIG. 5a is a diagram illustrating partitioning of training data for a short range power model according to one embodiment. [Figure 5b] FIG. 5b is a block diagram of a short range power model database according to one embodiment. [Figure 6] FIG. 6 is a flow diagram of a process for developing an appropriate short range power model according to one embodiment. [Figure 7] FIG. 7 is a flowchart of a workload power consumption estimation process according to an embodiment. [Figure 8] FIG. 8 is a flowchart of a model management process according to an embodiment. [Figure 9] FIG. 9 is a diagram showing a workload energy consumption and CO2 emission visualization screen according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] The following embodiments will be described with reference to the drawings. Note that the following embodiments do not limit the scope of the invention, and not all of the elements and combinations thereof described in the embodiments are necessarily essential to the solution of the invention.
[0018] FIG. 1 is a diagram showing the overall configuration of an information system according to an embodiment.
[0019] The information system 10 includes a distributed computing system configured with N clusters 100 (N is 1 or more), a workload power estimation server 300 as an example of a power consumption estimation system, and a client 400. The clusters 100, the workload power estimation server 300, and the client 400 are connected via a main network 200.
[0020] The cluster 100 includes a server 101 that acts as a master (also called a master server), a server 103 that acts as a worker (also called a worker server), and a cluster network 102. The master server 101 and the worker server 103 may be, for example, architecturally homogeneous physical servers, i.e., servers with the same configuration of processors, memory, storage, network, etc. The master server 101 and the worker server 103 communicate via the cluster network 102 using a predetermined protocol.
[0021] The master server 101 manages and monitors the execution of workloads on the worker servers 103 in the cluster 100 to which it belongs. The master server 101 obtains time-stamped metrics of server power consumption and server and workload resource usage (e.g., processor usage, memory usage, storage usage, network usage, etc.) from each server via the cluster network 102, for example at regular intervals, using an appropriate interface such as an SNMP (Simple Network Management Protocol) interface or an API (Application Programming Interface), and pushes the metrics to a metric time series database 800 (see FIG. 2) in the workload power estimation server 300 via the main network 200.
[0022] The worker server 103 configures one or more virtual machines and executes one or more workloads on the virtual machines.
[0023] The Workload Power Estimation Server 300 uses the time-stamped metrics to train a power estimation model to estimate power consumption, and uses pre-trained models to estimate the power consumption of a workload in real time using the time-stamped metrics.
[0024] The client 400 executes a workload in one of the clusters 100 and monitors the power consumption of the workload estimated by the workload power estimation server 300 .
[0025] Next, the workload power estimating server 300 will be described in detail.
[0026] FIG. 2 is a configuration diagram of a workload power estimation server according to an embodiment.
[0027] The workload power estimation server 300 is an example of a computer and includes a processor 301, a memory 302, a local storage 303, a network interface 304, and an input / output device 305. The processor 301, the memory 302, the local storage 303, the network interface 304, and the input / output device 305 are communicatively connected via a system bus 306.
[0028] The processor 301 is, for example, a CPU (Central Processing Unit), which fetches a program read into the memory 302 and executes various processes.
[0029] The memory 302 is, for example, a RAM (Random Access Memory), and stores the programs executed by the processor 301 and necessary data.
[0030] The network interface 304 is, for example, an interface such as a wired LAN card or a wireless LAN card, and communicates with other devices (for example, the servers 101 and 103 of the cluster 100, the client 400, etc.) via the main network 200.
[0031] The input / output device 305 provides an interface for displaying information on the console 307 and for inputting information from the console 307 .
[0032] The local storage 303 is a recording device capable of permanently recording data, such as a hard disk drive (HDD) or a solid state drive (SSD), and records programs and data.
[0033] The local storage 303 stores an appropriate short-range power model development program 500, a workload power estimation program 600 as an example of a power consumption estimation program, a model management program 700, a metric time series database 800, a short-range power model database 900, and a power range identification classifier database 1000.
[0034] The appropriate short range power model development program 500 is executed by the processor 301 to develop and train an appropriate configuration for a short range power model. The workload power estimation program 600 is executed by the processor 301 to estimate the power consumption of a monitored workload. The model management program 700 is executed by the processor 301 to manage the short range power models and classifiers. The metric time series database 800 stores time-stamped server and workload metrics. The short range power model database 900 stores the short range power models. The power range identification classifier database 1000 stores classifiers (e.g., power range prediction models) that predict the power range of the workload for each of the clusters.
[0035] Next, a detailed configuration of the metric time series database 800 will be described.
[0036] FIG. 3 is a configuration diagram of a metric time series database according to an embodiment.
[0037] A metric time series database 800 is provided for each cluster 100, and stores metrics of servers and workloads in the corresponding cluster. The metric time series database 800 stores records for each point in time. The records include fields for a timestamp 801, a CPU usage 802, a memory usage 803, a disk usage 804, a network usage 805, and a power consumption 806.
[0038] Timestamp 801 stores a timestamp indicating the time when the metric corresponding to the record was acquired. CPU usage 802 stores the CPU (processor) usage at the time corresponding to the record. Memory usage 803 stores the memory usage at the time corresponding to the record. Disk usage 804 stores the disk (local storage) usage at the time corresponding to the record. Network usage 805 stores the network usage at the time corresponding to the record. Power consumption 806 stores the power consumption at the time corresponding to the record. Record 807 in the first row of the metric time series database 800 shown in FIG. 3 indicates that at 12:30:50 pm, the CPU usage is 20%, the memory usage is 100 MB, the disk usage is 120 kB, the network usage is 400 kB, and the power consumption is 150 W.
[0039] Next, the distribution of training data used for training a power consumption model for estimating the power consumption of a server will be described.
[0040] FIG. 4a is a diagram illustrating the distribution of training data for server power consumption.
[0041] First, the power consumption of the workload Ppred A typical linear recovery model for estimating is expressed as shown in equation (1) below. P pred =C cpu ·U cpu +C mem ·U men +C disk ·U disk +C nw ·U nw +C ···(1) Here, U cpu is the CPU usage, U mem is the memory usage, U disk is the disk usage, U nw is the network usage. Also, C cpu ,C mem ,C disk ,C nw are the model coefficients corresponding to each metric, and C is the model intercept that can be interpreted as the overhead component of the workload's power consumption, due to the OS and middleware supporting the workload, increased thermal diffusion due to the workload, and other factors. The intercept C is empirically observed to model the average power consumption of the training data points.
[0042] As can be seen in Figure 4a, the distribution of training data contains a long tail of high power data points, resulting in average power consumption 201 as shown. The large intercept value of the model results in an overestimation of server and workload power consumption since most data points are smaller than the average power consumption 201.
[0043] We next describe power consumption estimates for a single linear regression model created using training data of long range (eg, full range) power consumption.
[0044] FIG. 4b illustrates the overestimation of a single model trained at long range.
[0045] As shown in Fig. 4b, the ideal power consumption estimated by the linear regression model is equal to the actual power consumption, as shown by line 202. On the other hand, if a single linear regression model is created using training data of server power consumption having the distribution shown in Fig. 4a, the estimated power consumption will be as shown by line 203, due to the characteristic distribution of the training data and the tendency of the intercept of the model to follow the average value of the training data.
[0046] As can be seen by looking at lines 202 and 203, the power consumption is overestimated for most of the data points, while the high power data points are underestimated.
[0047] Next, the development of the power model according to this embodiment will be described.
[0048] FIG. 5a is a diagram illustrating partitioning of training data for a short range power model according to one embodiment.
[0049] In this embodiment, in order to reduce overestimation, a short-range power model is developed using short-range training data. Therefore, in this embodiment, the training data is divided into several sections (power ranges). The size of each power range can be the same or different.
[0050] The data belonging to a given power range is used to build a short range power model, which is a linear regression model that can predict the power consumption in that power range. Specifically, as shown in Fig. 5a, a first power range 2001 is used to build Model 1 that can estimate the power for only the first power range, similarly, a second power range 2002 is used to build Model 2 that can estimate the power for only the second power range, and a third power range 2003 is used to build Model 3 that can estimate the power for only the third power range.
[0051] The intercept of the short-range power model for estimating power in each power range is the average power consumption in each power range, rather than the average power consumption of the entire data distribution, which reduces overestimation in each power range and improves the accuracy of the workload power consumption estimation.
[0052] Next, a short-range power model database 900 that manages the above-mentioned multiple short-range power models will be described.
[0053] FIG. 5b is a block diagram of a short range power model database according to one embodiment.
[0054] The short range power model database 900 includes a table for each cluster. The table for each cluster includes a record of a short range power model for each power range. The record includes a power range 901 and a C cpu 902 and C mem 903 and C disk 904 and C nw The record includes fields C 905 and C 906. The power range 901 stores the power range of the short-range power model corresponding to the record. cpu In 902, a model coefficient for the CPU usage of the short-range power model corresponding to the record is stored. mem In 903, the model coefficient for the memory usage of the short-range power model corresponding to the record is stored. disk In 904, model coefficients for the disk usage of the short-range power model corresponding to the record are stored. nw 905 stores a model coefficient for the network usage of the short range power model corresponding to the record. C906 stores an intercept value of the short range power model corresponding to the record. Record 907 in the first row of the table of cluster 1 indicates that the power range of the short range power model corresponding to the record is 1-100W, Ccpu is 0.8, Cmen is 0.7, Cdisk is 0.65, Cnw is 0.5, and C is 52.
[0055] Next, a processing operation of the workload power estimating server 300 according to this embodiment will be described.
[0056] FIG. 6 is a flow diagram of a process for developing an appropriate short range power model according to one embodiment.
[0057] The appropriate short-range power model development process shown in Fig. 6 is a process for developing an appropriate short-range power model (appropriate short-range power model) for one server in a cluster. However, in this embodiment, each server in a cluster has a uniform configuration, so the developed appropriate short-range power model can be used for any server. This appropriate short-range power model development process is executed, for example, periodically or when instructed by a user.
[0058] In step 501, the appropriate short range power model development program 500 inputs time-stamped server resource usage data and server power consumption data that will be used to train the model. The server resource usage data includes time-stamped server level metrics for processor usage, memory usage, local storage usage, and network usage, as shown in FIG. 3. The server power consumption data includes a time-stamped total server power consumption reading minus a server standby power consumption reading. The server standby power consumption reading may be determined by a reading when the server is running without any workload.
[0059] In step 502, the appropriate short range power model development program 500 performs pre-processing on the time-stamped data, including removing outliers, or replacing missing values by suitable techniques, such as interpolating or averaging metrics, or other methods. Pre-processing may include time synchronization of metrics obtained from different interfaces. Pre-processing may also include using rolling or moving averages to better capture patterns in the metrics and help remove noise in the data.
[0060] In step 503, the appropriate short range power model development program 500 determines the maximum server power P max and the minimum server power P min Record the following.
[0061] In step 504, the appropriate short range power model development program 500 starts processing of loop 1 (504-515) by initializing N=1 to find an appropriate number of short range power models or an appropriate number N of power ranges (i.e., an appropriate number of sections N of the training data, an appropriate number of divisions).
[0062] In step 505, the appropriate short range power model development program 500 partitions the training data into N power ranges of equal size.
[0063] In step 506, the appropriate short range power model development program 500 begins processing loop 2 (506-514) to find an appropriate size for each of the N power ranges of the training data by initializing the number of iterations (#iterations)=0.
[0064] In step 507, the appropriate short-range power model development program 500 trains N short-range power models according to the N power ranges set in loop 1 and the size of each power range set in loop 2. The appropriate short-range power model development program 500 trains each short-range power model only with training data obtained from their respective power ranges, as described with reference to FIG. 5a. Here, inputs to the short-range power model are metrics related to the processor, memory, storage, and network, such as processor usage, memory usage, storage usage, and network usage, and outputs from the short-range power model are server power consumption (power consumption value). This server power consumption does not include power consumption in the standby state of the server. The short-range power model uses, for example, linear regression.
[0065] In step 508, the appropriate short-range power model development program 500 trains a classifier that can predict the power range for a given timestamp or time period using the N power ranges and the size of each power range. Here, the input to the classifier is metrics related to the processor, memory, storage, and network, such as processor usage, memory usage, storage usage, and network usage, and the output from the classifier is a label (specific information) that can identify the power range. For example, if the total power range of 1-800W is divided into three short ranges as 1-200W, 201-500W, and 501-800W, the label of the power range for 1-200W is 0, the label of the power range for 201-500W is 1, and the label of the power range for 501-800W is 2. In this way, the classifier may be a power range prediction model used to select an appropriate short-range power model for power estimation of a workload. The classifier can be developed using an artificial neural network, a decision tree, or any other suitable classification model.
[0066] In step 509, the appropriate short-range power model development program 500 tests the short-range power model developed in step 507 and the classifier developed in step 508 with test data to calculate the accuracy of the server power consumption. First, the appropriate short-range power model development program 500 predicts a power range for the input of the test data by the classifier. Then, the appropriate short-range power model development program 500 uses the short-range power model corresponding to the predicted power range to estimate the total power consumption by using the input of the test data. Then, the appropriate short-range power model development program 500 uses an appropriate accuracy rate measurement method to compare the estimated output with the output of the actual test data to calculate the test accuracy rate. Here, the accuracy rate measurement method may be, for example, RMSE (Root Mean Square Error) or MAPE (Mean Absolute Percentage Error).
[0067] In step 510, the appropriate short-range power model development program 500 compares the test accuracy rate with a preset threshold accuracy rate. If the test accuracy rate exceeds the preset threshold accuracy rate (510: Yes), in step 512, the appropriate short-range power model development program 500 stores the short-range power model trained with data divided into N power ranges (appropriate division number) with an appropriate size in the short-range power model database 900, and stores the classifier in the power range classifier database 1000.
[0068] On the other hand, if the test accuracy rate does not exceed the threshold accuracy rate (510: No), in step 511, the appropriate short-range power model development program 500 compares the number of iterations of loop 2 with a predefined iteration threshold. The iteration threshold can be defined based on, for example, the space and time complexities of the algorithm.
[0069] As a result, if the number of iterations of loop 2 does not exceed the predefined iteration threshold (511: No), then in step 513, appropriate short range power model development program 500 updates the size of the N power ranges using one of the appropriate optimization procedures. For example, if the total power range of 1-800W is divided into three short ranges as 1-200W, 201-500W, and 501-800W, the new settings may be 1-100W, 101-300W, and 301-800W.
[0070] In step 514 , the appropriate short range power model development program 500 increments (adds 1) the number of iterations of loop 2 , and repeats loop 2 from step 507 .
[0071] On the other hand, if the number of repetitions exceeds the threshold in step 511, the appropriate short range power model development program 500 exits the processing of loop 2, increments (adds 1) the number N of power ranges in step 515, and repeats loop 1 from step 505.
[0072] According to this appropriate short-range power model development process, the appropriate number of power ranges and the size of the power ranges are identified, and a short-range power model corresponding to the identified number of power ranges and a classifier can be registered in the database.
[0073] Next, the workload power consumption estimation process will be described.
[0074] FIG. 7 is a flowchart of a workload power consumption estimation process according to an embodiment.
[0075] The workload power consumption estimation process is executed, for example, periodically or when instructed by a user.
[0076] In step 601, the Workload Power Estimator 600 inputs time-stamped workload resource usage data, including time-stamped workload-level metrics for processor usage, memory usage, local storage usage, and network usage, as shown in FIG.
[0077] In step 602, the workload power estimator program 600 performs pre-processing on the time-stamped data. For example, if the short-range power model was trained on a rolling or moving average of the training data, the pre-processing may include using a rolling or moving average over a period of time.
[0078] In step 603, since the short range power model is trained on server level (physical server level) metrics, the workload power estimator 600 applies a predetermined appropriate scaling factor to the workload resource usage metrics to scale them up to the server level metrics.
[0079] For example, the workload metric U workload The server-level metric U servermay be converted to U serve =U workload / (number of processors used by the workload)*(total number of processors in the server) (2)
[0080] In step 604, the workload power estimator 600 inputs the scaled-up workload usage metrics into a pre-trained classifier that predicts power ranges.
[0081] In step 605, the workload power estimator 600 estimates the amount of power consumption for a given period of time using a pre-trained short range power model that corresponds to the expected power range.
[0082] In step 606, since the short range power model has been trained using server level data to output server power consumption, the workload power estimation program 600 scales down the server power consumption estimated in step 605 to a workload level power consumption using an appropriate predetermined factor.
[0083] For example, the server-level power consumption estimated by the short-range power model P ⌒ server The workload level power consumption prediction value P is calculated using the following formula (3). ⌒ workload can be converted to P⌒ workload =P⌒ server / (total number of processors in the server)*(number of processors used by the workload) (3)
[0084] In step 607, the workload power estimation program 600 outputs the estimated workload power consumption for the given time period.
[0085] According to the above-described workload power consumption estimation process, the amount of power consumption of a workload can be appropriately estimated.
[0086] Next, the model management process will be described.
[0087] FIG. 8 is a flowchart of a model management process according to an embodiment.
[0088] A model management process is performed to ensure that the short range power models and classifiers have a predefined accuracy rate.
[0089] In step 701, the model management program 700 performs an accuracy check at a scheduled time or periodically. Here, in the accuracy check, the short-range power model and the classifier are used to calculate the total estimated power for a given period of time for all workloads collocated on the server to be checked, and the accuracy is calculated by comparing the total estimated power for the server during this period (here, for example, the total power consumption of the server minus the standby server power consumption).
[0090] In step 702, the model management program 700 determines whether the accuracy rate exceeds a threshold accuracy rate.
[0091] As a result, if the accuracy rate exceeds the threshold accuracy rate (702: Yes), in step 706, the model management program 700 ensures that the latest versions of the short-range power models and classifiers for the corresponding cluster continue to be used to estimate the power consumption of workloads running on that cluster.
[0092] On the other hand, if the accuracy rate does not exceed the threshold accuracy rate (702: No), in step 703, the model management program 700 creates a new training data set and updates the version number of the training data set. Here, the new training data set may be, for example, the data collected in the metric time series database 800 after the last update of the short-range power model was performed.
[0093] In step 704, the model management program 700 causes the execution of the appropriate short range power model development program 500 using the latest version of the training data set, thereby executing an appropriate short range power model development process to develop a short range power model and a classifier that are compatible with the latest version of the training data set.
[0094] In step 705, the model management program 700 updates the version numbers of the short range power models and classifiers developed in step 704 with the latest version of the training dataset.
[0095] In step 706, the model manager 700 causes the latest version of the short range power model and classifier for the corresponding cluster to be used to estimate the power consumption of workloads running on that cluster.
[0096] This model management process allows short-range power models and classifiers to be updated appropriately.
[0097] Next, the workload energy consumption and CO2 emission visualization screen (visualization screen) displayed by the workload power estimating server 300 will be described.
[0098] FIG. 9 is a diagram showing a workload energy consumption and CO2 emission visualization screen according to an embodiment.
[0099] The visualization screen 3000 is a screen that shows the energy (power) consumption of a specified workload during a specified period and the composition of renewable energy (RE) and Brown energy (BE) in the energy consumption, and is displayed, for example, on the console 307 or client 400 by the workload power estimation program 600.
[0100] The visualization screen 3000 includes a workload ID input area 3001 , a start period input area 3002 , an end period input area 3003 , an add workload button 3004 , a clear button 3005 , and a graph display area 3006 .
[0101] The workload ID input area 3001 is an area for inputting the ID (workload ID) of the workload to be displayed in the graph display area 3006. The start period input area 3002 is an area for inputting the start point of the period for which the power consumption is to be measured. The end period input area 3003 is an area for inputting the end point of the period for which the power consumption is to be measured. The workload addition button 3004 is a button for receiving an instruction to add an object indicating the power consumption for the period input in the start period input area 3002 and the end period input area 3003 for the workload of the workload ID input in the workload ID input area 3001 to the graph display area 3006. The clear button 3005 is a button for receiving an instruction to erase the object of the workload of the input workload ID from the graph display area 3006. The graph display area 3006 is an area for displaying an object indicating the power consumption and the ratio of RE and BE for the workload that has been added. The information on RE and BE corresponding to the workload can be identified by externally acquiring information on the power supplied to the server that executes the workload.
[0102] The present invention is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit of the present invention.
[0103] For example, in the above-described embodiments, a part or all of the processing performed by the processor may be performed by a dedicated hardware circuit. Also, the programs in the above-described embodiments may be installed from a program source. The program source may be a program distribution server or a recording medium (e.g., a portable recording medium). [Explanation of symbols]
[0104] 10...information system, 100...cluster, 102...intra-cluster network, 101, 103...server, 200...main network, 300...workload power estimation server, 301...processor, 302...memory, 303...local storage, 304...network interface, 305...input / output device, 306...system bus, 307...console, 400...client
Claims
1. A power consumption estimation system for estimating power consumption of a workload executed on a physical server, comprising: The power consumption estimation system includes a processor. The processor, training a plurality of short range power models, which are power models that input metrics of the physical server and output power consumption values of the physical server, for a plurality of short ranges obtained by dividing an entire power range of the physical server into a predetermined number of divisions; Training a classifier that takes the metrics of the physical servers as input and outputs specific information that identifies the corresponding short ranges; Identifying specific information that identifies a short range to be applied based on the workload metric and the classifier; Estimating power consumption of the workload based on a metric of the workload and a short-range power model corresponding to the short range indicated by the identification information. Power consumption estimation system.
2. The processor, changing a number of divisions into which the entire power range of the physical server is divided, training the short-range power model for each short range for each of the number of divisions, and calculating an accuracy rate of power consumption estimated using the short-range power model for the number of divisions, thereby detecting a number of divisions for which the accuracy rate exceeds a predetermined threshold; The detected division number is determined as the division number when estimating the power consumption of the workload. The power consumption estimation system according to claim 1 .
3. The processor, Varying the size of the short range, training the short range power model for each short range according to the respective size, and calculating a correct answer rate of power consumption estimated using the short range power model, thereby detecting the size of the short range when the correct answer rate exceeds a predetermined threshold; The detected size of the short range is determined as the size of the short range when estimating the power consumption of the workload. The power consumption estimation system according to claim 1 .
4. The short-range power model outputs, as the power consumption of the physical server, the power consumption obtained by subtracting the power consumption of the physical server in a standby state from the total power consumption of the physical server. The power consumption estimation system according to claim 1 .
5. The processor, translating said workload metrics into physical server level metrics; inputting the physical server level metric into the classifier to identify a short range corresponding to the physical server level metric; inputting the metrics at the physical server level into a short-range power model corresponding to the identified short range to estimate power consumption at the physical server level; Converting the estimated power consumption to a power consumption at the level of said workload. The power consumption estimation system according to claim 1 .
6. The processor, acquiring new training data including metrics and power consumption of a physical server after previously training the short-range power model; a number of divisions into which the entire power range of the physical server is divided is changed, a short-range power model for each short range at each of the number of divisions is trained using the new training data, and an accuracy rate of power consumption estimated using the short-range power model at the number of divisions is calculated, thereby detecting an appropriate number of divisions that is a number of divisions at which the accuracy rate exceeds a predetermined threshold; The detected appropriate division number is determined as a division number for estimating the power consumption of the workload. The power consumption estimation system according to claim 1 .
7. The processor, Based on the power consumption of the physical server and the sum of the power consumptions estimated by the short-range power model for all the workloads collocated on the physical server, it is determined whether or not the estimation of the power consumption of the workloads by the short-range power model has a predetermined accuracy, and if the estimation does not have the predetermined accuracy, new training data is acquired, and the appropriate division number is detected using the new training data, and the appropriate division number is determined as the division number when estimating the appropriate division number. The power consumption estimation system according to claim 6 .
8. The processor, Displaying the estimated power consumption of said workload The power consumption estimation system according to claim 1 .
9. A power consumption estimation method for estimating power consumption of a workload executed on a physical server, comprising: The power consumption estimation system includes: training a plurality of short range power models, which are power models that input metrics of the physical server and output power consumption values of the physical server, for a plurality of short ranges obtained by dividing an entire power range of the physical server into a predetermined number of divisions; training a classifier that takes the physical server metrics as input to identify corresponding short ranges; Identifying a short range to apply based on the workload metric and the classifier; Estimating power consumption of the workload based on metrics of the workload and a short range power model corresponding to the identified short range. Power consumption estimation method.
10. A power consumption estimation program for causing a computer to execute a process for estimating power consumption of a workload executed on a physical server, the program comprising: The power consumption estimation program includes: The computer training a plurality of short range power models, which are power models that input metrics of the physical server and output power consumption values of the physical server, for a plurality of short ranges obtained by dividing the entire power range of the physical server into a predetermined number of divisions; training a classifier that takes the physical server metrics as input to identify corresponding short ranges; identifying a short range to be applied based on the workload metric and the classifier; Estimating power consumption of the workload based on metrics of the workload and a short-range power model corresponding to the identified short range. Power consumption estimation program.
Citation Information
Patent Citations
Control assisting device, apparatus controller, control assisting method, control assisting program, prelearned model for making computer function, and method for generating prelearned model
JP2020067762A
Inference device and inference program
JP2022149977A
Information processing method, information processing device, and program
WO2020250723A1
Systems and methods for attributing an amount of power consumption to a workload
US8751844B2
