The BtrPlace Constraints Catalog
Constraints

MinSpareResources

Definition

Signature

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

The minSpareResources restricts to at least 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 the control of a power saving strategy. The most effective solution to reduce the energy consumption of a non-saturated datacenter is to turn off unused servers and to turn them on and off depending on the load variation. When a load spike arise, it may 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 minSpareResources constraints to control the minimum number of free resources to let directly available while the other unused resources are still manageable by the power saving strategy.

Example

Figure 19 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 minSpareResources constraints were considered:

img/minSpareResources

figure 19: A reconfiguration motivated by minSpareResources constraints.

See also

Related Constraints