VmAllocationPolicyMigrationLocalRegressionRobust

public class VmAllocationPolicyMigrationLocalRegressionRobust extends VmAllocationPolicyMigrationLocalRegression

A VM allocation policy that uses Local Regression Robust (LRR) to predict host utilization (load) and define if a host is overloaded or not. 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

VmAllocationPolicyMigrationLocalRegressionRobust

public VmAllocationPolicyMigrationLocalRegressionRobust(PowerVmSelectionPolicy vmSelectionPolicy)

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

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

VmAllocationPolicyMigrationLocalRegressionRobust

public VmAllocationPolicyMigrationLocalRegressionRobust(PowerVmSelectionPolicy vmSelectionPolicy, double safetyParameter, VmAllocationPolicyMigration fallbackVmAllocationPolicy)

Creates a VmAllocationPolicyMigrationLocalRegressionRobust.

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

Methods

getParameterEstimates

protected double[] getParameterEstimates(double[] reversedUsageHistory)

Gets the utilization estimates.

Parameters:
  • reversedUsageHistory – the utilization history in reverse order
Returns:

the utilization estimates