Ignore:
Timestamp:
12/29/14 17:24:25 (10 years ago)
Author:
wojtekp
Message:
 
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; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import schedframe.Parameters; 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/AmdNodeEEP.java

    r1420 r1499  
    1 package test.article2.recs.plugins.energy; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import java.io.FileNotFoundException; 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/AtomD510CpuEEP.java

    r1420 r1499  
    1 package test.article2.recs.plugins.energy; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import schedframe.Parameters; 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/AtomD510NodeEEP.java

    r1420 r1499  
    1 package test.article2.recs.plugins.energy; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import java.io.FileNotFoundException; 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/DataCenterEnergyEstimationPlugin.java

    r1420 r1499  
    1 package test.article2.recs.plugins.energy; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import schedframe.resources.computing.Node; 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/FanEnergyEstimationPlugin.java

    r1420 r1499  
    1 package test.article2.recs.plugins.energy; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import schedframe.events.EventReason; 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/IntelCpuEEP.java

    r1420 r1499  
    1 package test.article2.recs.plugins.energy; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import schedframe.Parameters; 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/IntelNodeEEP.java

    r1420 r1499  
    1 package test.article2.recs.plugins.energy; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import java.io.FileNotFoundException; 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/RecsCoreEEP.java

    r1420 r1499  
    1 package test.article2.recs.plugins.energy; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import 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; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import schedframe.events.EventReason; 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/energy/RecsNodeBaseEEP.java

    r1420 r1499  
    1 package test.article2.recs.plugins.energy; 
     1package experiments.e2dc2013.recs.plugins.energy; 
    22 
    33import java.io.FileInputStream; 
     
    2222import schedframe.resources.units.StandardResourceUnitName; 
    2323import schedframe.scheduling.manager.tasks.JobRegistry; 
    24 import test.article2.recs.utils.AppType; 
    25 import test.article2.recs.utils.TaskToApp; 
    2624import dcworms.schedframe.scheduling.ExecTask; 
    2725import dcworms.schedframe.scheduling.Executable; 
    2826import example.energy.BaseEnergyEstimationPlugin; 
     27import experiments.e2dc2013.recs.utils.AppType; 
     28import experiments.e2dc2013.recs.utils.TaskToApp; 
    2929 
    3030public abstract class RecsNodeBaseEEP extends BaseEnergyEstimationPlugin{ 
    3131         
    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"; 
    3333         
    3434        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; 
     1package experiments.e2dc2013.recs.plugins.scheduling; 
    22 
    33import java.io.FileInputStream; 
     
    99import schedframe.resources.computing.Node; 
    1010import schedframe.scheduling.tasks.TaskInterface; 
    11 import test.article2.recs.utils.AppType; 
    12 import test.article2.recs.utils.TaskToApp; 
    1311import dcworms.schedframe.scheduling.ExecTask; 
    1412import dcworms.schedframe.scheduling.Executable; 
    1513import example.localplugin.BaseLocalSchedulingPlugin; 
     14import experiments.e2dc2013.recs.utils.AppType; 
     15import experiments.e2dc2013.recs.utils.TaskToApp; 
    1616 
    1717public abstract class RecsSP extends BaseLocalSchedulingPlugin { 
    1818 
    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"; 
    2020         
    2121        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; 
     1package experiments.e2dc2013.recs.plugins.scheduling.exp1; 
    22 
     3import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 
    34import gridsim.dcworms.DCWormsTags; 
    45 
     
    3031import schedframe.scheduling.queue.TaskQueueList; 
    3132import schedframe.scheduling.tasks.TaskInterface; 
    32 import test.article2.recs.plugins.scheduling.RecsSP; 
    3333 
    3434public 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; 
     1package experiments.e2dc2013.recs.plugins.scheduling.exp1; 
    22 
     3import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 
    34import gridsim.dcworms.DCWormsTags; 
    45 
     
    3435import schedframe.scheduling.queue.TaskQueueList; 
    3536import schedframe.scheduling.tasks.TaskInterface; 
    36 import test.article2.recs.plugins.scheduling.RecsSP; 
    3737 
    3838public 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; 
     1package experiments.e2dc2013.recs.plugins.scheduling.exp1; 
    22 
     3import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 
    34import gridsim.dcworms.DCWormsTags; 
    45 
     
    3334import schedframe.scheduling.queue.TaskQueueList; 
    3435import schedframe.scheduling.tasks.TaskInterface; 
    35 import test.article2.recs.plugins.scheduling.RecsSP; 
    3636 
    3737public 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; 
     1package experiments.e2dc2013.recs.plugins.scheduling.exp1; 
    22 
     3import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 
    34import gridsim.dcworms.DCWormsTags; 
    45 
     
    3031import schedframe.scheduling.queue.TaskQueueList; 
    3132import schedframe.scheduling.tasks.TaskInterface; 
    32 import test.article2.recs.plugins.scheduling.RecsSP; 
    3333 
    3434public 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; 
     1package experiments.e2dc2013.recs.plugins.scheduling.exp1; 
    22 
     3import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 
    34import gridsim.dcworms.DCWormsTags; 
    45 
     
    3536import schedframe.scheduling.queue.TaskQueueList; 
    3637import schedframe.scheduling.tasks.TaskInterface; 
    37 import test.article2.recs.plugins.scheduling.RecsSP; 
    3838 
    3939public 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  
     1package experiments.e2dc2013.recs.plugins.scheduling.exp2; 
     2 
     3import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 
    34import gridsim.dcworms.DCWormsTags; 
    45 
     
    3233import schedframe.scheduling.queue.TaskQueueList; 
    3334import schedframe.scheduling.tasks.TaskInterface; 
    34 import test.article2.recs.plugins.scheduling.RecsSP; 
    3535 
    3636public 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  
     1package experiments.e2dc2013.recs.plugins.scheduling.exp2; 
     2 
     3import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 
    34import gridsim.dcworms.DCWormsTags; 
    45 
     
    1516import schedframe.events.scheduling.SchedulingEvent; 
    1617import schedframe.resources.ResourceStatus; 
     18import schedframe.resources.StandardResourceType; 
    1719import schedframe.resources.computing.Node; 
    1820import schedframe.resources.computing.ComputingResource; 
    1921import schedframe.resources.computing.Core; 
     22import schedframe.resources.computing.profiles.energy.airthroughput.CustomAirflowStateName; 
    2023import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirflowStateName; 
     24import schedframe.resources.devices.Device; 
     25import schedframe.resources.devices.Fan; 
    2126import schedframe.resources.units.ProcessingElements; 
    2227import schedframe.resources.units.ResourceUnit; 
     
    3237import schedframe.scheduling.queue.TaskQueueList; 
    3338import schedframe.scheduling.tasks.TaskInterface; 
    34 import test.article2.recs.plugins.scheduling.RecsSP; 
    3539 
    3640public class RecsLeft2RightSP extends RecsSP { 
     
    6266                                        Node node = chooseProvider(resourceManager, task); 
    6367                                        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); 
    6579                                                notSelectedNodes.remove(node); 
    6680                                                addToSchedulingPlan(plan, task, chooseResourcesForExecution(node, task)); 
     
    170184                                // node.getAirThroughputInterface().setAirThroughputState(StandardAirThroughputStateName.FAN_OFF); 
    171185                        } 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); 
    173197                        } 
    174198                } 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/scheduling/exp2/RecsOut2InSP.java

    r1399 r1499  
    1 package test.article2.recs.plugins.scheduling.exp2; 
     1package experiments.e2dc2013.recs.plugins.scheduling.exp2; 
    22 
     3import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 
    34import gridsim.dcworms.DCWormsTags; 
    45 
     
    3233import schedframe.scheduling.queue.TaskQueueList; 
    3334import schedframe.scheduling.tasks.TaskInterface; 
    34 import test.article2.recs.plugins.scheduling.RecsSP; 
    3535 
    3636public 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; 
     1package experiments.e2dc2013.recs.plugins.scheduling.exp2; 
    22 
     3import experiments.e2dc2013.recs.plugins.scheduling.RecsSP; 
    34import gridsim.dcworms.DCWormsTags; 
    45 
     
    3031import schedframe.scheduling.queue.TaskQueueList; 
    3132import schedframe.scheduling.tasks.TaskInterface; 
    32 import test.article2.recs.plugins.scheduling.RecsSP; 
    3333 
    3434public class RecsRandomSP extends RecsSP { 
  • DCWoRMS/branches/coolemall/src/experiments/e2dc2013/recs/plugins/timeestimation/RecsTimeEstimationPlugin.java

    r1247 r1499  
    1 package test.article2.recs.plugins.timeestimation; 
     1package experiments.e2dc2013.recs.plugins.timeestimation; 
    22 
    33import java.io.FileInputStream; 
     
    1818import schedframe.resources.units.ResourceUnitName; 
    1919import schedframe.resources.units.StandardResourceUnitName; 
    20 import test.article2.recs.utils.AppType; 
    21 import test.article2.recs.utils.TaskToApp; 
    2220import dcworms.schedframe.scheduling.ExecTask; 
    2321import example.timeestimation.BaseTimeEstimationPlugin; 
     22import experiments.e2dc2013.recs.utils.AppType; 
     23import experiments.e2dc2013.recs.utils.TaskToApp; 
    2424 
    2525public class RecsTimeEstimationPlugin extends BaseTimeEstimationPlugin{ 
    2626 
    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"; 
    2828        private static int TIME_FACTOR = 1; 
    2929         
Note: See TracChangeset for help on using the changeset viewer.