Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
gpucloudsim
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LPDS
gpucloudsim
Commits
03e47ab0
Commit
03e47ab0
authored
Jan 06, 2012
by
Anton Beloglazov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the javadocs
parent
96510cb0
Show whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
435 additions
and
100 deletions
+435
-100
PowerDatacenter.java
...ain/java/org/cloudbus/cloudsim/power/PowerDatacenter.java
+8
-0
PowerDatacenterBroker.java
...va/org/cloudbus/cloudsim/power/PowerDatacenterBroker.java
+11
-0
PowerDatacenterNonPowerAware.java
...cloudbus/cloudsim/power/PowerDatacenterNonPowerAware.java
+8
-0
PowerHost.java
.../src/main/java/org/cloudbus/cloudsim/power/PowerHost.java
+8
-0
PowerHostUtilizationHistory.java
.../cloudbus/cloudsim/power/PowerHostUtilizationHistory.java
+11
-0
PowerVm.java
...im/src/main/java/org/cloudbus/cloudsim/power/PowerVm.java
+11
-0
PowerVmAllocationPolicyAbstract.java
...udbus/cloudsim/power/PowerVmAllocationPolicyAbstract.java
+8
-1
PowerVmAllocationPolicyMigrationAbstract.java
...udsim/power/PowerVmAllocationPolicyMigrationAbstract.java
+10
-0
PowerVmAllocationPolicyMigrationInterQuartileRange.java
...r/PowerVmAllocationPolicyMigrationInterQuartileRange.java
+10
-0
PowerVmAllocationPolicyMigrationLocalRegression.java
...ower/PowerVmAllocationPolicyMigrationLocalRegression.java
+10
-0
PowerVmAllocationPolicyMigrationLocalRegressionRobust.java
...owerVmAllocationPolicyMigrationLocalRegressionRobust.java
+10
-0
PowerVmAllocationPolicyMigrationMedianAbsoluteDeviation.java
...erVmAllocationPolicyMigrationMedianAbsoluteDeviation.java
+10
-0
PowerVmAllocationPolicyMigrationStaticThreshold.java
...ower/PowerVmAllocationPolicyMigrationStaticThreshold.java
+10
-0
PowerVmAllocationPolicySimple.java
...loudbus/cloudsim/power/PowerVmAllocationPolicySimple.java
+8
-0
PowerVmSelectionPolicy.java
...a/org/cloudbus/cloudsim/power/PowerVmSelectionPolicy.java
+10
-0
PowerVmSelectionPolicyMaximumCorrelation.java
...udsim/power/PowerVmSelectionPolicyMaximumCorrelation.java
+10
-0
PowerVmSelectionPolicyMinimumMigrationTime.java
...sim/power/PowerVmSelectionPolicyMinimumMigrationTime.java
+10
-0
PowerVmSelectionPolicyMinimumUtilization.java
...udsim/power/PowerVmSelectionPolicyMinimumUtilization.java
+10
-0
PowerVmSelectionPolicyRandomSelection.java
...cloudsim/power/PowerVmSelectionPolicyRandomSelection.java
+10
-0
PowerVmList.java
...n/java/org/cloudbus/cloudsim/power/lists/PowerVmList.java
+25
-15
PowerModel.java
...n/java/org/cloudbus/cloudsim/power/models/PowerModel.java
+20
-13
PowerModelCubic.java
...a/org/cloudbus/cloudsim/power/models/PowerModelCubic.java
+26
-15
PowerModelLinear.java
.../org/cloudbus/cloudsim/power/models/PowerModelLinear.java
+26
-15
PowerModelSpecPower.java
...g/cloudbus/cloudsim/power/models/PowerModelSpecPower.java
+16
-4
PowerModelSpecPowerHpProLiantMl110G3PentiumD930.java
...dels/PowerModelSpecPowerHpProLiantMl110G3PentiumD930.java
+13
-1
PowerModelSpecPowerHpProLiantMl110G4Xeon3040.java
.../models/PowerModelSpecPowerHpProLiantMl110G4Xeon3040.java
+13
-1
PowerModelSpecPowerHpProLiantMl110G5Xeon3075.java
.../models/PowerModelSpecPowerHpProLiantMl110G5Xeon3075.java
+13
-1
PowerModelSpecPowerIbmX3250XeonX3470.java
...im/power/models/PowerModelSpecPowerIbmX3250XeonX3470.java
+13
-1
PowerModelSpecPowerIbmX3250XeonX3480.java
...im/power/models/PowerModelSpecPowerIbmX3250XeonX3480.java
+13
-1
PowerModelSpecPowerIbmX3550XeonX5670.java
...im/power/models/PowerModelSpecPowerIbmX3550XeonX5670.java
+13
-1
PowerModelSpecPowerIbmX3550XeonX5675.java
...im/power/models/PowerModelSpecPowerIbmX3550XeonX5675.java
+13
-1
PowerModelSqrt.java
...va/org/cloudbus/cloudsim/power/models/PowerModelSqrt.java
+24
-15
PowerModelSquare.java
.../org/cloudbus/cloudsim/power/models/PowerModelSquare.java
+24
-15
No files found.
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerDatacenter.java
View file @
03e47ab0
...
...
@@ -24,6 +24,14 @@ import org.cloudbus.cloudsim.core.predicates.PredicateType;
/**
* 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
* @since CloudSim Toolkit 2.0
*/
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerDatacenterBroker.java
View file @
03e47ab0
...
...
@@ -7,6 +7,17 @@ import org.cloudbus.cloudsim.core.SimEvent;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerDatacenterNonPowerAware.java
View file @
03e47ab0
...
...
@@ -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
* 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
* @since CloudSim Toolkit 2.0
*/
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerHost.java
View file @
03e47ab0
...
...
@@ -19,6 +19,14 @@ import org.cloudbus.cloudsim.provisioners.RamProvisioner;
/**
* 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
* @since CloudSim Toolkit 2.0
*/
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerHostUtilizationHistory.java
View file @
03e47ab0
...
...
@@ -11,6 +11,17 @@ import org.cloudbus.cloudsim.util.MathUtil;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVm.java
View file @
03e47ab0
...
...
@@ -12,6 +12,17 @@ import flanagan.analysis.Stat;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmAllocationPolicyAbstract.java
View file @
03e47ab0
...
...
@@ -13,8 +13,15 @@ import org.cloudbus.cloudsim.core.CloudSim;
/**
* 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
* @since Jan 5, 2012
*/
public
abstract
class
PowerVmAllocationPolicyAbstract
extends
VmAllocationPolicy
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmAllocationPolicyMigrationAbstract.java
View file @
03e47ab0
...
...
@@ -18,6 +18,16 @@ import org.cloudbus.cloudsim.util.ExecutionTimeMeasurer;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmAllocationPolicyMigrationInterQuartileRange.java
View file @
03e47ab0
...
...
@@ -9,6 +9,16 @@ import org.cloudbus.cloudsim.util.MathUtil;
/**
* 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
PowerVmAllocationPolicyMigrationAbstract
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmAllocationPolicyMigrationLocalRegression.java
View file @
03e47ab0
...
...
@@ -8,6 +8,16 @@ import org.cloudbus.cloudsim.util.MathUtil;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmAllocationPolicyMigrationLocalRegressionRobust.java
View file @
03e47ab0
...
...
@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.util.MathUtil;
/**
* 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
PowerVmAllocationPolicyMigrationLocalRegression
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmAllocationPolicyMigrationMedianAbsoluteDeviation.java
View file @
03e47ab0
...
...
@@ -9,6 +9,16 @@ import org.cloudbus.cloudsim.util.MathUtil;
/**
* 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
PowerVmAllocationPolicyMigrationAbstract
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmAllocationPolicyMigrationStaticThreshold.java
View file @
03e47ab0
...
...
@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.Vm;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmAllocationPolicySimple.java
View file @
03e47ab0
...
...
@@ -10,6 +10,14 @@ import org.cloudbus.cloudsim.Vm;
* This a simple class representing a simple VM allocation policy that does not perform any
* 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
* @since Jan 5, 2012
*
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmSelectionPolicy.java
View file @
03e47ab0
...
...
@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.Vm;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmSelectionPolicyMaximumCorrelation.java
View file @
03e47ab0
...
...
@@ -9,6 +9,16 @@ import flanagan.analysis.Regression;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmSelectionPolicyMinimumMigrationTime.java
View file @
03e47ab0
...
...
@@ -6,6 +6,16 @@ import org.cloudbus.cloudsim.Vm;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmSelectionPolicyMinimumUtilization.java
View file @
03e47ab0
...
...
@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.core.CloudSim;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/PowerVmSelectionPolicyRandomSelection.java
View file @
03e47ab0
...
...
@@ -7,6 +7,16 @@ import org.cloudbus.cloudsim.Vm;
/**
* 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
{
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/lists/PowerVmList.java
View file @
03e47ab0
/*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
*
* Copyright (c) 2009-2010, The University of Melbourne, Australia
*/
...
...
@@ -19,6 +18,16 @@ import org.cloudbus.cloudsim.lists.VmList;
/**
* 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
* @since CloudSim Toolkit 2.0
*/
...
...
@@ -31,6 +40,7 @@ public class PowerVmList extends VmList {
*/
public
static
<
T
extends
Vm
>
void
sortByCpuUtilization
(
List
<
T
>
vmList
)
{
Collections
.
sort
(
vmList
,
new
Comparator
<
T
>()
{
@Override
public
int
compare
(
T
a
,
T
b
)
throws
ClassCastException
{
Double
aUtilization
=
a
.
getTotalUtilizationOfCpuMips
(
CloudSim
.
clock
());
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModel.java
View file @
03e47ab0
/*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
*
* Copyright (c) 2009-2010, The University of Melbourne, Australia
*/
...
...
@@ -9,9 +8,18 @@
package
org
.
cloudbus
.
cloudsim
.
power
.
models
;
/**
* The PowerModel interface needs to be implemented in order to
* provide a model of power consumption depending on utilization
* for system components.
* The PowerModel interface needs to be implemented in order to provide a model of power consumption
* depending on utilization 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
* @since CloudSim Toolkit 2.0
...
...
@@ -19,8 +27,7 @@ package org.cloudbus.cloudsim.power.models;
public
interface
PowerModel
{
/**
* Get power consumption by the utilization percentage
* according to the power model.
* Get power consumption by the utilization percentage according to the power model.
*
* @param utilization the utilization
* @return power consumption
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelCubic.java
View file @
03e47ab0
/*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
*
* Copyright (c) 2009-2010, The University of Melbourne, Australia
*/
...
...
@@ -11,6 +10,16 @@ package org.cloudbus.cloudsim.power.models;
/**
* 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
* @since CloudSim Toolkit 2.0
*/
...
...
@@ -37,7 +46,9 @@ public class PowerModelCubic implements PowerModel {
setConstant
((
maxPower
-
getStaticPower
())
/
Math
.
pow
(
100
,
3
));
}
/* (non-Javadoc)
/*
* (non-Javadoc)
*
* @see gridsim.virtualization.power.PowerModel#getPower(double)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelLinear.java
View file @
03e47ab0
/*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
*
* Copyright (c) 2009-2010, The University of Melbourne, Australia
*/
...
...
@@ -11,6 +10,16 @@ package org.cloudbus.cloudsim.power.models;
/**
* 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
* @since CloudSim Toolkit 2.0
*/
...
...
@@ -37,7 +46,9 @@ public class PowerModelLinear implements PowerModel {
setConstant
((
maxPower
-
getStaticPower
())
/
100
);
}
/* (non-Javadoc)
/*
* (non-Javadoc)
*
* @see cloudsim.power.PowerModel#getPower(double)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelSpecPower.java
View file @
03e47ab0
package
org
.
cloudbus
.
cloudsim
.
power
.
models
;
/**
* The abstract class of power models created based on data
* from SPECpower benchmark: http://www.spec.org/power_ssj2008/
* The abstract class of power models created based on data from SPECpower benchmark:
* 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
{
/* (non-Javadoc)
/*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModel#getPower(double)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelSpecPowerHpProLiantMl110G3PentiumD930.java
View file @
03e47ab0
...
...
@@ -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).
* 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
{
/** The power. */
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)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelSpecPowerHpProLiantMl110G4Xeon3040.java
View file @
03e47ab0
...
...
@@ -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).
* 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
{
/** The power. */
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)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelSpecPowerHpProLiantMl110G5Xeon3075.java
View file @
03e47ab0
...
...
@@ -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).
* 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
{
/** The power. */
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)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelSpecPowerIbmX3250XeonX3470.java
View file @
03e47ab0
...
...
@@ -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).
* 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
{
/** 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
};
/* (non-Javadoc)
/*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelSpecPowerIbmX3250XeonX3480.java
View file @
03e47ab0
...
...
@@ -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).
* 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
{
/** 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
};
/* (non-Javadoc)
/*
* (non-Javadoc)
*
* @see org.cloudbus.cloudsim.power.models.PowerModelSpecPower#getPowerData(int)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelSpecPowerIbmX3550XeonX5670.java
View file @
03e47ab0
...
...
@@ -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).
* 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
{
/** The power. */
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)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelSpecPowerIbmX3550XeonX5675.java
View file @
03e47ab0
...
...
@@ -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).
* 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
{
/** The power. */
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)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelSqrt.java
View file @
03e47ab0
/*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
*
* Copyright (c) 2009-2010, The University of Melbourne, Australia
*/
...
...
@@ -11,6 +10,14 @@ package org.cloudbus.cloudsim.power.models;
/**
* 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
* @since CloudSim Toolkit 2.0
*/
...
...
@@ -37,7 +44,9 @@ public class PowerModelSqrt implements PowerModel {
setConstant
((
maxPower
-
getStaticPower
())
/
Math
.
sqrt
(
100
));
}
/* (non-Javadoc)
/*
* (non-Javadoc)
*
* @see cloudsim.power.PowerModel#getPower(double)
*/
@Override
...
...
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/power/models/PowerModelSquare.java
View file @
03e47ab0
/*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
* Title: CloudSim Toolkit Description: CloudSim (Cloud Simulation) Toolkit for Modeling and
* Simulation of Clouds Licence: GPL - http://www.gnu.org/copyleft/gpl.html
*
* Copyright (c) 2009-2010, The University of Melbourne, Australia
*/
...
...
@@ -11,6 +10,14 @@ package org.cloudbus.cloudsim.power.models;
/**
* 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
* @since CloudSim Toolkit 2.0
*/
...
...
@@ -37,7 +44,9 @@ public class PowerModelSquare implements PowerModel {
setConstant
((
maxPower
-
getStaticPower
())
/
Math
.
pow
(
100
,
2
));
}
/* (non-Javadoc)
/*
* (non-Javadoc)
*
* @see gridsim.virtualization.power.PowerModel#getPower(double)
*/
@Override
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment