VIRTUAL MACHINE POWER CONSUMPTION MEASUREMENT AND MANAGEMENT
First Claim
1. A method implemented on a computing device for computing power consumption of an activity that occurs across at least one virtual machine residing on a physical host server, comprising:
- defining an activity period as an amount of time elapsed between a beginning event and an ending event;
tracking each resource on each virtual machine that is used in the activity during the activity period;
computing power consumption for each virtual machine working on the activity during the activity period to obtain power consumption measurements;
summing the power consumption measurements for each virtual machine working on the activity during the activity period to obtain the total activity power consumption; and
outputting the total activity power consumption representing the total power consumed for the activity.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the virtual machine power metering system and method measure the power consumption of individual virtual machines. Power meter measurements for a physical host server are converted into individual virtual machine power meters that measure the power consumption of each individual virtual machine residing on the host server. The virtual machine power consumption is computed by generating a power model using the total power consumption of the host server and resource utilization for a virtual machine. Optimal power model coefficients are computed using the power model. The energy used by the virtual machine is computed using one of two embodiments. Embodiments of the system and method also can be used to obtain the power consumption for a specific activity (such as a service, request, or search query). In addition, the virtual machine power metering can be used for virtual machine power capping to allow power oversubscription in virtualized environments.
101 Citations
20 Claims
-
1. A method implemented on a computing device for computing power consumption of an activity that occurs across at least one virtual machine residing on a physical host server, comprising:
-
defining an activity period as an amount of time elapsed between a beginning event and an ending event; tracking each resource on each virtual machine that is used in the activity during the activity period; computing power consumption for each virtual machine working on the activity during the activity period to obtain power consumption measurements; summing the power consumption measurements for each virtual machine working on the activity during the activity period to obtain the total activity power consumption; and outputting the total activity power consumption representing the total power consumed for the activity. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method implemented on a computing device for individually controlling power consumption of a plurality of virtual machines residing on a physical host server, comprising:
using the computing device to perform the following; monitoring a power consumption of each virtual machine on the host server; measuring a peak power drawn by each virtual machine on the host server; determining whether any of the plurality of virtual machines has exceeded its power budget; if so, then determining whether a power budget of the host server has been exceeded; and if so, then reducing a power consumption of at least one of the virtual machines to reduced a total power consumption of the host server. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
17. A computer-implemented method for generating summary images for computing an individual power consumption of a virtual machine residing on a physical host server, comprising:
-
obtaining a total power consumption for the host server; determining a resource utilization for each resource on the host server to find out how much of each resource the virtual machine is using; summing each resource utilization for each resource to obtain a total resource utilization; generating a power model that relates the total resource utilization for the virtual machine to the total power consumption of the host server; determining M number of resources that are being used by the virtual machine; making N number of measurements of the total power consumption for N different values of resource utilization to obtain a system of N equations and M unknowns; solving the system of N equations to obtain M number of optimal power model coefficients; and computing the individual power consumption of the virtual machine using the power model and the optimal power model coefficients. - View Dependent Claims (18, 19, 20)
-
Specification