The BtrPlace Constraints Catalog
Constraints

MaxSpareResources

Definition

Signature

maxSpareResources(s : set<server>, rc : string, n : number)

The maxSpareResources restricts to at most n, the number of free resources directly available for VMs on the online servers in s. Servers in the Offline state are ignored.

Classification

Usage

This constraint deserves a power saving concern. The most effective solution to reduce the energy consumption of a non-saturated datacenter is to turn off unused servers and to turn on and off servers depending on the load variation. When a load spike arise, it may then be a necessary to put some servers online to make their resources available to the VMs. [26], [48] The time to boot the awaited servers may however be significant and alter the reactivity of the datacenter when it faces an emergency situations. One solution is to let online a controlled number of spare resources that can be used instantly to absorb the load increase. A datacenter administrator may then use one maxSpareResources constraint to control the maximum number of unused servers to let online while the others will be turned off to save power.

It is worth noting that despite this constraint is applicable to a various number of resources, it is preferable to only focus the nodes resource. Indeed, a server provides resources at a coarse grain and it may not be possible to manage the resources according to the constraint by only managing the servers state.

Example

Figure 20 depicts a sample reconfiguration between a source and a destination configuration where each server provides 8 unit of CPU and 7 unit of memory resources to VMs. During the reconfiguration, several relocations have been performed and the server N3 has been turned off to save power. In this setting, the following maxSpareResources constraints were considered:

img/maxSpareResources

figure 20: A reconfiguration motivated by maxSpareResources constraints.

See also

Related Constraints