VmAllocationPolicyMigrationInterQuartileRange

public class VmAllocationPolicyMigrationInterQuartileRange extends VmAllocationPolicyMigrationDynamicUpperThresholdFirstFit

A VM allocation policy that uses Inter Quartile Range (IQR) to compute a dynamic threshold in order to detect host over utilization. It’s a Best Fit policy which selects the Host with most efficient power usage to place a given VM.

If you are using any algorithms, policies or workload included in the power package please cite the following paper:

Author:Anton Beloglazov

Constructors

VmAllocationPolicyMigrationInterQuartileRange

public VmAllocationPolicyMigrationInterQuartileRange(PowerVmSelectionPolicy vmSelectionPolicy)

Creates a VmAllocationPolicyMigrationInterQuartileRange with a safety parameter equals to 0 and no fallback policy.

Parameters:
  • vmSelectionPolicy – the policy that defines how VMs are selected for migration

VmAllocationPolicyMigrationInterQuartileRange

public VmAllocationPolicyMigrationInterQuartileRange(PowerVmSelectionPolicy vmSelectionPolicy, double safetyParameter, VmAllocationPolicyMigration fallbackPolicy)

Creates a VmAllocationPolicyMigrationInterQuartileRange.

Parameters:
  • vmSelectionPolicy – the policy that defines how VMs are selected for migration
  • safetyParameter – the safety parameter
  • fallbackPolicy – the fallback VM allocation policy to be used when the over utilization host detection doesn’t have data to be computed

Methods

computeHostUtilizationMeasure

public double computeHostUtilizationMeasure(Host host)

Computes the host utilization IRQ used for generating the host over utilization threshold.

Parameters:
  • host – the host
Returns:

the host CPU utilization percentage IQR