- Timestamp:
- 10/09/12 15:04:11 (13 years ago)
- Location:
- DCWoRMS/trunk
- Files:
-
- 2 deleted
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/example/experiment3/experiment3.properties
r491 r494 18 18 creatediagrams.gantt=true 19 19 creatediagrams.taskswaitingtime=false 20 creatediagrams.energyusage= DataCenter;Rack;ComputingNode;Processor20 creatediagrams.energyusage=ComputingNode;Processor -
DCWoRMS/trunk/example/experiment3_result/experiment.properties
r491 r494 18 18 creatediagrams.gantt=true 19 19 creatediagrams.taskswaitingtime=false 20 creatediagrams.energyusage= DataCenter;Rack;ComputingNode;Processor20 creatediagrams.energyusage=ComputingNode;Processor -
DCWoRMS/trunk/properties/log4j.properties
r477 r494 20 20 21 21 log4j.appender.F1=org.apache.log4j.FileAppender 22 log4j.appender.F1.file= gssim.log22 log4j.appender.F1.file=dcworms.log 23 23 log4j.appender.F1.append=false 24 24 log4j.appender.F1.layout=org.apache.log4j.PatternLayout -
DCWoRMS/trunk/sim_report
r481 r494 7 7 Version: SimJava 2.0 8 8 9 Simulation date: October 8, 201210 Simulation start time: 10:36:10 AM CEST11 Simulation end time: 10:36:11 AM CEST9 Simulation date: October 9, 2012 10 Simulation start time: 3:34:00 PM CEST 11 Simulation end time: 3:34:00 PM CEST 12 12 13 13 ############################################################ -
DCWoRMS/trunk/sim_trace
r481 r494 4 4 u: Input_GridInformationService at 0.0: waiting for an event 5 5 u: Output_GridInformationService at 0.0: waiting for an event 6 u: ManagementSystem@cluster at 0.0: waiting for an event7 6 u: Input_ManagementSystem@cluster at 0.0: waiting for an event 8 7 u: Output_ManagementSystem@cluster at 0.0: waiting for an event 9 8 u: BROKER@grid at 0.0: waiting for an event 10 9 u: Input_BROKER@grid at 0.0: waiting for an event 11 u: Output_BROKER@grid at 0.0: waiting for an event 10 u: ManagementSystem@cluster at 0.0: waiting for an event 11 u: Output_BROKER@grid at 0.0: waiting for an event 12 u: Input_Users at 0.0: waiting for an event 12 13 u: Output_Users at 0.0: waiting for an event 13 u: Input_Users at 0.0: waiting for an event14 14 u: Users at 0.0: scheduling event type 21 for BROKER@grid with delay 0.0 15 15 u: Users at 0.0: scheduling event type 21 for BROKER@grid with delay 0.0 … … 50 50 u: ManagementSystem@cluster at 0.0: scheduling event type 605 for BROKER@grid with delay 0.0 51 51 u: ManagementSystem@cluster at 0.0: waiting for an event 52 u: Output_BROKER@grid at 0.0: waiting for an event53 u: Input_ManagementSystem@cluster at 0.0: start processing52 u: Input_ManagementSystem@cluster at 0.0: start processing 53 u: Output_BROKER@grid at 0.0: waiting for an event 54 54 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 55 55 u: BROKER@grid at 0.0: selected event type 21 (event time was 0.0) … … 67 67 u: ManagementSystem@cluster at 0.0: scheduling event type 606 for ManagementSystem@cluster with delay 7200.0 68 68 u: ManagementSystem@cluster at 0.0: waiting for an event 69 u: Output_BROKER@grid at 0.0: waiting for an event70 u: Input_ManagementSystem@cluster at 0.0: start processing71 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@clusterwith delay 0.072 u: ManagementSystem@cluster at 0.0: waiting for an event73 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.069 u: Input_ManagementSystem@cluster at 0.0: start processing 70 u: Output_BROKER@grid at 0.0: waiting for an event 71 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 72 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 73 u: ManagementSystem@cluster at 0.0: waiting for an event 74 74 u: BROKER@grid at 0.0: selected event type 21 (event time was 0.0) 75 75 u: BROKER@grid at 0.0: scheduling event type 604 for ManagementSystem@cluster with delay 0.0 … … 84 84 u: ManagementSystem@cluster at 0.0: scheduling event type 605 for BROKER@grid with delay 0.0 85 85 u: ManagementSystem@cluster at 0.0: waiting for an event 86 u: Output_BROKER@grid at 0.0: waiting for an event87 u: Input_ManagementSystem@cluster at 0.0: start processing88 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@clusterwith delay 0.089 u: ManagementSystem@cluster at 0.0: waiting for an event90 u: BROKER@grid at 0.0: s cheduling event type 21 for Output_BROKER@grid with delay 0.091 u: BROKER@grid at 0.0: selected event type 21 (event time was 0.0)86 u: Input_ManagementSystem@cluster at 0.0: start processing 87 u: Output_BROKER@grid at 0.0: waiting for an event 88 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 89 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 90 u: BROKER@grid at 0.0: selected event type 21 (event time was 0.0) 91 u: ManagementSystem@cluster at 0.0: waiting for an event 92 92 u: BROKER@grid at 0.0: scheduling event type 604 for ManagementSystem@cluster with delay 0.0 93 93 u: BROKER@grid at 0.0: waiting for an event … … 118 118 u: ManagementSystem@cluster at 0.0: scheduling event type 605 for BROKER@grid with delay 0.0 119 119 u: ManagementSystem@cluster at 0.0: waiting for an event 120 u: Output_BROKER@grid at 0.0: waiting for an event121 u: Input_ManagementSystem@cluster at 0.0: start processing122 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@clusterwith delay 0.0123 u: ManagementSystem@cluster at 0.0: waiting for an event124 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0120 u: Input_ManagementSystem@cluster at 0.0: start processing 121 u: Output_BROKER@grid at 0.0: waiting for an event 122 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 123 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 124 u: ManagementSystem@cluster at 0.0: waiting for an event 125 125 u: BROKER@grid at 0.0: selected event type 21 (event time was 0.0) 126 126 u: BROKER@grid at 0.0: scheduling event type 604 for ManagementSystem@cluster with delay 0.0 … … 135 135 u: ManagementSystem@cluster at 0.0: scheduling event type 605 for BROKER@grid with delay 0.0 136 136 u: ManagementSystem@cluster at 0.0: waiting for an event 137 u: Output_BROKER@grid at 0.0: waiting for an event138 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0139 u: ManagementSystem@cluster at 0.0: waiting for an event140 u: Input_ManagementSystem@cluster at 0.0: start processing141 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0137 u: Input_ManagementSystem@cluster at 0.0: start processing 138 u: Output_BROKER@grid at 0.0: waiting for an event 139 u: BROKER@grid at 0.0: scheduling event type 21 for Output_BROKER@grid with delay 0.0 140 u: ManagementSystem@cluster at 0.0: scheduling event type 602 for ManagementSystem@cluster with delay 0.0 141 u: ManagementSystem@cluster at 0.0: waiting for an event 142 142 u: BROKER@grid at 0.0: waiting for an event 143 143 u: Input_ManagementSystem@cluster at 0.0: scheduling event type 21 for ManagementSystem@cluster with delay 0.0 … … 170 170 u: Output_BROKER@grid at 3600.0: scheduling event type 21 for Input_ManagementSystem@cluster with delay 0.0 171 171 u: Output_BROKER@grid at 3600.0: start processing 172 u: Input_ManagementSystem@cluster at 3600.0: start processing 172 173 u: Output_BROKER@grid at 3600.0: waiting for an event 173 u: Input_ManagementSystem@cluster at 3600.0: start processing174 174 u: Input_ManagementSystem@cluster at 3600.0: scheduling event type 21 for ManagementSystem@cluster with delay 0.0 175 175 u: Input_ManagementSystem@cluster at 3600.0: waiting for an event … … 228 228 u: BROKER@grid at 7200.0: waiting for an event 229 229 u: Users at 7200.0: waiting for an event 230 u: Output_ManagementSystem@cluster at 7200.0: waiting for an event 231 u: Users at 7200.0: waiting for an event 230 232 u: Input_BROKER@grid at 7200.0: scheduling event type 20 for BROKER@grid with delay 0.0 231 233 u: Input_BROKER@grid at 7200.0: selected event type 20 (event time was 7200.0) 234 u: BROKER@grid at 7200.0: scheduling event type 20 for Users with delay 0.0 235 u: BROKER@grid at 7200.0: waiting for an event 232 236 u: Input_BROKER@grid at 7200.0: start processing 233 u: Output_ManagementSystem@cluster at 7200.0: waiting for an event234 237 u: Users at 7200.0: waiting for an event 235 238 u: BROKER@grid at 7200.0: scheduling event type 20 for Users with delay 0.0 … … 237 240 u: Input_BROKER@grid at 7200.0: scheduling event type 20 for BROKER@grid with delay 0.0 238 241 u: Input_BROKER@grid at 7200.0: waiting for an event 239 u: Users at 7200.0: waiting for an event240 u: BROKER@grid at 7200.0: scheduling event type 20 for Users with delay 0.0241 u: BROKER@grid at 7200.0: waiting for an event242 242 u: Users at 7200.0: waiting for an event 243 243 u: BROKER@grid at 7200.0: scheduling event type 20 for Users with delay 0.0 … … 254 254 u: Output_ManagementSystem@cluster at 10800.0: scheduling event type 20 for Input_BROKER@grid with delay 0.0 255 255 u: Output_ManagementSystem@cluster at 10800.0: start processing 256 u: Input_BROKER@grid at 10800.0: start processing 256 257 u: Output_ManagementSystem@cluster at 10800.0: selected event type 20 (event time was 10800.0) 257 258 u: Output_ManagementSystem@cluster at 10800.0: scheduling event type 20 for Input_BROKER@grid with delay 0.0 258 259 u: Output_ManagementSystem@cluster at 10800.0: start processing 259 u: Input_BROKER@grid at 10800.0: start processing260 260 u: Output_ManagementSystem@cluster at 10800.0: waiting for an event 261 261 u: Input_BROKER@grid at 10800.0: scheduling event type 20 for BROKER@grid with delay 0.0 … … 308 308 u: Output_BROKER@grid at 25200.0: scheduling event type 21 for Input_ManagementSystem@cluster with delay 0.0 309 309 u: Output_BROKER@grid at 25200.0: start processing 310 u: Input_ManagementSystem@cluster at 25200.0: start processing 310 311 u: Output_BROKER@grid at 25200.0: waiting for an event 311 u: Input_ManagementSystem@cluster at 25200.0: start processing312 312 u: Input_ManagementSystem@cluster at 25200.0: scheduling event type 21 for ManagementSystem@cluster with delay 0.0 313 313 u: Input_ManagementSystem@cluster at 25200.0: waiting for an event … … 338 338 u: Output_BROKER@grid at 39600.0: scheduling event type 21 for Input_ManagementSystem@cluster with delay 0.0 339 339 u: Output_BROKER@grid at 39600.0: start processing 340 u: Output_BROKER@grid at 39600.0: waiting for an event 340 341 u: Input_ManagementSystem@cluster at 39600.0: start processing 341 u: Output_BROKER@grid at 39600.0: waiting for an event342 342 u: Input_ManagementSystem@cluster at 39600.0: scheduling event type 21 for ManagementSystem@cluster with delay 0.0 343 343 u: Input_ManagementSystem@cluster at 39600.0: waiting for an event -
DCWoRMS/trunk/src/gridsim/dcworms/DCWormsTags.java
r493 r494 8 8 public class DCWormsTags extends GridSimTags { 9 9 10 protected static final int GSSIMBASE = 600;10 protected static final int DCWORMSBASE = 600; 11 11 12 public static final int UPDATE= GSSIMBASE - 1;12 public static final int UPDATE= DCWORMSBASE - 1; 13 13 14 public static final int TIMER = GSSIMBASE + 1;14 public static final int TIMER = DCWORMSBASE + 1; 15 15 16 public static final int TASK_READY_FOR_EXECUTION = GSSIMBASE + 2;16 public static final int TASK_READY_FOR_EXECUTION = DCWORMSBASE + 2; 17 17 18 public static final int TASK_EXECUTION_FINISHED = GSSIMBASE + 3;18 public static final int TASK_EXECUTION_FINISHED = DCWORMSBASE + 3; 19 19 20 20 … … 22 22 * Message tag: query resource about its current state in object form (load, queues, etc.) 23 23 */ 24 public static final int QUERY_RESOURCE_DESC = GSSIMBASE + 4;24 public static final int QUERY_RESOURCE_DESC = DCWORMSBASE + 4; 25 25 26 public static final int QUERY_RESOURCE_DESC_RESULT = GSSIMBASE + 5;26 public static final int QUERY_RESOURCE_DESC_RESULT = DCWORMSBASE + 5; 27 27 28 public static final int TASK_REQUESTED_TIME_EXPIRED = GSSIMBASE + 6;28 public static final int TASK_REQUESTED_TIME_EXPIRED = DCWORMSBASE + 6; 29 29 30 30 -
DCWoRMS/trunk/src/org/joda/time/VCMilisProvider.java
r477 r494 39 39 long vc = Math.round(Sim_system.clock()); 40 40 //System.out.println("SIMJAVA TIME: "+Sim_system.clock()); 41 //System.out.println("CLOUD TIME: "+GSSIM.clock());42 41 43 42 // change virtual seconds to milliseconds -
DCWoRMS/trunk/src/schedframe/resources/computing/ComputingResource.java
r493 r494 157 157 //if(scheduler != null && (parent != null && scheduler != parent.getScheduler())/*scheduler.getResources().contains(this)*/){ 158 158 // 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); 160 160 //} 161 161 //triggerEventUp(event); -
DCWoRMS/trunk/src/schedframe/resources/computing/profiles/energy/power/ui/ProcessorPowerInterface.java
r477 r494 1 1 package schedframe.resources.computing.profiles.energy.power.ui; 2 3 import gridsim.dcworms.DCWormsTags; 2 4 3 5 import java.util.Map; … … 83 85 //new ResourceEventCommand(resource).execute(EnergyEventType.FREQUENCY_CHANGED); 84 86 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()); 86 88 return true; 87 89 } -
DCWoRMS/trunk/src/schedframe/scheduling/Scheduler.java
r493 r494 133 133 // managemetnSystem_.setEndSimulation(); 134 134 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 (measure140 .startsWith(GssimConstants.TASKS_QUEUE_LENGTH_MEASURE_NAME)) {141 System.out.println("====="+this.get_name()+";"+stats.average(measure));142 }143 }*/144 135 break; 145 136 } … … 155 146 156 147 case GridSimTags.GRIDLET_SUBMIT: 157 process GSSIMJobSubmit(ev, false);148 processWorkloadUnitSubmit(ev, false); 158 149 break; 159 150 160 151 case GridSimTags.GRIDLET_SUBMIT_ACK: 161 process GSSIMJobSubmit(ev, true);152 processWorkloadUnitSubmit(ev, true); 162 153 break; 163 154 164 155 case GridSimTags.GRIDLET_RETURN: 165 process GSSIMJobReturn(ev);156 processWorkloadUnitReturn(ev); 166 157 break; 167 158 … … 194 185 }*/ 195 186 196 protected void process GSSIMJobReturn(Sim_event ev) {187 protected void processWorkloadUnitReturn(Sim_event ev) { 197 188 WorkloadUnit job = (WorkloadUnit) ev.get_data(); 198 189 managementSystem.notifyReturnedWorkloadUnit(job); 199 190 } 200 191 201 protected void process GSSIMJobSubmit(Sim_event ev, boolean ack) {192 protected void processWorkloadUnitSubmit(Sim_event ev, boolean ack) { 202 193 WorkloadUnit job = (WorkloadUnit) ev.get_data(); 203 194 managementSystem.notifySubmittedWorkloadUnit(job, ack); -
DCWoRMS/trunk/src/simulator/DataCenterWorkloadSimulator.java
r493 r494 97 97 */ 98 98 public static void main(String[] args) { 99 DataCenterWorkloadSimulator gssim= new DataCenterWorkloadSimulator();100 gssim.run(args);99 DataCenterWorkloadSimulator dcworms = new DataCenterWorkloadSimulator(); 100 dcworms.run(args); 101 101 } 102 102 … … 197 197 } 198 198 199 private void runMultiuser(String rootDirPath, DataCenterWorkloadSimulator gssim) {199 private void runMultiuser(String rootDirPath, DataCenterWorkloadSimulator dcworms) { 200 200 throw new RuntimeException("not supported yet"); 201 201 } -
DCWoRMS/trunk/src/simulator/stats/implementation/DCWormsStatistics.java
r493 r494 809 809 ChartRenderingInfo info = new ChartRenderingInfo(); 810 810 File f = new File(fileName + "." + ImageFormat.PNG); 811 final String gssimSubtitle = "Created by "811 final String dcwormsSubtitle = "Created by " 812 812 + DataCenterWorkloadSimulator.SIMULATOR_NAME 813 813 + " http://www.gssim.org/"; 814 c.addSubtitle(new TextTitle( gssimSubtitle));814 c.addSubtitle(new TextTitle(dcwormsSubtitle)); 815 815 boolean encodeAlpha = false; 816 816 int compression = 9;// values 0-9 … … 1264 1264 // info.setEntityCollection(null); 1265 1265 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)); 1268 1268 boolean encodeAlpha = false; 1269 1269 int compression = 9;
Note: See TracChangeset
for help on using the changeset viewer.