|
From: <sul...@us...> - 2007-08-29 01:14:15
|
Revision: 39
http://gridsim.svn.sourceforge.net/gridsim/?rev=39&view=rev
Author: sulistio
Date: 2007-08-28 18:14:15 -0700 (Tue, 28 Aug 2007)
Log Message:
-----------
add the output of this example.
Added Paths:
-----------
branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Regional_GIS
branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_0
branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_1
branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_2
branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_User0
branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_User0_Fin
branches/gridsim4.0-branch1/examples/ResFailureEx01/output.txt
Added: branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Regional_GIS
===================================================================
--- branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Regional_GIS (rev 0)
+++ branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Regional_GIS 2007-08-29 01:14:15 UTC (rev 39)
@@ -0,0 +1,4 @@
+Event ResourceID Clock
+Registering 10 10.020000998399999
+Registering 15 10.030000998399998
+Registering 20 10.040000998399998
Added: branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_0
===================================================================
--- branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_0 (rev 0)
+++ branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_0 2007-08-29 01:14:15 UTC (rev 39)
@@ -0,0 +1 @@
+Event NumMachines Clock
Added: branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_1
===================================================================
--- branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_1 (rev 0)
+++ branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_1 2007-08-29 01:14:15 UTC (rev 39)
@@ -0,0 +1,2 @@
+Event NumMachines Clock
+Failure 3 31.205408168820174
Added: branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_2
===================================================================
--- branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_2 (rev 0)
+++ branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_Res_2 2007-08-29 01:14:15 UTC (rev 39)
@@ -0,0 +1 @@
+Event NumMachines Clock
Added: branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_User0
===================================================================
--- branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_User0 (rev 0)
+++ branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_User0 2007-08-29 01:14:15 UTC (rev 39)
@@ -0,0 +1,11 @@
+User Event GridletID Resource GridletStatus Clock
+Ex01_User0 Sending 0 Ex01_Res_2 Created 374.04012479999994
+Ex01_User0 Sending 1 Ex01_Res_1 Created 374.77037439999924
+Ex01_User0 Sending 2 Ex01_Res_2 Created 375.50062399999854
+Ex01_User0 Sending 3 Ex01_Res_2 Created 376.23087359999784
+Ex01_User0 Sending 4 Ex01_Res_0 Created 376.96112319999713
+Ex01_User0 Receiving 0 Ex01_Res_2 Success 1233.4001439999986
+Ex01_User0 Receiving 1 Ex01_Res_1 Success 1234.130393599998
+Ex01_User0 Receiving 2 Ex01_Res_2 Success 1234.8606431999972
+Ex01_User0 Receiving 3 Ex01_Res_2 Success 1235.5306431999966
+Ex01_User0 Receiving 4 Ex01_Res_0 Success 1236.3211423999958
Added: branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_User0_Fin
===================================================================
--- branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_User0_Fin (rev 0)
+++ branches/gridsim4.0-branch1/examples/ResFailureEx01/Ex01_User0_Fin 2007-08-29 01:14:15 UTC (rev 39)
@@ -0,0 +1,6 @@
+User GridletID Resource Cost CPU time Latency
+Ex01_User0 0 Ex01_Res_2 2574.0 858.0 245555.1188510172
+Ex01_User0 1 Ex01_Res_1 2574.0 858.0 245555.1188510172
+Ex01_User0 2 Ex01_Res_2 2574.0 858.0 245555.1188510172
+Ex01_User0 3 Ex01_Res_2 2571.809251200002 857.2697504000007 245555.1188510172
+Ex01_User0 4 Ex01_Res_0 2574.0 858.0 245555.1188510172
Added: branches/gridsim4.0-branch1/examples/ResFailureEx01/output.txt
===================================================================
--- branches/gridsim4.0-branch1/examples/ResFailureEx01/output.txt (rev 0)
+++ branches/gridsim4.0-branch1/examples/ResFailureEx01/output.txt 2007-08-29 01:14:15 UTC (rev 39)
@@ -0,0 +1,96 @@
+Starting failure example 1...
+Initializing GridSim package
+Initialising...
+Reading network from network_ex01.txt
+Created a REGIONAL GIS with name Ex01_Regional_GIS and id = 6, connected to Router0
+Created a RESOURCE (10 machines, each with 4 PEs) with name = Ex01_Res_0 and id = 10, connected to router Router0 and registered to Ex01_Regional_GIS
+Created a RESOURCE (10 machines, each with 4 PEs) with name = Ex01_Res_1 and id = 15, connected to router Router0 and registered to Ex01_Regional_GIS
+Created a RESOURCE (10 machines, each with 4 PEs) with name = Ex01_Res_2 and id = 20, connected to router Router0 and registered to Ex01_Regional_GIS
+Created a USER with name Ex01_User0 and id = 25, connected to Router0, and with 5 gridlets. Registered to Ex01_Regional_GIS
+
+Starting GridSim version 4.0
+Entities started.
+Ex01_Regional_GIS: sends an autogenerated GRIDRESOURCE_FAILURE to itself. Clock(): 0.0. resTimeFail: 20.918443148412194 seconds
+Ex01_User0: initial SUBMIT_GRIDLET event will be at clock: 294. Current clock: 0.0
+Ex01_Res_1.body(): wait for 10 seconds before registering to Ex01_Regional_GIS
+Ex01_Res_0.body(): wait for 10 seconds before registering to Ex01_Regional_GIS
+Ex01_Res_2.body(): wait for 10 seconds before registering to Ex01_Regional_GIS
+
+Ex01_Regional_GIS: registering Ex01_Res_0
+Ex01_Regional_GIS: list[0] = Ex01_Res_0
+
+
+Ex01_Regional_GIS: registering Ex01_Res_1
+Ex01_Regional_GIS: list[0] = Ex01_Res_0
+Ex01_Regional_GIS: list[1] = Ex01_Res_1
+
+
+Ex01_Regional_GIS: registering Ex01_Res_2
+Ex01_Regional_GIS: list[0] = Ex01_Res_0
+Ex01_Regional_GIS: list[1] = Ex01_Res_1
+Ex01_Regional_GIS: list[2] = Ex01_Res_2
+
+Ex01_Regional_GIS: 3 resources will fail in this simulation. Num of failed machines on each resource will be decided later
+Ex01_Regional_GIS: sends an autogenerated GRIDRESOURCE_FAILURE to itself. Clock: 20.918443148412194, resTimeFail: 9.29564320636208 seconds
+Ex01_Regional_GIS: sends an autogenerated GRIDRESOURCE_FAILURE to itself. Clock: 20.918443148412194, resTimeFail: 10.226805942007969 seconds
+Ex01_Regional_GIS: sends an autogenerated GRIDRESOURCE_FAILURE to itself. Clock: 20.918443148412194, resTimeFail: 9.592465799264474 seconds
+Ex01_Regional_GIS: sends a GRIDRESOURCE_FAILURE event to the resource Ex01_Res_1. numMachFailed: 3. Clock: 31.185283368820173. Fail duration: 68.2010926576801 hours. Some machines may still work or may not.
+Ex01_Res_1.processFailure(): receives an event GRIDRESOURCE_FAILURE. Clock: 31.205408168820174. There are STILL working machines in this resource.
+Ex01_Res_1 - Machine: 0 is set to FAILED
+Ex01_Res_1 - Machine: 0 is FAILED
+Ex01_Res_1 - Machine: 1 is set to FAILED
+Ex01_Res_1 - Machine: 1 is FAILED
+Ex01_Res_1 - Machine: 2 is set to FAILED
+Ex01_Res_1 - Machine: 2 is FAILED
+Ex01_User0: received an SUBMIT_GRIDLET event. Clock: 294.0
+Ex01_User0: resource[0] = 10
+Ex01_User0: resource[1] = 15
+Ex01_User0: resource[2] = 20
+Ex01_User0: Sending Gridlet #0 to Ex01_Res_2 at clock: 374.04012479999994
+Ex01_User0: resource[0] = 10
+Ex01_User0: resource[1] = 15
+Ex01_User0: resource[2] = 20
+Ex01_User0: Sending Gridlet #1 to Ex01_Res_1 at clock: 374.77037439999924
+Ex01_User0: resource[0] = 10
+Ex01_User0: resource[1] = 15
+Ex01_User0: resource[2] = 20
+Ex01_User0: Sending Gridlet #2 to Ex01_Res_2 at clock: 375.50062399999854
+Ex01_User0: resource[0] = 10
+Ex01_User0: resource[1] = 15
+Ex01_User0: resource[2] = 20
+Ex01_User0: Sending Gridlet #3 to Ex01_Res_2 at clock: 376.23087359999784
+Ex01_User0: resource[0] = 10
+Ex01_User0: resource[1] = 15
+Ex01_User0: resource[2] = 20
+Ex01_User0: Sending Gridlet #4 to Ex01_Res_0 at clock: 376.96112319999713
+Ex01_User0: received an GRIDLET_RETURN event. Clock: 1233.4001439999986
+Ex01_User0: Receiving Gridlet #0 with status Success at time = 1233.4001439999986 from resource Ex01_Res_2
+Ex01_User0: received an GRIDLET_RETURN event. Clock: 1234.130393599998
+Ex01_User0: Receiving Gridlet #1 with status Success at time = 1234.130393599998 from resource Ex01_Res_1
+Ex01_User0: received an GRIDLET_RETURN event. Clock: 1234.8606431999972
+Ex01_User0: Receiving Gridlet #2 with status Success at time = 1234.8606431999972 from resource Ex01_Res_2
+Ex01_User0: received an GRIDLET_RETURN event. Clock: 1235.5306431999966
+Ex01_User0: Receiving Gridlet #3 with status Success at time = 1235.5306431999966 from resource Ex01_Res_2
+Ex01_User0: received an GRIDLET_RETURN event. Clock: 1236.3211423999958
+Ex01_User0: Receiving Gridlet #4 with status Success at time = 1236.3211423999958 from resource Ex01_Res_0
+GridInformationService: Notify all GridSim entities for shutting down.
+Ex01_Res_1: end of simulation...
+Ex01_Res_0: end of simulation...
+Ex01_Res_2: end of simulation...
+Sim_system: No more future events
+Gathering simulation data.
+
+============== Ex01_User0. Ending simulation...
+
+============= OUTPUT for Ex01_User0 ==========
+Gridlet ID STATUS Resource ID Cost CPU Time Latency
+ 0 Success 20 2574.0 858.0 859.3600191999986
+ 1 Success 15 2574.0 858.0 859.3600191999986
+ 2 Success 20 2574.0 858.0 859.3600191999986
+ 3 Success 20 2571.809251200002 857.2697504000007 859.2997695999987
+ 4 Success 10 2574.0 858.0 859.3600191999986
+=================================================
+Simulation completed.
+
+Finish failure example 1...
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|