Power and energy profiling for efficient virtual environments
First Claim
1. A method of limiting power consumption of container instances instantiated on a host, the method comprising:
- upon receiving a request to instantiate a container instance on the host,identifying a container template to be used for instantiating the container instance based on the request, the container template defining a set of operating characteristics including one or more hardware or software resources of the host to be surfaced to the container instance;
assigning a power consumption threshold for the container instance based on the set of operating characteristics defined in the container template and one or more power consumption measurements of container instances previously instantiated according to the same container template; and
instantiating the container instance on the host according to the container template;
during execution of the container instance,monitoring consumption of the one or more hardware or software resources of the host consumed by the instantiated container instance;
correlating the monitored consumption of the one or more hardware or software resources with a power consumption of the container instance; and
determining whether the correlated power consumption exceeds the power consumption threshold of the container instance; and
in response to determining that the correlated power consumption exceeds the power consumption threshold, reducing, from a current level, one or more of;
a number of processor cycles over time useable by the container instance;
an amount of storage input/output over time that can be performed for the container instance;
an amount of network traffic over time that can be sent or received for the container instance;
ora display setting available to the container instance, thereby reducing the power consumption of the container instance to be below the power consumption threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
Deploying containers constrained by power profiles on a host system. A method includes identifying a container template, a set of reusable stored characteristics, to be used for deploying a container instance. The method further includes obtaining a power profile, defining at least one power consumption threshold, for the container instance based on at least one of the set of reusable stored characteristics of the container template or other information about the container instance. The method further includes deploying the container instance on the host system by applying the set of reusable stored characteristics and the power profile by applying one or more configuration layers which causes power to the container instance to be at least one of regulated or monitored based on information in the power profile.
-
Citations
20 Claims
-
1. A method of limiting power consumption of container instances instantiated on a host, the method comprising:
-
upon receiving a request to instantiate a container instance on the host, identifying a container template to be used for instantiating the container instance based on the request, the container template defining a set of operating characteristics including one or more hardware or software resources of the host to be surfaced to the container instance; assigning a power consumption threshold for the container instance based on the set of operating characteristics defined in the container template and one or more power consumption measurements of container instances previously instantiated according to the same container template; and instantiating the container instance on the host according to the container template; during execution of the container instance, monitoring consumption of the one or more hardware or software resources of the host consumed by the instantiated container instance; correlating the monitored consumption of the one or more hardware or software resources with a power consumption of the container instance; and determining whether the correlated power consumption exceeds the power consumption threshold of the container instance; and in response to determining that the correlated power consumption exceeds the power consumption threshold, reducing, from a current level, one or more of; a number of processor cycles over time useable by the container instance; an amount of storage input/output over time that can be performed for the container instance; an amount of network traffic over time that can be sent or received for the container instance;
ora display setting available to the container instance, thereby reducing the power consumption of the container instance to be below the power consumption threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computing device configured to host one or more container instances, the computing device comprising:
-
a processor; and a memory operatively coupled to the processor, the memory including instructions executable by the processor to cause the computing device to; receive a request to instantiate a container instance on the computing device; and in response to receiving the request to instantiate the container instance, identify a container template to be used for instantiating the container instance based on the request, the container template defining a set of operating characteristics including one or more hardware or software resources of the host to be surfaced to the container instance; assign a power consumption threshold for the container instance based on the set of operating characteristics defined in the container template and one or more power consumption measurements of container instances previously instantiated according to the same container template; and instantiate the container instance on the host according to the container template, wherein the power consumption threshold is compared to a power consumption of the container instance correlated to consumption of the one or more hardware or software resources during operation; and when the correlated power consumption exceeds the power consumption threshold, limit the consumption of the one or more hardware or software resources by the container instance such that the power consumption threshold is not exceeded. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A method of limiting power consumption of container instances instantiated on a host, the method comprising:
during execution of a container instance on the host, monitoring consumption of one or more hardware or software resources of the host consumed by the instantiated container instance on the host; correlating the monitored consumption of the one or more hardware or software resources with a power consumption of the container instance; and determining whether the correlated power consumption exceeds a power consumption threshold associated with the container instance; and in response to determining that the correlated power consumption exceeds the power consumption threshold, reducing, from a current level, one or more of; a number of processor cycles over time useable by the container instance; an amount of storage input/output over time that can be performed for the container instance; an amount of network traffic over time that can be sent or received for the container instance;
ora display setting available to the container instance, thereby reducing the power consumption of the container instance to be below the power consumption threshold. - View Dependent Claims (17, 18, 19, 20)
Specification