Changeset 494 for DCWoRMS/trunk


Ignore:
Timestamp:
10/09/12 15:04:11 (13 years ago)
Author:
wojtekp
Message:
 
Location:
DCWoRMS/trunk
Files:
2 deleted
24 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/example/experiment3/experiment3.properties

    r491 r494  
    1818creatediagrams.gantt=true 
    1919creatediagrams.taskswaitingtime=false 
    20 creatediagrams.energyusage=DataCenter;Rack;ComputingNode;Processor 
     20creatediagrams.energyusage=ComputingNode;Processor 
  • DCWoRMS/trunk/example/experiment3_result/experiment.properties

    r491 r494  
    1818creatediagrams.gantt=true 
    1919creatediagrams.taskswaitingtime=false 
    20 creatediagrams.energyusage=DataCenter;Rack;ComputingNode;Processor 
     20creatediagrams.energyusage=ComputingNode;Processor 
  • DCWoRMS/trunk/properties/log4j.properties

    r477 r494  
    2020 
    2121log4j.appender.F1=org.apache.log4j.FileAppender 
    22 log4j.appender.F1.file=gssim.log 
     22log4j.appender.F1.file=dcworms.log 
    2323log4j.appender.F1.append=false 
    2424log4j.appender.F1.layout=org.apache.log4j.PatternLayout 
  • DCWoRMS/trunk/sim_report

    r481 r494  
    77Version: SimJava 2.0 
    88 
    9 Simulation date:         October 8, 2012 
    10 Simulation start time:   10:36:10 AM CEST 
    11 Simulation end time:     10:36:11 AM CEST 
     9Simulation date:         October 9, 2012 
     10Simulation start time:   3:34:00 PM CEST 
     11Simulation end time:     3:34:00 PM CEST 
    1212 
    1313############################################################ 
  • DCWoRMS/trunk/sim_trace

    r481 r494  
    44u: Input_GridInformationService at 0.0: waiting for an event 
    55u: Output_GridInformationService at 0.0: waiting for an event 
    6 u: ManagementSystem@cluster at 0.0: waiting for an event 
    76u: Input_ManagementSystem@cluster at 0.0: waiting for an event 
    87u: Output_ManagementSystem@cluster at 0.0: waiting for an event 
    98u: BROKER@grid at 0.0: waiting for an event 
    109u: Input_BROKER@grid at 0.0: waiting for an event 
    11 u: Output_BROKER@grid at 0.0: waiting for an event 
     10u: ManagementSystem@cluster at 0.0: waiting for an event 
     11u: Output_BROKER@grid at 0.0: waiting for an event 
     12u: Input_Users at 0.0: waiting for an event 
    1213u: Output_Users at 0.0: waiting for an event 
    13 u: Input_Users at 0.0: waiting for an event 
    1414u: Users at 0.0: scheduling event type 21 for BROKER@grid with delay 0.0 
    1515u: Users at 0.0: scheduling event type 21 for BROKER@grid with delay 0.0 
     
    5050u: ManagementSystem@cluster at 0.0: scheduling event type 605 for BROKER@grid with delay 0.0 
    5151u: ManagementSystem@cluster at 0.0: waiting for an event 
    52 u: Output_BROKER@grid at 0.0: waiting for an event 
    53 u: Input_ManagementSystem@cluster at 0.0: start processing 
     52u: Input_ManagementSystem@cluster at 0.0: start processing 
     53u: Output_BROKER@grid at 0.0: waiting for an event 
    5454u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 
    5555u: BROKER@grid at 0.0: selected event type 21 (event time was 0.0) 
     
    6767u: ManagementSystem@cluster at 0.0: scheduling event type 606 for ManagementSystem@cluster with delay 7200.0 
    6868u: ManagementSystem@cluster at 0.0: waiting for an event 
    69 u: Output_BROKER@grid at 0.0: waiting for an event 
    70 u: Input_ManagementSystem@cluster at 0.0: start processing 
    71 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 
    72 u: ManagementSystem@cluster at 0.0: waiting for an event 
    73 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 
     69u: Input_ManagementSystem@cluster at 0.0: start processing 
     70u: Output_BROKER@grid at 0.0: waiting for an event 
     71u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 
     72u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 
     73u: ManagementSystem@cluster at 0.0: waiting for an event 
    7474u: BROKER@grid at 0.0: selected event type 21 (event time was 0.0) 
    7575u: BROKER@grid at 0.0: scheduling event type 604 for ManagementSystem@cluster with delay 0.0 
     
    8484u: ManagementSystem@cluster at 0.0: scheduling event type 605 for BROKER@grid with delay 0.0 
    8585u: ManagementSystem@cluster at 0.0: waiting for an event 
    86 u: Output_BROKER@grid at 0.0: waiting for an event 
    87 u: Input_ManagementSystem@cluster at 0.0: start processing 
    88 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 
    89 u: ManagementSystem@cluster at 0.0: waiting for an event 
    90 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 
    91 u: BROKER@grid at 0.0: selected event type 21 (event time was 0.0) 
     86u: Input_ManagementSystem@cluster at 0.0: start processing 
     87u: Output_BROKER@grid at 0.0: waiting for an event 
     88u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 
     89u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 
     90u: BROKER@grid at 0.0: selected event type 21 (event time was 0.0) 
     91u: ManagementSystem@cluster at 0.0: waiting for an event 
    9292u: BROKER@grid at 0.0: scheduling event type 604 for ManagementSystem@cluster with delay 0.0 
    9393u: BROKER@grid at 0.0: waiting for an event 
     
    118118u: ManagementSystem@cluster at 0.0: scheduling event type 605 for BROKER@grid with delay 0.0 
    119119u: ManagementSystem@cluster at 0.0: waiting for an event 
    120 u: Output_BROKER@grid at 0.0: waiting for an event 
    121 u: Input_ManagementSystem@cluster at 0.0: start processing 
    122 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 
    123 u: ManagementSystem@cluster at 0.0: waiting for an event 
    124 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 
     120u: Input_ManagementSystem@cluster at 0.0: start processing 
     121u: Output_BROKER@grid at 0.0: waiting for an event 
     122u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 
     123u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 
     124u: ManagementSystem@cluster at 0.0: waiting for an event 
    125125u: BROKER@grid at 0.0: selected event type 21 (event time was 0.0) 
    126126u: BROKER@grid at 0.0: scheduling event type 604 for ManagementSystem@cluster with delay 0.0 
     
    135135u: ManagementSystem@cluster at 0.0: scheduling event type 605 for BROKER@grid with delay 0.0 
    136136u: ManagementSystem@cluster at 0.0: waiting for an event 
    137 u: Output_BROKER@grid at 0.0: waiting for an event 
    138 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 
    139 u: ManagementSystem@cluster at 0.0: waiting for an event 
    140 u: Input_ManagementSystem@cluster at 0.0: start processing 
    141 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 
     137u: Input_ManagementSystem@cluster at 0.0: start processing 
     138u: Output_BROKER@grid at 0.0: waiting for an event 
     139u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 
     140u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 
     141u: ManagementSystem@cluster at 0.0: waiting for an event 
    142142u: BROKER@grid at 0.0: waiting for an event 
    143143u: Input_ManagementSystem@cluster at 0.0: scheduling event type 21 for ManagementSystem@cluster with delay 0.0 
     
    170170u: Output_BROKER@grid at 3600.0: scheduling event type 21 for Input_ManagementSystem@cluster with delay 0.0 
    171171u: Output_BROKER@grid at 3600.0: start processing 
     172u: Input_ManagementSystem@cluster at 3600.0: start processing 
    172173u: Output_BROKER@grid at 3600.0: waiting for an event 
    173 u: Input_ManagementSystem@cluster at 3600.0: start processing 
    174174u: Input_ManagementSystem@cluster at 3600.0: scheduling event type 21 for ManagementSystem@cluster with delay 0.0 
    175175u: Input_ManagementSystem@cluster at 3600.0: waiting for an event 
     
    228228u: BROKER@grid at 7200.0: waiting for an event 
    229229u: Users at 7200.0: waiting for an event 
     230u: Output_ManagementSystem@cluster at 7200.0: waiting for an event 
     231u: Users at 7200.0: waiting for an event 
    230232u: Input_BROKER@grid at 7200.0: scheduling event type 20 for BROKER@grid with delay 0.0 
    231233u: Input_BROKER@grid at 7200.0: selected event type 20 (event time was 7200.0) 
     234u: BROKER@grid at 7200.0: scheduling event type 20 for Users with delay 0.0 
     235u: BROKER@grid at 7200.0: waiting for an event 
    232236u: Input_BROKER@grid at 7200.0: start processing 
    233 u: Output_ManagementSystem@cluster at 7200.0: waiting for an event 
    234237u: Users at 7200.0: waiting for an event 
    235238u: BROKER@grid at 7200.0: scheduling event type 20 for Users with delay 0.0 
     
    237240u: Input_BROKER@grid at 7200.0: scheduling event type 20 for BROKER@grid with delay 0.0 
    238241u: Input_BROKER@grid at 7200.0: waiting for an event 
    239 u: Users at 7200.0: waiting for an event 
    240 u: BROKER@grid at 7200.0: scheduling event type 20 for Users with delay 0.0 
    241 u: BROKER@grid at 7200.0: waiting for an event 
    242242u: Users at 7200.0: waiting for an event 
    243243u: BROKER@grid at 7200.0: scheduling event type 20 for Users with delay 0.0 
     
    254254u: Output_ManagementSystem@cluster at 10800.0: scheduling event type 20 for Input_BROKER@grid with delay 0.0 
    255255u: Output_ManagementSystem@cluster at 10800.0: start processing 
     256u: Input_BROKER@grid at 10800.0: start processing 
    256257u: Output_ManagementSystem@cluster at 10800.0: selected event type 20 (event time was 10800.0) 
    257258u: Output_ManagementSystem@cluster at 10800.0: scheduling event type 20 for Input_BROKER@grid with delay 0.0 
    258259u: Output_ManagementSystem@cluster at 10800.0: start processing 
    259 u: Input_BROKER@grid at 10800.0: start processing 
    260260u: Output_ManagementSystem@cluster at 10800.0: waiting for an event 
    261261u: Input_BROKER@grid at 10800.0: scheduling event type 20 for BROKER@grid with delay 0.0 
     
    308308u: Output_BROKER@grid at 25200.0: scheduling event type 21 for Input_ManagementSystem@cluster with delay 0.0 
    309309u: Output_BROKER@grid at 25200.0: start processing 
     310u: Input_ManagementSystem@cluster at 25200.0: start processing 
    310311u: Output_BROKER@grid at 25200.0: waiting for an event 
    311 u: Input_ManagementSystem@cluster at 25200.0: start processing 
    312312u: Input_ManagementSystem@cluster at 25200.0: scheduling event type 21 for ManagementSystem@cluster with delay 0.0 
    313313u: Input_ManagementSystem@cluster at 25200.0: waiting for an event 
     
    338338u: Output_BROKER@grid at 39600.0: scheduling event type 21 for Input_ManagementSystem@cluster with delay 0.0 
    339339u: Output_BROKER@grid at 39600.0: start processing 
     340u: Output_BROKER@grid at 39600.0: waiting for an event 
    340341u: Input_ManagementSystem@cluster at 39600.0: start processing 
    341 u: Output_BROKER@grid at 39600.0: waiting for an event 
    342342u: Input_ManagementSystem@cluster at 39600.0: scheduling event type 21 for ManagementSystem@cluster with delay 0.0 
    343343u: Input_ManagementSystem@cluster at 39600.0: waiting for an event 
  • DCWoRMS/trunk/src/gridsim/dcworms/DCWormsTags.java

    r493 r494  
    88public class DCWormsTags extends GridSimTags { 
    99         
    10         protected static final int GSSIMBASE = 600;  
     10        protected static final int DCWORMSBASE = 600;  
    1111         
    12         public static final int UPDATE= GSSIMBASE - 1; 
     12        public static final int UPDATE= DCWORMSBASE - 1; 
    1313         
    14         public static final int TIMER = GSSIMBASE + 1; 
     14        public static final int TIMER = DCWORMSBASE + 1; 
    1515         
    16         public static final int TASK_READY_FOR_EXECUTION = GSSIMBASE + 2; 
     16        public static final int TASK_READY_FOR_EXECUTION = DCWORMSBASE + 2; 
    1717         
    18         public static final int TASK_EXECUTION_FINISHED = GSSIMBASE + 3; 
     18        public static final int TASK_EXECUTION_FINISHED = DCWORMSBASE + 3; 
    1919         
    2020 
     
    2222         * Message tag: query resource about its current state in object form (load, queues, etc.) 
    2323         */  
    24         public static final int QUERY_RESOURCE_DESC = GSSIMBASE + 4;  
     24        public static final int QUERY_RESOURCE_DESC = DCWORMSBASE + 4;  
    2525 
    26         public static final int QUERY_RESOURCE_DESC_RESULT = GSSIMBASE + 5;  
     26        public static final int QUERY_RESOURCE_DESC_RESULT = DCWORMSBASE + 5;  
    2727         
    28         public static final int TASK_REQUESTED_TIME_EXPIRED = GSSIMBASE + 6; 
     28        public static final int TASK_REQUESTED_TIME_EXPIRED = DCWORMSBASE + 6; 
    2929 
    3030         
  • DCWoRMS/trunk/src/org/joda/time/VCMilisProvider.java

    r477 r494  
    3939                long vc = Math.round(Sim_system.clock()); 
    4040                //System.out.println("SIMJAVA TIME: "+Sim_system.clock()); 
    41                 //System.out.println("CLOUD TIME: "+GSSIM.clock()); 
    4241                 
    4342                // change virtual seconds to milliseconds 
  • DCWoRMS/trunk/src/schedframe/resources/computing/ComputingResource.java

    r493 r494  
    157157                //if(scheduler != null && (parent != null && scheduler != parent.getScheduler())/*scheduler.getResources().contains(this)*/){ 
    158158                //      String src = event.getSource() != null ? event.getSource() : name; 
    159                 //      scheduler.sendInternal(GridSimTags.SCHEDULE_NOW, GssimTags.UPDATE, src); 
     159                //      scheduler.sendInternal(GridSimTags.SCHEDULE_NOW, DCWormsTags.UPDATE, src); 
    160160                //} 
    161161                //triggerEventUp(event); 
  • DCWoRMS/trunk/src/schedframe/resources/computing/profiles/energy/power/ui/ProcessorPowerInterface.java

    r477 r494  
    11package schedframe.resources.computing.profiles.energy.power.ui; 
     2 
     3import gridsim.dcworms.DCWormsTags; 
    24 
    35import java.util.Map; 
     
    8385                        //new ResourceEventCommand(resource).execute(EnergyEventType.FREQUENCY_CHANGED); 
    8486                        resource.handleEvent(new EnergyEvent(EnergyEventType.FREQUENCY_CHANGED, resource.getName())); 
    85                         //resource.getScheduler().sendInternal(GridSimTags.SCHEDULE_NOW, GssimTags.UPDATE, resource.getName()); 
     87                        //resource.getScheduler().sendInternal(GridSimTags.SCHEDULE_NOW, DCWormsTags.UPDATE, resource.getName()); 
    8688                        return true; 
    8789                } 
  • DCWoRMS/trunk/src/schedframe/scheduling/Scheduler.java

    r493 r494  
    133133                                // managemetnSystem_.setEndSimulation(); 
    134134                                run = false; 
    135                                 /*Sim_stat stats = get_stat(); 
    136                                 List<Object[]> measures = stats.get_measures(); 
    137                                 for (Object[] info : measures) { 
    138                                         String measure = (String) info[0]; 
    139                                         if (measure 
    140                                                         .startsWith(GssimConstants.TASKS_QUEUE_LENGTH_MEASURE_NAME)) { 
    141                                                 System.out.println("====="+this.get_name()+";"+stats.average(measure)); 
    142                                         } 
    143                                 }*/ 
    144135                                break; 
    145136                        } 
     
    155146 
    156147                case GridSimTags.GRIDLET_SUBMIT: 
    157                         processGSSIMJobSubmit(ev, false); 
     148                        processWorkloadUnitSubmit(ev, false); 
    158149                        break; 
    159150 
    160151                case GridSimTags.GRIDLET_SUBMIT_ACK: 
    161                         processGSSIMJobSubmit(ev, true); 
     152                        processWorkloadUnitSubmit(ev, true); 
    162153                        break; 
    163154 
    164155                case GridSimTags.GRIDLET_RETURN: 
    165                         processGSSIMJobReturn(ev); 
     156                        processWorkloadUnitReturn(ev); 
    166157                        break; 
    167158 
     
    194185        }*/ 
    195186         
    196         protected void processGSSIMJobReturn(Sim_event ev) { 
     187        protected void processWorkloadUnitReturn(Sim_event ev) { 
    197188                WorkloadUnit job = (WorkloadUnit) ev.get_data(); 
    198189                managementSystem.notifyReturnedWorkloadUnit(job); 
    199190        } 
    200191 
    201         protected void processGSSIMJobSubmit(Sim_event ev, boolean ack) { 
     192        protected void processWorkloadUnitSubmit(Sim_event ev, boolean ack) { 
    202193                WorkloadUnit job = (WorkloadUnit) ev.get_data(); 
    203194                managementSystem.notifySubmittedWorkloadUnit(job, ack); 
  • DCWoRMS/trunk/src/simulator/DataCenterWorkloadSimulator.java

    r493 r494  
    9797         */ 
    9898        public static void main(String[] args) { 
    99                 DataCenterWorkloadSimulator gssim = new DataCenterWorkloadSimulator(); 
    100                 gssim.run(args); 
     99                DataCenterWorkloadSimulator dcworms = new DataCenterWorkloadSimulator(); 
     100                dcworms.run(args); 
    101101        } 
    102102 
     
    197197        } 
    198198 
    199         private void runMultiuser(String rootDirPath, DataCenterWorkloadSimulator gssim) { 
     199        private void runMultiuser(String rootDirPath, DataCenterWorkloadSimulator dcworms) { 
    200200                throw new RuntimeException("not supported yet"); 
    201201        } 
  • DCWoRMS/trunk/src/simulator/stats/implementation/DCWormsStatistics.java

    r493 r494  
    809809                ChartRenderingInfo info = new ChartRenderingInfo(); 
    810810                File f = new File(fileName + "." + ImageFormat.PNG); 
    811                 final String gssimSubtitle = "Created by " 
     811                final String dcwormsSubtitle = "Created by " 
    812812                                + DataCenterWorkloadSimulator.SIMULATOR_NAME 
    813813                                + " http://www.gssim.org/"; 
    814                 c.addSubtitle(new TextTitle(gssimSubtitle)); 
     814                c.addSubtitle(new TextTitle(dcwormsSubtitle)); 
    815815                boolean encodeAlpha = false; 
    816816                int compression = 9;// values 0-9 
     
    12641264                // info.setEntityCollection(null); 
    12651265                File f = new File(fileName + "." + ImageFormat.PNG); 
    1266                 final String gssimSubtitle = "Created by " + DataCenterWorkloadSimulator.SIMULATOR_NAME + " http://www.gssim.org/"; 
    1267                 c.addSubtitle(new TextTitle(gssimSubtitle)); 
     1266                final String dcwormsSubtitle = "Created by " + DataCenterWorkloadSimulator.SIMULATOR_NAME + " http://www.gssim.org/"; 
     1267                c.addSubtitle(new TextTitle(dcwormsSubtitle)); 
    12681268                boolean encodeAlpha = false; 
    12691269                int compression = 9; 
Note: See TracChangeset for help on using the changeset viewer.