Commit 03e47ab0 authored by Anton Beloglazov's avatar Anton Beloglazov

Updated the javadocs

parent 96510cb0
...@@ -24,6 +24,14 @@ import org.cloudbus.cloudsim.core.predicates.PredicateType; ...@@ -24,6 +24,14 @@ import org.cloudbus.cloudsim.core.predicates.PredicateType;
/** /**
* PowerDatacenter is a class that enables simulation of power-aware data centers. * PowerDatacenter is a class that enables simulation of power-aware data centers.
* *
* If you are using any algorithms, policies or workload included in the power package please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov * @author Anton Beloglazov
* @since CloudSim Toolkit 2.0 * @since CloudSim Toolkit 2.0
*/ */
......
...@@ -7,6 +7,17 @@ import org.cloudbus.cloudsim.core.SimEvent; ...@@ -7,6 +7,17 @@ import org.cloudbus.cloudsim.core.SimEvent;
/** /**
* The Class PowerDatacenterBroker. * The Class PowerDatacenterBroker.
*
* If you are using any algorithms, policies or workload included in the power package please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
* @since CloudSim Toolkit 2.0
*/ */
public class PowerDatacenterBroker extends DatacenterBroker { public class PowerDatacenterBroker extends DatacenterBroker {
......
...@@ -23,6 +23,14 @@ import org.cloudbus.cloudsim.core.predicates.PredicateType; ...@@ -23,6 +23,14 @@ import org.cloudbus.cloudsim.core.predicates.PredicateType;
* PowerDatacenterNonPowerAware is a class that represents a non-power aware data center in the * PowerDatacenterNonPowerAware is a class that represents a non-power aware data center in the
* context of power-aware simulations. * context of power-aware simulations.
* *
* If you are using any algorithms, policies or workload included in the power package please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov * @author Anton Beloglazov
* @since CloudSim Toolkit 2.0 * @since CloudSim Toolkit 2.0
*/ */
......
...@@ -19,6 +19,14 @@ import org.cloudbus.cloudsim.provisioners.RamProvisioner; ...@@ -19,6 +19,14 @@ import org.cloudbus.cloudsim.provisioners.RamProvisioner;
/** /**
* PowerHost class enables simulation of power-aware hosts. * PowerHost class enables simulation of power-aware hosts.
* *
* If you are using any algorithms, policies or workload included in the power package please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov * @author Anton Beloglazov
* @since CloudSim Toolkit 2.0 * @since CloudSim Toolkit 2.0
*/ */
......
...@@ -11,6 +11,17 @@ import org.cloudbus.cloudsim.util.MathUtil; ...@@ -11,6 +11,17 @@ import org.cloudbus.cloudsim.util.MathUtil;
/** /**
* The Class PowerHostUtilizationHistory. * The Class PowerHostUtilizationHistory.
*
* If you are using any algorithms, policies or workload included in the power package please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
* @since CloudSim Toolkit 2.0
*/ */
public class PowerHostUtilizationHistory extends PowerHost { public class PowerHostUtilizationHistory extends PowerHost {
......
...@@ -12,6 +12,17 @@ import flanagan.analysis.Stat; ...@@ -12,6 +12,17 @@ import flanagan.analysis.Stat;
/** /**
* The Class PowerVm. * The Class PowerVm.
*
* If you are using any algorithms, policies or workload included in the power package please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
* @since CloudSim Toolkit 2.0
*/ */
public class PowerVm extends Vm { public class PowerVm extends Vm {
......
...@@ -13,8 +13,15 @@ import org.cloudbus.cloudsim.core.CloudSim; ...@@ -13,8 +13,15 @@ import org.cloudbus.cloudsim.core.CloudSim;
/** /**
* The Class PowerVmAllocationPolicyAbstract. * The Class PowerVmAllocationPolicyAbstract.
* *
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov * @author Anton Beloglazov
* @since Jan 5, 2012
*/ */
public abstract class PowerVmAllocationPolicyAbstract extends VmAllocationPolicy { public abstract class PowerVmAllocationPolicyAbstract extends VmAllocationPolicy {
......
...@@ -18,6 +18,16 @@ import org.cloudbus.cloudsim.util.ExecutionTimeMeasurer; ...@@ -18,6 +18,16 @@ import org.cloudbus.cloudsim.util.ExecutionTimeMeasurer;
/** /**
* The Class PowerVmAllocationPolicyMigrationAbstract. * The Class PowerVmAllocationPolicyMigrationAbstract.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public abstract class PowerVmAllocationPolicyMigrationAbstract extends PowerVmAllocationPolicyAbstract { public abstract class PowerVmAllocationPolicyMigrationAbstract extends PowerVmAllocationPolicyAbstract {
......
...@@ -9,6 +9,16 @@ import org.cloudbus.cloudsim.util.MathUtil; ...@@ -9,6 +9,16 @@ import org.cloudbus.cloudsim.util.MathUtil;
/** /**
* The Class PowerVmAllocationPolicyMigrationMad. * The Class PowerVmAllocationPolicyMigrationMad.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerVmAllocationPolicyMigrationInterQuartileRange extends public class PowerVmAllocationPolicyMigrationInterQuartileRange extends
PowerVmAllocationPolicyMigrationAbstract { PowerVmAllocationPolicyMigrationAbstract {
......
...@@ -8,6 +8,16 @@ import org.cloudbus.cloudsim.util.MathUtil; ...@@ -8,6 +8,16 @@ import org.cloudbus.cloudsim.util.MathUtil;
/** /**
* The Class PowerVmAllocationPolicyMigrationLocalRegressionRobust. * The Class PowerVmAllocationPolicyMigrationLocalRegressionRobust.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerVmAllocationPolicyMigrationLocalRegression extends PowerVmAllocationPolicyMigrationAbstract { public class PowerVmAllocationPolicyMigrationLocalRegression extends PowerVmAllocationPolicyMigrationAbstract {
......
...@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.util.MathUtil; ...@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.util.MathUtil;
/** /**
* The Class PowerVmAllocationPolicyMigrationLocalRegressionRobust. * The Class PowerVmAllocationPolicyMigrationLocalRegressionRobust.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerVmAllocationPolicyMigrationLocalRegressionRobust extends public class PowerVmAllocationPolicyMigrationLocalRegressionRobust extends
PowerVmAllocationPolicyMigrationLocalRegression { PowerVmAllocationPolicyMigrationLocalRegression {
......
...@@ -9,6 +9,16 @@ import org.cloudbus.cloudsim.util.MathUtil; ...@@ -9,6 +9,16 @@ import org.cloudbus.cloudsim.util.MathUtil;
/** /**
* The Class PowerVmAllocationPolicyMigrationMad. * The Class PowerVmAllocationPolicyMigrationMad.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerVmAllocationPolicyMigrationMedianAbsoluteDeviation extends public class PowerVmAllocationPolicyMigrationMedianAbsoluteDeviation extends
PowerVmAllocationPolicyMigrationAbstract { PowerVmAllocationPolicyMigrationAbstract {
......
...@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.Vm; ...@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.Vm;
/** /**
* The Class PowerVmAllocationPolicyMigrationThresholds. * The Class PowerVmAllocationPolicyMigrationThresholds.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerVmAllocationPolicyMigrationStaticThreshold extends PowerVmAllocationPolicyMigrationAbstract { public class PowerVmAllocationPolicyMigrationStaticThreshold extends PowerVmAllocationPolicyMigrationAbstract {
......
...@@ -10,6 +10,14 @@ import org.cloudbus.cloudsim.Vm; ...@@ -10,6 +10,14 @@ import org.cloudbus.cloudsim.Vm;
* This a simple class representing a simple VM allocation policy that does not perform any * This a simple class representing a simple VM allocation policy that does not perform any
* optimization of the VM allocation. * optimization of the VM allocation.
* *
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov * @author Anton Beloglazov
* @since Jan 5, 2012 * @since Jan 5, 2012
* *
......
...@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.Vm; ...@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.Vm;
/** /**
* The Class PowerVmSelectionPolicy. * The Class PowerVmSelectionPolicy.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public abstract class PowerVmSelectionPolicy { public abstract class PowerVmSelectionPolicy {
......
...@@ -9,6 +9,16 @@ import flanagan.analysis.Regression; ...@@ -9,6 +9,16 @@ import flanagan.analysis.Regression;
/** /**
* The Class PowerVmSelectionPolicyMaximumCorrelation. * The Class PowerVmSelectionPolicyMaximumCorrelation.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerVmSelectionPolicyMaximumCorrelation extends PowerVmSelectionPolicy { public class PowerVmSelectionPolicyMaximumCorrelation extends PowerVmSelectionPolicy {
......
...@@ -6,6 +6,16 @@ import org.cloudbus.cloudsim.Vm; ...@@ -6,6 +6,16 @@ import org.cloudbus.cloudsim.Vm;
/** /**
* The Class PowerVmSelectionPolicyMinimumMigrationTime. * The Class PowerVmSelectionPolicyMinimumMigrationTime.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerVmSelectionPolicyMinimumMigrationTime extends PowerVmSelectionPolicy { public class PowerVmSelectionPolicyMinimumMigrationTime extends PowerVmSelectionPolicy {
......
...@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.core.CloudSim; ...@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.core.CloudSim;
/** /**
* The Class PowerVmSelectionPolicyMinimumUtilization. * The Class PowerVmSelectionPolicyMinimumUtilization.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerVmSelectionPolicyMinimumUtilization extends PowerVmSelectionPolicy { public class PowerVmSelectionPolicyMinimumUtilization extends PowerVmSelectionPolicy {
......
...@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.Vm; ...@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.Vm;
/** /**
* The Class PowerVmSelectionPolicyRandomSelection. * The Class PowerVmSelectionPolicyRandomSelection.
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerVmSelectionPolicyRandomSelection extends PowerVmSelectionPolicy { public class PowerVmSelectionPolicyRandomSelection extends PowerVmSelectionPolicy {
......
/* /*
* Title: CloudSim Toolkit * Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds * Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* *
* Copyright (c) 2009-2010, The University of Melbourne, Australia * Copyright (c) 2009-2010, The University of Melbourne, Australia
*/ */
...@@ -19,6 +18,16 @@ import org.cloudbus.cloudsim.lists.VmList; ...@@ -19,6 +18,16 @@ import org.cloudbus.cloudsim.lists.VmList;
/** /**
* PowerVmList is a collection of operations on lists of power-enabled VMs. * PowerVmList is a collection of operations on lists of power-enabled VMs.
* *
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*
* @author Anton Beloglazov * @author Anton Beloglazov
* @since CloudSim Toolkit 2.0 * @since CloudSim Toolkit 2.0
*/ */
...@@ -31,6 +40,7 @@ public class PowerVmList extends VmList { ...@@ -31,6 +40,7 @@ public class PowerVmList extends VmList {
*/ */
public static <T extends Vm> void sortByCpuUtilization(List<T> vmList) { public static <T extends Vm> void sortByCpuUtilization(List<T> vmList) {
Collections.sort(vmList, new Comparator<T>() { Collections.sort(vmList, new Comparator<T>() {
@Override @Override
public int compare(T a, T b) throws ClassCastException { public int compare(T a, T b) throws ClassCastException {
Double aUtilization = a.getTotalUtilizationOfCpuMips(CloudSim.clock()); Double aUtilization = a.getTotalUtilizationOfCpuMips(CloudSim.clock());
......
/* /*
* Title: CloudSim Toolkit * Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds * Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* *
* Copyright (c) 2009-2010, The University of Melbourne, Australia * Copyright (c) 2009-2010, The University of Melbourne, Australia
*/ */
...@@ -9,9 +8,18 @@ ...@@ -9,9 +8,18 @@
package org.cloudbus.cloudsim.power.models; package org.cloudbus.cloudsim.power.models;
/** /**
* The PowerModel interface needs to be implemented in order to * The PowerModel interface needs to be implemented in order to provide a model of power consumption
* provide a model of power consumption depending on utilization * depending on utilization for system components.
* for system components. *
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
* *
* @author Anton Beloglazov * @author Anton Beloglazov
* @since CloudSim Toolkit 2.0 * @since CloudSim Toolkit 2.0
...@@ -19,8 +27,7 @@ package org.cloudbus.cloudsim.power.models; ...@@ -19,8 +27,7 @@ package org.cloudbus.cloudsim.power.models;
public interface PowerModel { public interface PowerModel {
/** /**
* Get power consumption by the utilization percentage * Get power consumption by the utilization percentage according to the power model.
* according to the power model.
* *
* @param utilization the utilization * @param utilization the utilization
* @return power consumption * @return power consumption
......
/* /*
* Title: CloudSim Toolkit * Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds * Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* *
* Copyright (c) 2009-2010, The University of Melbourne, Australia * Copyright (c) 2009-2010, The University of Melbourne, Australia
*/ */
...@@ -11,6 +10,16 @@ package org.cloudbus.cloudsim.power.models; ...@@ -11,6 +10,16 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The Class PowerModelCubic. * The Class PowerModelCubic.
* *
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*
* @author Anton Beloglazov * @author Anton Beloglazov
* @since CloudSim Toolkit 2.0 * @since CloudSim Toolkit 2.0
*/ */
...@@ -37,7 +46,9 @@ public class PowerModelCubic implements PowerModel { ...@@ -37,7 +46,9 @@ public class PowerModelCubic implements PowerModel {
setConstant((maxPower - getStaticPower()) / Math.pow(100, 3)); setConstant((maxPower - getStaticPower()) / Math.pow(100, 3));
} }
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see gridsim.virtualization.power.PowerModel#getPower(double) * @see gridsim.virtualization.power.PowerModel#getPower(double)
*/ */
@Override @Override
......
/* /*
* Title: CloudSim Toolkit * Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds * Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* *
* Copyright (c) 2009-2010, The University of Melbourne, Australia * Copyright (c) 2009-2010, The University of Melbourne, Australia
*/ */
...@@ -11,6 +10,16 @@ package org.cloudbus.cloudsim.power.models; ...@@ -11,6 +10,16 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The Class PowerModelLinear. * The Class PowerModelLinear.
* *
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*
* @author Anton Beloglazov * @author Anton Beloglazov
* @since CloudSim Toolkit 2.0 * @since CloudSim Toolkit 2.0
*/ */
...@@ -37,7 +46,9 @@ public class PowerModelLinear implements PowerModel { ...@@ -37,7 +46,9 @@ public class PowerModelLinear implements PowerModel {
setConstant((maxPower - getStaticPower()) / 100); setConstant((maxPower - getStaticPower()) / 100);
} }
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see cloudsim.power.PowerModel#getPower(double) * @see cloudsim.power.PowerModel#getPower(double)
*/ */
@Override @Override
......
package org.cloudbus.cloudsim.power.models; package org.cloudbus.cloudsim.power.models;
/** /**
* The abstract class of power models created based on data * The abstract class of power models created based on data from SPECpower benchmark:
* from SPECpower benchmark: http://www.spec.org/power_ssj2008/ * http://www.spec.org/power_ssj2008/
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public abstract class PowerModelSpecPower implements PowerModel { public abstract class PowerModelSpecPower implements PowerModel {
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModel#getPower(double) * @see org.cloudbus.cloudsim.power.models.PowerModel#getPower(double)
*/ */
@Override @Override
......
...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models; ...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The power model of an HP ProLiant ML110 G3 (1 x [Pentium D930 3000 MHz, 2 cores], 4GB). * The power model of an HP ProLiant ML110 G3 (1 x [Pentium D930 3000 MHz, 2 cores], 4GB).
* http://www.spec.org/power_ssj2008/results/res2011q1/power_ssj2008-20110127-00342.html * http://www.spec.org/power_ssj2008/results/res2011q1/power_ssj2008-20110127-00342.html
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerModelSpecPowerHpProLiantMl110G3PentiumD930 extends PowerModelSpecPower { public class PowerModelSpecPowerHpProLiantMl110G3PentiumD930 extends PowerModelSpecPower {
/** The power. */ /** The power. */
private final double[] power = { 105, 112, 118, 125, 131, 137, 147, 153, 157, 164, 169 }; private final double[] power = { 105, 112, 118, 125, 131, 137, 147, 153, 157, 164, 169 };
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int) * @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int)
*/ */
@Override @Override
......
...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models; ...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The power model of an HP ProLiant ML110 G4 (1 x [Xeon 3040 1860 MHz, 2 cores], 4GB). * The power model of an HP ProLiant ML110 G4 (1 x [Xeon 3040 1860 MHz, 2 cores], 4GB).
* http://www.spec.org/power_ssj2008/results/res2011q1/power_ssj2008-20110127-00342.html * http://www.spec.org/power_ssj2008/results/res2011q1/power_ssj2008-20110127-00342.html
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerModelSpecPowerHpProLiantMl110G4Xeon3040 extends PowerModelSpecPower { public class PowerModelSpecPowerHpProLiantMl110G4Xeon3040 extends PowerModelSpecPower {
/** The power. */ /** The power. */
private final double[] power = { 86, 89.4, 92.6, 96, 99.5, 102, 106, 108, 112, 114, 117 }; private final double[] power = { 86, 89.4, 92.6, 96, 99.5, 102, 106, 108, 112, 114, 117 };
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int) * @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int)
*/ */
@Override @Override
......
...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models; ...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The power model of an HP ProLiant ML110 G5 (1 x [Xeon 3075 2660 MHz, 2 cores], 4GB). * The power model of an HP ProLiant ML110 G5 (1 x [Xeon 3075 2660 MHz, 2 cores], 4GB).
* http://www.spec.org/power_ssj2008/results/res2011q1/power_ssj2008-20110124-00339.html * http://www.spec.org/power_ssj2008/results/res2011q1/power_ssj2008-20110124-00339.html
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerModelSpecPowerHpProLiantMl110G5Xeon3075 extends PowerModelSpecPower { public class PowerModelSpecPowerHpProLiantMl110G5Xeon3075 extends PowerModelSpecPower {
/** The power. */ /** The power. */
private final double[] power = { 93.7, 97, 101, 105, 110, 116, 121, 125, 129, 133, 135 }; private final double[] power = { 93.7, 97, 101, 105, 110, 116, 121, 125, 129, 133, 135 };
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int) * @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int)
*/ */
@Override @Override
......
...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models; ...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The power model of an IBM server x3250 (1 x [Xeon X3470 2933 MHz, 4 cores], 8GB). * The power model of an IBM server x3250 (1 x [Xeon X3470 2933 MHz, 4 cores], 8GB).
* http://www.spec.org/power_ssj2008/results/res2009q4/power_ssj2008-20091104-00213.html * http://www.spec.org/power_ssj2008/results/res2009q4/power_ssj2008-20091104-00213.html
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerModelSpecPowerIbmX3250XeonX3470 extends PowerModelSpecPower { public class PowerModelSpecPowerIbmX3250XeonX3470 extends PowerModelSpecPower {
/** The power. */ /** The power. */
private final double[] power = { 41.6, 46.7, 52.3, 57.9, 65.4, 73, 80.7, 89.5, 99.6, 105, 113 }; private final double[] power = { 41.6, 46.7, 52.3, 57.9, 65.4, 73, 80.7, 89.5, 99.6, 105, 113 };
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int) * @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int)
*/ */
@Override @Override
......
...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models; ...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The power model of an IBM server x3250 (1 x [Xeon X3480 3067 MHz, 4 cores], 8GB). * The power model of an IBM server x3250 (1 x [Xeon X3480 3067 MHz, 4 cores], 8GB).
* http://www.spec.org/power_ssj2008/results/res2010q4/power_ssj2008-20101001-00297.html * http://www.spec.org/power_ssj2008/results/res2010q4/power_ssj2008-20101001-00297.html
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerModelSpecPowerIbmX3250XeonX3480 extends PowerModelSpecPower { public class PowerModelSpecPowerIbmX3250XeonX3480 extends PowerModelSpecPower {
/** The power. */ /** The power. */
private final double[] power = { 42.3, 46.7, 49.7, 55.4, 61.8, 69.3, 76.1, 87, 96.1, 106, 113 }; private final double[] power = { 42.3, 46.7, 49.7, 55.4, 61.8, 69.3, 76.1, 87, 96.1, 106, 113 };
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int) * @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int)
*/ */
@Override @Override
......
...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models; ...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The power model of an IBM server x3550 (2 x [Xeon X5670 2933 MHz, 6 cores], 12GB). * The power model of an IBM server x3550 (2 x [Xeon X5670 2933 MHz, 6 cores], 12GB).
* http://www.spec.org/power_ssj2008/results/res2010q2/power_ssj2008-20100315-00239.html * http://www.spec.org/power_ssj2008/results/res2010q2/power_ssj2008-20100315-00239.html
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerModelSpecPowerIbmX3550XeonX5670 extends PowerModelSpecPower { public class PowerModelSpecPowerIbmX3550XeonX5670 extends PowerModelSpecPower {
/** The power. */ /** The power. */
private final double[] power = { 66, 107, 120, 131, 143, 156, 173, 191, 211, 229, 247 }; private final double[] power = { 66, 107, 120, 131, 143, 156, 173, 191, 211, 229, 247 };
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int) * @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int)
*/ */
@Override @Override
......
...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models; ...@@ -3,13 +3,25 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The power model of an IBM server x3550 (2 x [Xeon X5675 3067 MHz, 6 cores], 16GB). * The power model of an IBM server x3550 (2 x [Xeon X5675 3067 MHz, 6 cores], 16GB).
* http://www.spec.org/power_ssj2008/results/res2011q2/power_ssj2008-20110406-00368.html * http://www.spec.org/power_ssj2008/results/res2011q2/power_ssj2008-20110406-00368.html
*
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov
*/ */
public class PowerModelSpecPowerIbmX3550XeonX5675 extends PowerModelSpecPower { public class PowerModelSpecPowerIbmX3550XeonX5675 extends PowerModelSpecPower {
/** The power. */ /** The power. */
private final double[] power = { 58.4, 98, 109, 118, 128, 140, 153, 170, 189, 205, 222 }; private final double[] power = { 58.4, 98, 109, 118, 128, 140, 153, 170, 189, 205, 222 };
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int) * @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int)
*/ */
@Override @Override
......
/* /*
* Title: CloudSim Toolkit * Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds * Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* *
* Copyright (c) 2009-2010, The University of Melbourne, Australia * Copyright (c) 2009-2010, The University of Melbourne, Australia
*/ */
...@@ -11,6 +10,14 @@ package org.cloudbus.cloudsim.power.models; ...@@ -11,6 +10,14 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The Class PowerModelSqrt. * The Class PowerModelSqrt.
* *
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov * @author Anton Beloglazov
* @since CloudSim Toolkit 2.0 * @since CloudSim Toolkit 2.0
*/ */
...@@ -37,7 +44,9 @@ public class PowerModelSqrt implements PowerModel { ...@@ -37,7 +44,9 @@ public class PowerModelSqrt implements PowerModel {
setConstant((maxPower - getStaticPower()) / Math.sqrt(100)); setConstant((maxPower - getStaticPower()) / Math.sqrt(100));
} }
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see cloudsim.power.PowerModel#getPower(double) * @see cloudsim.power.PowerModel#getPower(double)
*/ */
@Override @Override
......
/* /*
* Title: CloudSim Toolkit * Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds * Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* *
* Copyright (c) 2009-2010, The University of Melbourne, Australia * Copyright (c) 2009-2010, The University of Melbourne, Australia
*/ */
...@@ -11,6 +10,14 @@ package org.cloudbus.cloudsim.power.models; ...@@ -11,6 +10,14 @@ package org.cloudbus.cloudsim.power.models;
/** /**
* The Class PowerModelSquare. * The Class PowerModelSquare.
* *
* If you are using any algorithms, policies or workload included in the power package, please cite
* the following paper:
*
* Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive
* Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in
* Cloud Data Centers", Concurrency and Computation: Practice and Experience, ISSN: 1532-0626, Wiley
* Press, New York, USA, 2011, DOI: 10.1002/cpe.1867
*
* @author Anton Beloglazov * @author Anton Beloglazov
* @since CloudSim Toolkit 2.0 * @since CloudSim Toolkit 2.0
*/ */
...@@ -37,7 +44,9 @@ public class PowerModelSquare implements PowerModel { ...@@ -37,7 +44,9 @@ public class PowerModelSquare implements PowerModel {
setConstant((maxPower - getStaticPower()) / Math.pow(100, 2)); setConstant((maxPower - getStaticPower()) / Math.pow(100, 2));
} }
/* (non-Javadoc) /*
* (non-Javadoc)
*
* @see gridsim.virtualization.power.PowerModel#getPower(double) * @see gridsim.virtualization.power.PowerModel#getPower(double)
*/ */
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment