- Timestamp:
- 12/29/14 17:24:25 (10 years ago)
- Location:
- DCWoRMS/branches/coolemall/src/experiments/e2dc2013
- Files:
-
- 4 added
- 21 edited
- 5 copied
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/AmdCpuEEP.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import schedframe.Parameters; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/AmdNodeEEP.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import java.io.FileNotFoundException; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/AtomD510CpuEEP.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import schedframe.Parameters; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/AtomD510NodeEEP.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import java.io.FileNotFoundException; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/DataCenterEnergyEstimationPlugin.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import schedframe.resources.computing.Node; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/FanEnergyEstimationPlugin.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import schedframe.events.EventReason; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/IntelCpuEEP.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import schedframe.Parameters; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/IntelNodeEEP.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import java.io.FileNotFoundException; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/RecsCoreEEP.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import schedframe.resources.computing.profiles.energy.ResourceEvent; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/RecsCpuBaseEEP.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import schedframe.events.EventReason; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/RecsNodeBaseEEP.java
r1420 r1499 1 package test.article2.recs.plugins.energy;1 package experiments.e2dc2013.recs.plugins.energy; 2 2 3 3 import java.io.FileInputStream; … … 22 22 import schedframe.resources.units.StandardResourceUnitName; 23 23 import schedframe.scheduling.manager.tasks.JobRegistry; 24 import test.article2.recs.utils.AppType;25 import test.article2.recs.utils.TaskToApp;26 24 import dcworms.schedframe.scheduling.ExecTask; 27 25 import dcworms.schedframe.scheduling.Executable; 28 26 import example.energy.BaseEnergyEstimationPlugin; 27 import experiments.e2dc2013.recs.utils.AppType; 28 import experiments.e2dc2013.recs.utils.TaskToApp; 29 29 30 30 public abstract class RecsNodeBaseEEP extends BaseEnergyEstimationPlugin{ 31 31 32 private static String POWER_DATA_FILE_NAME = "src/ test/article2/recs/data/power_data.properties";32 private static String POWER_DATA_FILE_NAME = "src/experiments/e2dc2013/recs/data/power_data.properties"; 33 33 34 34 private static int LEFT_ID = -1; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/RecsSP.java
r1247 r1499 1 package test.article2.recs.plugins.scheduling;1 package experiments.e2dc2013.recs.plugins.scheduling; 2 2 3 3 import java.io.FileInputStream; … … 9 9 import schedframe.resources.computing.Node; 10 10 import schedframe.scheduling.tasks.TaskInterface; 11 import test.article2.recs.utils.AppType;12 import test.article2.recs.utils.TaskToApp;13 11 import dcworms.schedframe.scheduling.ExecTask; 14 12 import dcworms.schedframe.scheduling.Executable; 15 13 import example.localplugin.BaseLocalSchedulingPlugin; 14 import experiments.e2dc2013.recs.utils.AppType; 15 import experiments.e2dc2013.recs.utils.TaskToApp; 16 16 17 17 public abstract class RecsSP extends BaseLocalSchedulingPlugin { 18 18 19 private static String EXEC_DATA_FILE_NAME = "src/ test/article2/recs/data/executiveness_data.properties";19 private static String EXEC_DATA_FILE_NAME = "src/experiments/e2dc2013/recs/data/executiveness_data.properties"; 20 20 21 21 private ResourceBundle execBundle; -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/exp1/RecsInIdleSP.java
r1399 r1499 1 package test.article2.recs.plugins.scheduling.exp1;1 package experiments.e2dc2013.recs.plugins.scheduling.exp1; 2 2 3 import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 3 4 import gridsim.dcworms.DCWormsTags; 4 5 … … 30 31 import schedframe.scheduling.queue.TaskQueueList; 31 32 import schedframe.scheduling.tasks.TaskInterface; 32 import test.article2.recs.plugins.scheduling.RecsSP;33 33 34 34 public class RecsInIdleSP extends RecsSP { -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/exp1/RecsInOffSP.java
r1399 r1499 1 package test.article2.recs.plugins.scheduling.exp1;1 package experiments.e2dc2013.recs.plugins.scheduling.exp1; 2 2 3 import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 3 4 import gridsim.dcworms.DCWormsTags; 4 5 … … 34 35 import schedframe.scheduling.queue.TaskQueueList; 35 36 import schedframe.scheduling.tasks.TaskInterface; 36 import test.article2.recs.plugins.scheduling.RecsSP;37 37 38 38 public class RecsInOffSP extends RecsSP { -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/exp1/RecsInOutSP.java
r1399 r1499 1 package test.article2.recs.plugins.scheduling.exp1;1 package experiments.e2dc2013.recs.plugins.scheduling.exp1; 2 2 3 import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 3 4 import gridsim.dcworms.DCWormsTags; 4 5 … … 33 34 import schedframe.scheduling.queue.TaskQueueList; 34 35 import schedframe.scheduling.tasks.TaskInterface; 35 import test.article2.recs.plugins.scheduling.RecsSP;36 36 37 37 public class RecsInOutSP extends RecsSP { -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/exp1/RecsOutIdleSP.java
r1399 r1499 1 package test.article2.recs.plugins.scheduling.exp1;1 package experiments.e2dc2013.recs.plugins.scheduling.exp1; 2 2 3 import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 3 4 import gridsim.dcworms.DCWormsTags; 4 5 … … 30 31 import schedframe.scheduling.queue.TaskQueueList; 31 32 import schedframe.scheduling.tasks.TaskInterface; 32 import test.article2.recs.plugins.scheduling.RecsSP;33 33 34 34 public class RecsOutIdleSP extends RecsSP { -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/exp1/RecsOutOffSP.java
r1399 r1499 1 package test.article2.recs.plugins.scheduling.exp1;1 package experiments.e2dc2013.recs.plugins.scheduling.exp1; 2 2 3 import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 3 4 import gridsim.dcworms.DCWormsTags; 4 5 … … 35 36 import schedframe.scheduling.queue.TaskQueueList; 36 37 import schedframe.scheduling.tasks.TaskInterface; 37 import test.article2.recs.plugins.scheduling.RecsSP;38 38 39 39 public class RecsOutOffSP extends RecsSP { -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/exp2/RecsIn2OutSP.java
r1399 r1499 1 package test.article2.recs.plugins.scheduling.exp2; 2 1 package experiments.e2dc2013.recs.plugins.scheduling.exp2; 2 3 import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 3 4 import gridsim.dcworms.DCWormsTags; 4 5 … … 32 33 import schedframe.scheduling.queue.TaskQueueList; 33 34 import schedframe.scheduling.tasks.TaskInterface; 34 import test.article2.recs.plugins.scheduling.RecsSP;35 35 36 36 public class RecsIn2OutSP extends RecsSP { -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/exp2/RecsLeft2RightSP.java
r1399 r1499 1 package test.article2.recs.plugins.scheduling.exp2; 2 1 package experiments.e2dc2013.recs.plugins.scheduling.exp2; 2 3 import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 3 4 import gridsim.dcworms.DCWormsTags; 4 5 … … 15 16 import schedframe.events.scheduling.SchedulingEvent; 16 17 import schedframe.resources.ResourceStatus; 18 import schedframe.resources.StandardResourceType; 17 19 import schedframe.resources.computing.Node; 18 20 import schedframe.resources.computing.ComputingResource; 19 21 import schedframe.resources.computing.Core; 22 import schedframe.resources.computing.profiles.energy.airthroughput.CustomAirflowStateName; 20 23 import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirflowStateName; 24 import schedframe.resources.devices.Device; 25 import schedframe.resources.devices.Fan; 21 26 import schedframe.resources.units.ProcessingElements; 22 27 import schedframe.resources.units.ResourceUnit; … … 32 37 import schedframe.scheduling.queue.TaskQueueList; 33 38 import schedframe.scheduling.tasks.TaskInterface; 34 import test.article2.recs.plugins.scheduling.RecsSP;35 39 36 40 public class RecsLeft2RightSP extends RecsSP { … … 62 66 Node node = chooseProvider(resourceManager, task); 63 67 if (node != null) { 64 node.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 68 for(Device device: node.getParent().getResourceCharacteristic().getDevices()){ 69 70 if(device.getType().equals(StandardResourceType.Fan)){ 71 Fan fan = (Fan) device; 72 73 if(fan.getChilledResources().contains(node.getFullName())){ 74 fan.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 75 } 76 } 77 } 78 //node.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 65 79 notSelectedNodes.remove(node); 66 80 addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); … … 170 184 // node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 171 185 } else { 172 node.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 186 for(Device device: node.getParent().getResourceCharacteristic().getDevices()){ 187 188 if(device.getType().equals(StandardResourceType.Fan)){ 189 Fan fan = (Fan) device; 190 191 if(fan.getChilledResources().contains(node.getFullName())){ 192 fan.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 193 } 194 } 195 } 196 //node.getAirflowInterface().setAirflowState(StandardAirflowStateName.ON); 173 197 } 174 198 } -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/exp2/RecsOut2InSP.java
r1399 r1499 1 package test.article2.recs.plugins.scheduling.exp2;1 package experiments.e2dc2013.recs.plugins.scheduling.exp2; 2 2 3 import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 3 4 import gridsim.dcworms.DCWormsTags; 4 5 … … 32 33 import schedframe.scheduling.queue.TaskQueueList; 33 34 import schedframe.scheduling.tasks.TaskInterface; 34 import test.article2.recs.plugins.scheduling.RecsSP;35 35 36 36 public class RecsOut2InSP extends RecsSP { -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/exp2/RecsRandomSP.java
r1399 r1499 1 package test.article2.recs.plugins.scheduling.exp2;1 package experiments.e2dc2013.recs.plugins.scheduling.exp2; 2 2 3 import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 3 4 import gridsim.dcworms.DCWormsTags; 4 5 … … 30 31 import schedframe.scheduling.queue.TaskQueueList; 31 32 import schedframe.scheduling.tasks.TaskInterface; 32 import test.article2.recs.plugins.scheduling.RecsSP;33 33 34 34 public class RecsRandomSP extends RecsSP { -
DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/timeestimation/RecsTimeEstimationPlugin.java
r1247 r1499 1 package test.article2.recs.plugins.timeestimation;1 package experiments.e2dc2013.recs.plugins.timeestimation; 2 2 3 3 import java.io.FileInputStream; … … 18 18 import schedframe.resources.units.ResourceUnitName; 19 19 import schedframe.resources.units.StandardResourceUnitName; 20 import test.article2.recs.utils.AppType;21 import test.article2.recs.utils.TaskToApp;22 20 import dcworms.schedframe.scheduling.ExecTask; 23 21 import example.timeestimation.BaseTimeEstimationPlugin; 22 import experiments.e2dc2013.recs.utils.AppType; 23 import experiments.e2dc2013.recs.utils.TaskToApp; 24 24 25 25 public class RecsTimeEstimationPlugin extends BaseTimeEstimationPlugin{ 26 26 27 private static String TIME_DATA_FILE_NAME = "src/ test/article2/recs/data/time_data.properties";27 private static String TIME_DATA_FILE_NAME = "src/experiments/e2dc2013/recs/data/time_data.properties"; 28 28 private static int TIME_FACTOR = 1; 29 29
Note: See TracChangeset
for help on using the changeset viewer.