Class VmAllocationPolicyMigrationLocalRegressionRobust

All Implemented Interfaces:
VmAllocationPolicyMigration, VmAllocationPolicyMigrationDynamicUpperThreshold, VmAllocationPolicy

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:

Since:
CloudSim Toolkit 3.0
Author:
Anton Beloglazov
  • Constructor Details

    • VmAllocationPolicyMigrationLocalRegressionRobust

      public VmAllocationPolicyMigrationLocalRegressionRobust​(VmSelectionPolicy 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​(VmSelectionPolicy 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
  • Method Details

    • getParameterEstimates

      protected double[] getParameterEstimates​(double[] reversedUsageHistory)
      Gets the utilization estimates.
      Overrides:
      getParameterEstimates in class VmAllocationPolicyMigrationLocalRegression
      Parameters:
      reversedUsageHistory - the utilization history in reverse order
      Returns:
      the utilization estimates