Changeset 1253 for DCWoRMS/branches
- Timestamp:
- 11/28/13 11:41:33 (11 years ago)
- Location:
- DCWoRMS/branches/coolemall/src
- Files:
-
- 1 deleted
- 11 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/example/energy/coolemall/CB2EnergyEstimationPlugin.java
r1247 r1253 14 14 import schedframe.scheduling.manager.tasks.JobRegistry; 15 15 import simulator.ConfigurationOptions; 16 import test bed_hpc.Node_Fan_Mapping;16 import test.Node_Fan_Mapping; 17 17 import example.energy.BaseEnergyEstimationPlugin; 18 18 -
DCWoRMS/branches/coolemall/src/example/energy/coolemall/NodeEnergyEstimationPlugin.java
r1247 r1253 8 8 import schedframe.resources.devices.PhysicalResource; 9 9 import schedframe.scheduling.manager.tasks.JobRegistry; 10 import test bed_hpc.Node_Fan_Mapping;10 import test.Node_Fan_Mapping; 11 11 import example.energy.BaseEnergyEstimationPlugin; 12 12 -
DCWoRMS/branches/coolemall/src/example/localplugin/coolemall/computebox1/CB1_FCFS_ConsolidationAtom_NodePowMan_SP.java
r1247 r1253 33 33 import schedframe.scheduling.queue.TaskQueueList; 34 34 import schedframe.scheduling.tasks.TaskInterface; 35 import test bed_hpc.Node_Fan_Mapping;35 import test.Node_Fan_Mapping; 36 36 import example.localplugin.BaseLocalSchedulingPlugin; 37 37 import gridsim.dcworms.DCWormsTags; -
DCWoRMS/branches/coolemall/src/example/localplugin/coolemall/computebox1/CB1_FCFS_Consolidation_NodePowMan_SP.java
r1247 r1253 33 33 import schedframe.scheduling.queue.TaskQueueList; 34 34 import schedframe.scheduling.tasks.TaskInterface; 35 import test bed_hpc.Node_Fan_Mapping;35 import test.Node_Fan_Mapping; 36 36 import example.localplugin.BaseLocalSchedulingPlugin; 37 37 import gridsim.dcworms.DCWormsTags; -
DCWoRMS/branches/coolemall/src/example/localplugin/coolemall/computebox1/CB1_FCFS_Consolidation_SP.java
r1247 r1253 29 29 import schedframe.scheduling.queue.TaskQueueList; 30 30 import schedframe.scheduling.tasks.TaskInterface; 31 import test bed_hpc.Node_Fan_Mapping;31 import test.Node_Fan_Mapping; 32 32 import example.localplugin.BaseLocalSchedulingPlugin; 33 33 import gridsim.dcworms.DCWormsTags; -
DCWoRMS/branches/coolemall/src/example/localplugin/coolemall/computebox1/CB1_FCFS_Random_SP.java
r1247 r1253 27 27 import schedframe.scheduling.queue.TaskQueueList; 28 28 import schedframe.scheduling.tasks.TaskInterface; 29 import test bed_hpc.Node_Fan_Mapping;29 import test.Node_Fan_Mapping; 30 30 import example.localplugin.BaseLocalSchedulingPlugin; 31 31 import gridsim.dcworms.DCWormsTags; -
DCWoRMS/branches/coolemall/src/example/localplugin/coolemall/computebox2/CB2_FCFS_Consolidation_NodePowMan_SP.java
r1247 r1253 33 33 import schedframe.scheduling.queue.TaskQueueList; 34 34 import schedframe.scheduling.tasks.TaskInterface; 35 import test bed_hpc.Node_Fan_Mapping;35 import test.Node_Fan_Mapping; 36 36 import example.localplugin.BaseLocalSchedulingPlugin; 37 37 import gridsim.dcworms.DCWormsTags; -
DCWoRMS/branches/coolemall/src/example/localplugin/coolemall/computebox2/CB2_FCFS_Consolidation_SP.java
r1247 r1253 29 29 import schedframe.scheduling.queue.TaskQueueList; 30 30 import schedframe.scheduling.tasks.TaskInterface; 31 import test bed_hpc.Node_Fan_Mapping;31 import test.Node_Fan_Mapping; 32 32 import example.localplugin.BaseLocalSchedulingPlugin; 33 33 import gridsim.dcworms.DCWormsTags; -
DCWoRMS/branches/coolemall/src/example/localplugin/coolemall/computebox2/CB2_FCFS_Random_SP.java
r1247 r1253 28 28 import schedframe.scheduling.tasks.TaskInterface; 29 29 import schedframe.scheduling.tasks.phases.PhaseBehaviour; 30 import test bed_hpc.Node_Fan_Mapping;30 import test.Node_Fan_Mapping; 31 31 import dcworms.schedframe.scheduling.ExecTask; 32 32 import example.energy.coolemall.CoolEmAllTestbedMeasurements; -
DCWoRMS/branches/coolemall/src/example/localplugin/coolemall/recs/RECS_FCFS_Random_SP.java
r1247 r1253 29 29 import schedframe.scheduling.queue.TaskQueueList; 30 30 import schedframe.scheduling.tasks.TaskInterface; 31 import test bed_hpc.Node_Fan_Mapping;31 import test.Node_Fan_Mapping; 32 32 import example.localplugin.BaseLocalSchedulingPlugin; 33 33 import gridsim.dcworms.DCWormsTags; -
DCWoRMS/branches/coolemall/src/example/timeestimation/coolemall/PhaseTimeEstimationPlugin.java
r910 r1253 5 5 6 6 import schedframe.events.scheduling.SchedulingEvent; 7 import schedframe.resources.units.PEUnit;8 7 import schedframe.resources.units.ResourceUnit; 9 8 import schedframe.resources.units.ResourceUnitName; 10 import schedframe.resources.units.StandardResourceUnitName;11 9 import schedframe.scheduling.tasks.phases.ResourceConsumption; 12 10 import dcworms.schedframe.scheduling.ExecTask; … … 20 18 * Requested calculation should be done based on the resources allocated for the task, 21 19 * task description and task completion percentage. 22 *23 * Example implementation calculate the estimation based on cpu processing power.24 * There is also a simple assumption, that cpu processing power is a linear function25 * of number of allocated cpus and their speed.26 20 */ 27 21 public double execTimeEstimation(SchedulingEvent event, ExecTask task, … … 30 24 31 25 Executable exec = (Executable) task; 32 // System.out.println(exec.getJobId() +":"+ exec.getApplicationName());33 // collect all information necessary to do the calculation34 PEUnit peUnit = (PEUnit) allocatedResources.get(StandardResourceUnitName.PE);35 36 // obtain single pe speed37 int speed = peUnit.getSpeed();38 26 39 // number of used pe40 int cnt = peUnit.getUsedAmount();41 42 // estimate remainingTaskLength43 27 ResourceConsumption resConsumption = exec.getResourceConsumptionProfile().getCurrentResourceConsumption(); 44 28 45 // do the calculation46 29 double execTime = (1 - completionPercentage/100) * resConsumption.getDuration(); 47 30 -
DCWoRMS/branches/coolemall/src/test/Node_Fan_Mapping.java
r1224 r1253 1 package test bed_hpc;1 package test; 2 2 3 3 import com.google.common.collect.BiMap;
Note: See TracChangeset
for help on using the changeset viewer.