This Energy capping feature is created by using both the BDWatchdog monitoring capabilities as well as the Serverless containers framework. This combination makes it possible to rescale the CPU in real time and thus adjust the energy that a container or a set of containers consume at any moment. In order to have energy metrics an additional tool, PowerAPI, is also used.

With this energy management feature some interesting features can be exploited:

  • Energy as another accountable resource, as now energy can be seen as a resource and thus it can be shared and accounted between the users/containers.
  • Energy limit enforcement by setting a limit to a container(s)/user and having it respected.

Figure 1: Application-view plot of the CPU in a PageRank workload without energy cap
Figure 2: Application-view plot of the Energy in a PageRank workload without energy cap
Figure 3: Application-view plot of the CPU in a PageRank workload with energy cap
Figure 4: Application-view plot of the Energy in a PageRank workload with energy cap