You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(24) |
Nov
(5) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(14) |
Feb
(8) |
Mar
(6) |
Apr
(7) |
May
(1) |
Jun
(22) |
Jul
(6) |
Aug
(22) |
Sep
(22) |
Oct
(8) |
Nov
(10) |
Dec
(31) |
2009 |
Jan
(18) |
Feb
(29) |
Mar
(25) |
Apr
(11) |
May
(6) |
Jun
(7) |
Jul
(8) |
Aug
|
Sep
(3) |
Oct
(20) |
Nov
(11) |
Dec
(1) |
2010 |
Jan
(15) |
Feb
(33) |
Mar
(20) |
Apr
(13) |
May
(1) |
Jun
(4) |
Jul
(7) |
Aug
(11) |
Sep
(5) |
Oct
(6) |
Nov
(7) |
Dec
(12) |
2011 |
Jan
(6) |
Feb
(7) |
Mar
(1) |
Apr
(7) |
May
|
Jun
(10) |
Jul
(2) |
Aug
(2) |
Sep
(4) |
Oct
(3) |
Nov
(4) |
Dec
(1) |
2012 |
Jan
(3) |
Feb
(5) |
Mar
(15) |
Apr
(3) |
May
(2) |
Jun
(5) |
Jul
(5) |
Aug
(7) |
Sep
|
Oct
(2) |
Nov
(3) |
Dec
(1) |
2013 |
Jan
|
Feb
|
Mar
(4) |
Apr
(14) |
May
(8) |
Jun
(4) |
Jul
(3) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2014 |
Jan
(2) |
Feb
(1) |
Mar
(6) |
Apr
(2) |
May
(1) |
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
(3) |
Nov
(3) |
Dec
(2) |
2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Gilberto C. <gil...@gm...> - 2008-01-28 11:26:35
|
Hi, Yangyu, Agustin e Alexander. Thanks, for your answers. I was finding a framework for simulate any heuristics based in makespan for Grid. I found the GridSim and Alea (http://www.fi.muni.cz/~xklusac/alea/), and i read that the Alea builded on the top of GridSim alow the dynamic job arrivals and i didn't understand. I wanted developing heuristcs which use the "conclusion time" predicted for any job in any resource (e.g. Heuristic Min-min, Max-min, Sufferage). I hav= e another question, in GridSim, it is possible predict the conclusion time fo= r job, before initiate the same? Is there some example for similar algorithm = ? my english is not good too , Mr. Yangyu. Thanks for Attetion, Regards, Gilberto Cunha Filho Laborat=F3rio de Sistemas Distribu=EDdos Universisade Federal do Maranh=E3o Brasil On Mon, Jan 28, 2008 at 6:18 AM, ALexander van der Kuijl < va...@ho...> wrote: > Hi Gilberto, > > As Agustin already mentioned, this is possible. > It depends on your NetUser. > You can modify the source (NetUser.java) in such a way that reflects your > needs. > For example, you can program that after receiving a job, a new job will b= e > sent. > Or that the jobs are sent on random intervals. > > Kind regards, > Alexander > > > > > ------------------------------ > > > Date: Mon, 28 Jan 2008 09:56:15 +0100 > > From: ag...@ds... > > To: gil...@gm... > > CC: gri...@li... > > Subject: Re: [GridSim-users] dynamic job arrivals ... > > > > > Hi Gilberto, > > > > > > Gilberto Cunha escribi=F3: > > > > > > Hi! my name is Gilberto, and I 'm studyng the GridSim for simulate > > > scheduling algorithms. > > > > > > I am sorry to take your time to read my email. > > > > > > I would like know if GridSim support dynamic job arrivals? > > > > > > e.g while one job is finishing...other job can be submited for the > Grid, > > Of course, you can do this. > > > > Regards, > > > > Agustin > > > > > > > > > Regards.. > > > -- > > > Gilberto Cunha Filho > > > gil...@gm... <mailto:gil...@gm...> > > > LSD - Laborat=F3rio de Sistemas Distrbuidos > > > UFMA > > > > ------------------------------------------------------------------------ > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Gridsim-users mailing list > > > Gri...@li... > > > https://lists.sourceforge.net/lists/listinfo/gridsim-users > > > > > > > -- > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > > Agustin Caminero > > PhD Student > > Computing Systems Department > > The University of Castilla La Mancha, Albacete. Spain. > > Phone: +34 967 599 200 Ext. 2693. Fax: +34 967 599 343 > > http://www.i3a.uclm.es/ > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > > > > > ------------------------------ > Climb to the top of the charts! Play the word scramble challenge with sta= r > power. Play now!<http://club.live.com/star_shuffle.aspx?icid=3Dstarshuffl= e_wlmailtextlink_jan> > --=20 Gilberto Cunha Filho gil...@gm... LSD - Laborat=F3rio de Sistemas Distrbuidos UFMA |
From: ALexander v. d. K. <va...@ho...> - 2008-01-28 09:18:02
|
Hi Gilberto, =20 As Agustin already mentioned, this is possible. It depends on your NetUser. You can modify the source (NetUser.java) in such a way that reflects your n= eeds. For example, you can program that after receiving a job, a new job will be = sent. Or that the jobs are sent on random intervals. =20 Kind regards, Alexander > Date: Mon, 28 Jan 2008 09:56:15 +0100> From: ag...@ds...> To: gil= ber...@gm...> CC: gri...@li...> Subject: Re= : [GridSim-users] dynamic job arrivals ...> > Hi Gilberto,> > > Gilberto Cu= nha escribi=F3:> >> > Hi! my name is Gilberto, and I 'm studyng the GridSim= for simulate > > scheduling algorithms.> >> > I am sorry to take your time= to read my email.> >> > I would like know if GridSim support dynamic job a= rrivals?> >> > e.g while one job is finishing...other job can be submited f= or the Grid,> Of course, you can do this.> > Regards,> > Agustin> >> >> > R= egards..> > -- > > Gilberto Cunha Filho> > gil...@gm... <mailto= :gil...@gm...>> > LSD - Laborat=F3rio de Sistemas Distrbuidos> = > UFMA> > -----------------------------------------------------------------= -------> >> > -------------------------------------------------------------= ------------> > This SF.net email is sponsored by: Microsoft> > Defy all ch= allenges. Microsoft(R) Visual Studio 2008.> > http://clk.atdmt.com/MRT/go/v= se0120000070mrt/direct/01/> > ---------------------------------------------= ---------------------------> >> > _________________________________________= ______> > Gridsim-users mailing list> > Gri...@li...= > > https://lists.sourceforge.net/lists/listinfo/gridsim-users> > > > -- > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D> Agustin Caminero> PhD Student> Computing Systems Depart= ment> The University of Castilla La Mancha, Albacete. Spain.> Phone: +34 96= 7 599 200 Ext. 2693. Fax: +34 967 599 343> http://www.i3a.uclm.es/> =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D>=20 _________________________________________________________________ Climb to the top of the charts!=A0Play the word scramble challenge with sta= r power. http://club.live.com/star_shuffle.aspx?icid=3Dstarshuffle_wlmailtextlink_ja= n= |
From: <ag...@ds...> - 2008-01-28 08:54:34
|
Hi Gilberto, Gilberto Cunha escribió: > > Hi! my name is Gilberto, and I 'm studyng the GridSim for simulate > scheduling algorithms. > > I am sorry to take your time to read my email. > > I would like know if GridSim support dynamic job arrivals? > > e.g while one job is finishing...other job can be submited for the Grid, Of course, you can do this. Regards, Agustin > > > Regards.. > -- > Gilberto Cunha Filho > gil...@gm... <mailto:gil...@gm...> > LSD - Laboratório de Sistemas Distrbuidos > UFMA > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > -- ======================================================== Agustin Caminero PhD Student Computing Systems Department The University of Castilla La Mancha, Albacete. Spain. Phone: +34 967 599 200 Ext. 2693. Fax: +34 967 599 343 http://www.i3a.uclm.es/ ======================================================== |
From: Gilberto C. <gil...@gm...> - 2008-01-27 19:04:28
|
Hi! my name is Gilberto, and I 'm studyng the GridSim for simulate scheduling algorithms. I am sorry to take your time to read my email. I would like know if GridSim support dynamic job arrivals? e.g while one job is finishing...other job can be submited for the Grid, Regards.. --=20 Gilberto Cunha Filho gil...@gm... LSD - Laborat=F3rio de Sistemas Distrbuidos UFMA |
From: Anthony S. <an...@cs...> - 2008-01-22 04:06:41
|
Dear Dalibor, Thank you for the information. I have updated the World and Europe map. http://www.gridbus.org/gridsim/doc/index.html regards, anthony On Sun, 20 Jan 2008, Dalibor Klusacek wrote: > Dear all, > > I just want to tell you that people in Czech Republic (Europe) at > Masaryk University (Brno) are using GridSim :-) > > Best regards, > > Dalibor Klusacek > > Faculty of Informatics, > Masaryk University, > Brno, Czech Republic |
From: Dalibor K. <xk...@fi...> - 2008-01-20 08:21:31
|
Dear all, I just want to tell you that people in Czech Republic (Europe) at Masaryk University (Brno) are using GridSim :-) Best regards, Dalibor Klusacek Faculty of Informatics, Masaryk University, Brno, Czech Republic |
From: Chainan S. <ch...@sc...> - 2008-01-10 11:24:02
|
Hi Anthony, Thank you for your advice. I will read through network example first, then. Best regards, Chainan Satayapiwat Research Student, Tohoku University CC: Agustin: Thank you very much for your help and cooperation. On Thu, 2008-01-10 at 13:15 +1100, Anthony Sulistio wrote: > > Example7 does not use the gridsim network package, but instead > it uses a 1-to-1 connection between a user and a resource (without > any links or routers). > > If you want to investigate the impact of network bandwidth in a job > submission, I suggest that you follow the network examples instead. > > regards, > anthony > |
From: Anthony S. <an...@cs...> - 2008-01-10 02:29:42
|
Hello, The suitable approach is following what the GIS does when simulation starts: - grid nodes send a message to the SubGridNode - SubGridNode maintains a list of resources - SubGridNode allocates the registered nodes based on certain policies or criterias. As for your approach, if you pass the linked list as an attribute to the SubGridNode object, then it should work (in theory). However, without the source code, it's hard to say. hope that helps, anthony > Hi, > Basically i am working on Grid resource discovery service. I am > actually creating algorithm for 2 tier hierarchy of grid nodes in > which at lower levels we have normal grid nodes know as GridNodes > which is manage by super peer known as SubGridNode (the best node in > terms of performance) these are created dynamically as user joins the > Grid. > I want you guys technical help in simulation this scenerio. I manage > to create grid Resources and linkedlist of gridresources which would > be a subgrid. The problem comes when i use this linkedlist in the body > function of the simulation to allot the resList the list of resource > available for particular gridlest as the resList doesnt recognize this > linkedlist. > Actually i want to create multiple list of resources for simulation > different subgrids. > I am anxiously waiting for your reply. > Regards |
From: Anthony S. <an...@cs...> - 2008-01-10 02:15:31
|
Example7 does not use the gridsim network package, but instead it uses a 1-to-1 connection between a user and a resource (without any links or routers). If you want to investigate the impact of network bandwidth in a job submission, I suggest that you follow the network examples instead. regards, anthony |
From:
<ag...@ds...> - 2008-01-08 08:38:55
|
Hello everybody, I've tryed to find an answer for this query, but I can't. So, can any of you try to help Chainan with this? Thanks, and Happy 2008, Agustin Chainan Satayapiwat escribió: > Good morning Agustin, > > First, thank you very much for your prompt reply. I think I'm understand > about start time of the job now but I am still in doubt about the reason > makes the lower bandwidth user having its gridlet ready for execution > earlier than higher bandwidth. I am sorry that I think I was not able to > explain my questions clearly last time. Let me try to put those > questions again. I will put the program code and result here for ease of > discussion. > > ----QUOTE (TestCase1.java)---- > > // sends all the Gridlets > Gridlet gl = null; > boolean success; > for (i = 0; i < list_.size(); i++) > { > gl = (Gridlet) list_.get(i); > > // For even number of Gridlets, send with an acknowledgement > if (i % 2 == 0) > { > success = super.gridletSubmit(gl, > resourceID[index],0.0,true); > System.out.println(name_ + ": Sending Gridlet #" + > gl.getGridletID() + " with status = " + success + > " to " + resourceName[index]); > } > > // For odd number of Gridlets, send without an > acknowledgement > else > { > success = super.gridletSubmit(gl, resourceID[index], > 0.0,false); > System.out.println(name_ + ": Sending Gridlet #" + > gl.getGridletID() + " with NO ACK so status = " + > success + " to " + resourceName[index]); > } > } > > ----End of QUOTE---- > > >From the code above, will each user submit all gridlet to > resourceID[index] at the same time? Let's say 4 gridlet per user in this > example, should they all send to execute at the same time? Or the > submission of job is hold until the termination of earlier gridlet? > > My understanding is if it is even (ack is required), then, the > submission of next gridlet is hold until the first gridlet already > submitted (it probably haven't started its execution yet but the job is > already transferred along with its in_file.) Otherwise (no ack), the > next gridlet is submitted immediately (the gridlet may not yet finish > transferring the in_file while new gridlet is submitted) Am I correctly > understood? > > If so, the users bandwidth should have an impact on the start time (I > mean the time that user starts to submit the gridlet, not the starts of > execution of gridlet) and duration of the gridlet's submission. Lower > bandwidth leads to longer time to make the gridlet into the "ready for > execution" state, and also delay in submission of subsequent gridlet (to > be more specific, gridletSubmit causes longer delay, if it requires ack) > > Now, let's back to Gridlet's result. I copied only first Gridlet of both > user here. Please notice the line with **** is highlight the submission > time. > > ------QUOTE - User0 - Gridlet 1 result ------- > > Time (sec) Description Gridlet #0 > ------------------------------------------ > 0.00 Creates Gridlet ID #0 > 0.00 Assigns the Gridlet to User_0 (ID #17) > 11.00 Allocates this Gridlet to GridResource_0 (ID #5) with cost = > $3.0/sec > 11.00 Sets the submission time to 11.00 **** > 11.00 Sets Gridlet status from Created to InExec > 11.00 Sets the execution start time to 11.00 > 112.00 Sets Gridlet status from InExec to Success > 112.00 Sets the wall clock time to 101.00 and the actual CPU time to > 101.00 > 112.00 Sets the length's finished so far to 1000.0 > > Gridlet #0, length = 1000.0, finished so far = 1000.0 > =========================================== > > -------End of QUOTE---------------------- > > ------QUOTE - User1 - Gridlet 1 result ------- > > Time (sec) Description Gridlet #0 > ------------------------------------------ > 0.00 Creates Gridlet ID #0 > 0.00 Assigns the Gridlet to User_1 (ID #20) > 19.00 Allocates this Gridlet to GridResource_0 (ID #5) with cost = > $3.0/sec > 19.00 Sets the submission time to 19.00 **** > 19.00 Sets Gridlet status from Created to InExec > 19.00 Sets the execution start time to 19.00 > 120.00 Sets Gridlet status from InExec to Success > 120.00 Sets the wall clock time to 101.00 and the actual CPU time to > 101.00 > 120.00 Sets the length's finished so far to 1000.0 > > Gridlet #0, length = 1000.0, finished so far = 1000.0 > =========================================== > > -------End of QUOTE---------------------- > > Because, for these 2 gridlets, both are start immediately once the it is > ready for execution. So, now, let's put topic of the execution time off > for a second. From the line with highlight, I doubt that even User1 has > 5x higher bandwidth. Why it is slower (ready at 19th sec while 11th sec > for User0)? And if you see from my previous email, this happens for > every pairs of gridlet. So, what is the factor that make it "ready for > submission to PE" later than User0? > > Sorry for very long email. I think it starts to sound complicate to me. > Please kindly let me know, if further information is needed. Thank you > for your valuable time in helping this. > > Best Regards, > Chainan Satayapiwat > Research Student, Tohoku University > > > On Thu, 2007-12-27 at 10:11 +0100, Agustín Caminero Herráez wrote: > >> Hi Chainan, >> >> I think I can give some hints to fix your problem. >> >> First, you say that "- Gridlet#0 size 1000 submitted at 11.00 starts at >> 11.00 ". This means, to my understanding, that the gridlet is being >> submitted at time 11.00 and its execution starts at 11.00. This means >> that the second 11.00 includes the network transmission time + the time >> to wait for a idle PE at the resource. Since this is the first gridlet, >> all PEs are idle so it starts being executed straight-away. >> If u pay attention, the start time is the same as the submission time >> for the first 3 gridlets in your sims, because your resource has 3 PEs. >> Delays begin when all the PEs are busy, so they are created because of >> congestion at the resource. >> >> In order to test the network performance, you can create a bigger >> resource (with more PEs) so that time differences between gridlets will >> be caused by the network transmission, not by contention at the >> resource. If there are no differences, try making the gridlets IO files >> bigger. >> >> Hope this is useful. >> >> All the best, >> >> Agustin >> >> Chainan Satayapiwat escribio': >> >>> Hi, >>> >>> I was studying the sample code which provided in >>> http://www.gridbus.org/gridsim/example/index.html Specifically, my >>> problem was coming from the example 7 (Test.java & TestCase1.java) when >>> running the simulation. The allocation policy was space sharing. >>> >>> There are 2 users (User_0 and User_1) I saw all the Gridlet from User_0 >>> start queuing for processing earlier than User_1 but the lenght of >>> Gridlet (which seems to use as Gridlet size, in_file size, and out_file >>> size) are all the same. Given the User_1 has 5 times higher bandwidth, >>> then, I would assume that the User_1 start time should be earlier than >>> User_0. However, here are the result of simulation >>> >>> Here are the detail. >>> All Gridlet schedules onto 1 Machine with 3 PEs. >>> User_0 (Bandwidth 1000) has >>> - Gridlet#0 size 1000 submitted at 11.00 starts at 11.00 >>> - Gridlet#1 size 2000 submitted at 35.00 starts at 35.00 >>> - Gridlet#2 size 3000 submitted at 75.00 starts at 120.00 >>> - Gridlet#3 size 4000 submitted at 131.00 starts at 313.00 >>> >>> User_1 (Bandwidth 5000) has >>> - Gridlet#0 size 1000 submitted at 19.00 starts at 19.00 >>> - Gridlet#1 size 2000 submitted at 51.00 starts at 112.00 >>> - Gridlet#2 size 3000 submitted at 99.00 starts at 236.00 >>> - Gridlet#3 size 4000 submitted at 163.00 starts at 421.00 >>> >>> As shown above, I can't understand how it works here. User with higher >>> bandwidth should be able to finish uploading the file to the processing >>> machine first and, thus, the job should be ready to submit earlier. >>> Therefore, I tried to make sure if this is about bandwidth things by >>> hardcode in the TestCase1.java in createGridlet method by fixing the >>> size of input file. (i.e. third parameter of Gridlet constructor) As >>> expected, all Gridlet starts at 3rd second of simulation time. (This is >>> considered immediate as the code wait 3 units of time in the beginning) >>> So, I'm quite sure that the delay is coming from the simulation of file >>> transfer that required before the program execution. So, why the higher >>> bandwidth is slower? Perhaps, I misunderstood at some points and confuse >>> myself. Could anyone kindly help me out on this? >>> >>> Thank you. >>> >>> Best Regards, >>> Chainan Satayapiwat >>> Research Student, Tohoku University >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Gridsim-users mailing list >>> Gri...@li... >>> https://lists.sourceforge.net/lists/listinfo/gridsim-users >>> >>> > > -- ======================================================== Agustin Caminero PhD Student Computing Systems Department The University of Castilla La Mancha, Albacete. Spain. Phone: +34 967 599 200 Ext. 2693. Fax: +34 967 599 343 http://www.i3a.uclm.es/ ======================================================== |
From: Chainan S. <ch...@sc...> - 2007-12-28 09:28:18
|
Good morning Agustin, First, thank you very much for your prompt reply. I think I'm understand about start time of the job now but I am still in doubt about the reason makes the lower bandwidth user having its gridlet ready for execution earlier than higher bandwidth. I am sorry that I think I was not able to explain my questions clearly last time. Let me try to put those questions again. I will put the program code and result here for ease of discussion. ----QUOTE (TestCase1.java)---- // sends all the Gridlets Gridlet gl = null; boolean success; for (i = 0; i < list_.size(); i++) { gl = (Gridlet) list_.get(i); // For even number of Gridlets, send with an acknowledgement if (i % 2 == 0) { success = super.gridletSubmit(gl, resourceID[index],0.0,true); System.out.println(name_ + ": Sending Gridlet #" + gl.getGridletID() + " with status = " + success + " to " + resourceName[index]); } // For odd number of Gridlets, send without an acknowledgement else { success = super.gridletSubmit(gl, resourceID[index], 0.0,false); System.out.println(name_ + ": Sending Gridlet #" + gl.getGridletID() + " with NO ACK so status = " + success + " to " + resourceName[index]); } } ----End of QUOTE---- >From the code above, will each user submit all gridlet to resourceID[index] at the same time? Let's say 4 gridlet per user in this example, should they all send to execute at the same time? Or the submission of job is hold until the termination of earlier gridlet? My understanding is if it is even (ack is required), then, the submission of next gridlet is hold until the first gridlet already submitted (it probably haven't started its execution yet but the job is already transferred along with its in_file.) Otherwise (no ack), the next gridlet is submitted immediately (the gridlet may not yet finish transferring the in_file while new gridlet is submitted) Am I correctly understood? If so, the users bandwidth should have an impact on the start time (I mean the time that user starts to submit the gridlet, not the starts of execution of gridlet) and duration of the gridlet's submission. Lower bandwidth leads to longer time to make the gridlet into the "ready for execution" state, and also delay in submission of subsequent gridlet (to be more specific, gridletSubmit causes longer delay, if it requires ack) Now, let's back to Gridlet's result. I copied only first Gridlet of both user here. Please notice the line with **** is highlight the submission time. ------QUOTE - User0 - Gridlet 1 result ------- Time (sec) Description Gridlet #0 ------------------------------------------ 0.00 Creates Gridlet ID #0 0.00 Assigns the Gridlet to User_0 (ID #17) 11.00 Allocates this Gridlet to GridResource_0 (ID #5) with cost = $3.0/sec 11.00 Sets the submission time to 11.00 **** 11.00 Sets Gridlet status from Created to InExec 11.00 Sets the execution start time to 11.00 112.00 Sets Gridlet status from InExec to Success 112.00 Sets the wall clock time to 101.00 and the actual CPU time to 101.00 112.00 Sets the length's finished so far to 1000.0 Gridlet #0, length = 1000.0, finished so far = 1000.0 =========================================== -------End of QUOTE---------------------- ------QUOTE - User1 - Gridlet 1 result ------- Time (sec) Description Gridlet #0 ------------------------------------------ 0.00 Creates Gridlet ID #0 0.00 Assigns the Gridlet to User_1 (ID #20) 19.00 Allocates this Gridlet to GridResource_0 (ID #5) with cost = $3.0/sec 19.00 Sets the submission time to 19.00 **** 19.00 Sets Gridlet status from Created to InExec 19.00 Sets the execution start time to 19.00 120.00 Sets Gridlet status from InExec to Success 120.00 Sets the wall clock time to 101.00 and the actual CPU time to 101.00 120.00 Sets the length's finished so far to 1000.0 Gridlet #0, length = 1000.0, finished so far = 1000.0 =========================================== -------End of QUOTE---------------------- Because, for these 2 gridlets, both are start immediately once the it is ready for execution. So, now, let's put topic of the execution time off for a second. From the line with highlight, I doubt that even User1 has 5x higher bandwidth. Why it is slower (ready at 19th sec while 11th sec for User0)? And if you see from my previous email, this happens for every pairs of gridlet. So, what is the factor that make it "ready for submission to PE" later than User0? Sorry for very long email. I think it starts to sound complicate to me. Please kindly let me know, if further information is needed. Thank you for your valuable time in helping this. Best Regards, Chainan Satayapiwat Research Student, Tohoku University On Thu, 2007-12-27 at 10:11 +0100, Agustín Caminero Herráez wrote: > Hi Chainan, > > I think I can give some hints to fix your problem. > > First, you say that "- Gridlet#0 size 1000 submitted at 11.00 starts at > 11.00 ". This means, to my understanding, that the gridlet is being > submitted at time 11.00 and its execution starts at 11.00. This means > that the second 11.00 includes the network transmission time + the time > to wait for a idle PE at the resource. Since this is the first gridlet, > all PEs are idle so it starts being executed straight-away. > If u pay attention, the start time is the same as the submission time > for the first 3 gridlets in your sims, because your resource has 3 PEs. > Delays begin when all the PEs are busy, so they are created because of > congestion at the resource. > > In order to test the network performance, you can create a bigger > resource (with more PEs) so that time differences between gridlets will > be caused by the network transmission, not by contention at the > resource. If there are no differences, try making the gridlets IO files > bigger. > > Hope this is useful. > > All the best, > > Agustin > > Chainan Satayapiwat escribio': > > Hi, > > > > I was studying the sample code which provided in > > http://www.gridbus.org/gridsim/example/index.html Specifically, my > > problem was coming from the example 7 (Test.java & TestCase1.java) when > > running the simulation. The allocation policy was space sharing. > > > > There are 2 users (User_0 and User_1) I saw all the Gridlet from User_0 > > start queuing for processing earlier than User_1 but the lenght of > > Gridlet (which seems to use as Gridlet size, in_file size, and out_file > > size) are all the same. Given the User_1 has 5 times higher bandwidth, > > then, I would assume that the User_1 start time should be earlier than > > User_0. However, here are the result of simulation > > > > Here are the detail. > > All Gridlet schedules onto 1 Machine with 3 PEs. > > User_0 (Bandwidth 1000) has > > - Gridlet#0 size 1000 submitted at 11.00 starts at 11.00 > > - Gridlet#1 size 2000 submitted at 35.00 starts at 35.00 > > - Gridlet#2 size 3000 submitted at 75.00 starts at 120.00 > > - Gridlet#3 size 4000 submitted at 131.00 starts at 313.00 > > > > User_1 (Bandwidth 5000) has > > - Gridlet#0 size 1000 submitted at 19.00 starts at 19.00 > > - Gridlet#1 size 2000 submitted at 51.00 starts at 112.00 > > - Gridlet#2 size 3000 submitted at 99.00 starts at 236.00 > > - Gridlet#3 size 4000 submitted at 163.00 starts at 421.00 > > > > As shown above, I can't understand how it works here. User with higher > > bandwidth should be able to finish uploading the file to the processing > > machine first and, thus, the job should be ready to submit earlier. > > Therefore, I tried to make sure if this is about bandwidth things by > > hardcode in the TestCase1.java in createGridlet method by fixing the > > size of input file. (i.e. third parameter of Gridlet constructor) As > > expected, all Gridlet starts at 3rd second of simulation time. (This is > > considered immediate as the code wait 3 units of time in the beginning) > > So, I'm quite sure that the delay is coming from the simulation of file > > transfer that required before the program execution. So, why the higher > > bandwidth is slower? Perhaps, I misunderstood at some points and confuse > > myself. Could anyone kindly help me out on this? > > > > Thank you. > > > > Best Regards, > > Chainan Satayapiwat > > Research Student, Tohoku University > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Gridsim-users mailing list > > Gri...@li... > > https://lists.sourceforge.net/lists/listinfo/gridsim-users > > > |
From: <ag...@ds...> - 2007-12-27 09:15:13
|
Hi Chainan, I think I can give some hints to fix your problem. First, you say that "- Gridlet#0 size 1000 submitted at 11.00 starts at 11.00 ". This means, to my understanding, that the gridlet is being submitted at time 11.00 and its execution starts at 11.00. This means that the second 11.00 includes the network transmission time + the time to wait for a idle PE at the resource. Since this is the first gridlet, all PEs are idle so it starts being executed straight-away. If u pay attention, the start time is the same as the submission time for the first 3 gridlets in your sims, because your resource has 3 PEs. Delays begin when all the PEs are busy, so they are created because of congestion at the resource. In order to test the network performance, you can create a bigger resource (with more PEs) so that time differences between gridlets will be caused by the network transmission, not by contention at the resource. If there are no differences, try making the gridlets IO files bigger. Hope this is useful. All the best, Agustin Chainan Satayapiwat escribio': > Hi, > > I was studying the sample code which provided in > http://www.gridbus.org/gridsim/example/index.html Specifically, my > problem was coming from the example 7 (Test.java & TestCase1.java) when > running the simulation. The allocation policy was space sharing. > > There are 2 users (User_0 and User_1) I saw all the Gridlet from User_0 > start queuing for processing earlier than User_1 but the lenght of > Gridlet (which seems to use as Gridlet size, in_file size, and out_file > size) are all the same. Given the User_1 has 5 times higher bandwidth, > then, I would assume that the User_1 start time should be earlier than > User_0. However, here are the result of simulation > > Here are the detail. > All Gridlet schedules onto 1 Machine with 3 PEs. > User_0 (Bandwidth 1000) has > - Gridlet#0 size 1000 submitted at 11.00 starts at 11.00 > - Gridlet#1 size 2000 submitted at 35.00 starts at 35.00 > - Gridlet#2 size 3000 submitted at 75.00 starts at 120.00 > - Gridlet#3 size 4000 submitted at 131.00 starts at 313.00 > > User_1 (Bandwidth 5000) has > - Gridlet#0 size 1000 submitted at 19.00 starts at 19.00 > - Gridlet#1 size 2000 submitted at 51.00 starts at 112.00 > - Gridlet#2 size 3000 submitted at 99.00 starts at 236.00 > - Gridlet#3 size 4000 submitted at 163.00 starts at 421.00 > > As shown above, I can't understand how it works here. User with higher > bandwidth should be able to finish uploading the file to the processing > machine first and, thus, the job should be ready to submit earlier. > Therefore, I tried to make sure if this is about bandwidth things by > hardcode in the TestCase1.java in createGridlet method by fixing the > size of input file. (i.e. third parameter of Gridlet constructor) As > expected, all Gridlet starts at 3rd second of simulation time. (This is > considered immediate as the code wait 3 units of time in the beginning) > So, I'm quite sure that the delay is coming from the simulation of file > transfer that required before the program execution. So, why the higher > bandwidth is slower? Perhaps, I misunderstood at some points and confuse > myself. Could anyone kindly help me out on this? > > Thank you. > > Best Regards, > Chainan Satayapiwat > Research Student, Tohoku University > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > -- ======================================================== Agustin Caminero PhD Student Computing Systems Department The University of Castilla La Mancha, Albacete. Spain. Phone: +34 967 599 200 Ext. 2693. Fax: +34 967 599 343 http://www.i3a.uclm.es/ ======================================================== |
From: Chainan S. <ch...@sc...> - 2007-12-27 00:24:24
|
Hi, I was studying the sample code which provided in http://www.gridbus.org/gridsim/example/index.html Specifically, my problem was coming from the example 7 (Test.java & TestCase1.java) when running the simulation. The allocation policy was space sharing. There are 2 users (User_0 and User_1) I saw all the Gridlet from User_0 start queuing for processing earlier than User_1 but the lenght of Gridlet (which seems to use as Gridlet size, in_file size, and out_file size) are all the same. Given the User_1 has 5 times higher bandwidth, then, I would assume that the User_1 start time should be earlier than User_0. However, here are the result of simulation Here are the detail. All Gridlet schedules onto 1 Machine with 3 PEs. User_0 (Bandwidth 1000) has - Gridlet#0 size 1000 submitted at 11.00 starts at 11.00 - Gridlet#1 size 2000 submitted at 35.00 starts at 35.00 - Gridlet#2 size 3000 submitted at 75.00 starts at 120.00 - Gridlet#3 size 4000 submitted at 131.00 starts at 313.00 User_1 (Bandwidth 5000) has - Gridlet#0 size 1000 submitted at 19.00 starts at 19.00 - Gridlet#1 size 2000 submitted at 51.00 starts at 112.00 - Gridlet#2 size 3000 submitted at 99.00 starts at 236.00 - Gridlet#3 size 4000 submitted at 163.00 starts at 421.00 As shown above, I can't understand how it works here. User with higher bandwidth should be able to finish uploading the file to the processing machine first and, thus, the job should be ready to submit earlier. Therefore, I tried to make sure if this is about bandwidth things by hardcode in the TestCase1.java in createGridlet method by fixing the size of input file. (i.e. third parameter of Gridlet constructor) As expected, all Gridlet starts at 3rd second of simulation time. (This is considered immediate as the code wait 3 units of time in the beginning) So, I'm quite sure that the delay is coming from the simulation of file transfer that required before the program execution. So, why the higher bandwidth is slower? Perhaps, I misunderstood at some points and confuse myself. Could anyone kindly help me out on this? Thank you. Best Regards, Chainan Satayapiwat Research Student, Tohoku University |
From: Mudassar A. <mud...@gm...> - 2007-12-10 05:24:32
|
Hi, Basically i am working on Grid resource discovery service. I am actually creating algorithm for 2 tier hierarchy of grid nodes in which at lower levels we have normal grid nodes know as GridNodes which is manage by super peer known as SubGridNode (the best node in terms of performance) these are created dynamically as user joins the Grid. I want you guys technical help in simulation this scenerio. I manage to create grid Resources and linkedlist of gridresources which would be a subgrid. The problem comes when i use this linkedlist in the body function of the simulation to allot the resList the list of resource available for particular gridlest as the resList doesnt recognize this linkedlist. Actually i want to create multiple list of resources for simulation different subgrids. I am anxiously waiting for your reply. Regards |
From: Marcos D. de A. <ma...@cs...> - 2007-11-18 21:56:27
|
Dear Alexander, coud you please provide us with more details about your implementation? Could you please send snippets of your code or the whole class that defines the entities and starts the simulation? Regards, Marcos On 18/11/2007, ALexander van der Kuijl <va...@ho...> wrote: > > Hi all, > > I've got a strange problem with GridSim. > I'm running a simulation, which runs GridSim multiple times, each time with > different parameters. > The first iterations are going fine, until at some iteration/run GridSim > seems to hang. > This is very strange because in the earlier iterations it runs perfectly. > > The point at which it hangs is when a message "GridInformationService: > Notify all GridSim entities for shutting down" appears, which doesn't appear > in earlier iterations. > It seems to still be using cpu time. > > To increase the strangeness of the problem, with another dataset (users, > jobs and resources) this problem doesn't appear. > > Does anyone have a clue what is going on, and/or where to look for a > solution? > > Kind regards, > Alexander van der Kuijl > Leiden University > Netherlands > ________________________________ > You keep typing, we keep giving. Download Messenger and join the i'm > Initiative now. Join in! > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > > -- Marcos Dias de Assuncao Grid Computing and Distributed Systems (GRIDS) Laboratory Department of Computer Science and Software Engineering The University of Melbourne, Australia Email: ma...@cs... |
From: ALexander v. d. K. <va...@ho...> - 2007-11-17 14:24:00
|
Hi all, I've got a strange problem with GridSim.I'm running a simulation, w= hich runs GridSim multiple times, each time with different parameters.The f= irst iterations are going fine, until at some iteration/run GridSim seems t= o hang.This is very strange because in the earlier iterations it runs perfe= ctly. The point at which it hangs is when a message "GridInformationService= : Notify all GridSim entities for shutting down" appears, which doesn't app= ear in earlier iterations.It seems to still be using cpu time. To increase = the strangeness of the problem, with another dataset (users, jobs and resou= rces) this problem doesn't appear. Does anyone have a clue what is going on= , and/or where to look for a solution? Kind regards,Alexander van der Kuijl= Leiden UniversityNetherlands _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i=92m Init= iative now. http://im.live.com/messenger/im/home/?source=3DTAGLM= |
From: Leonardo de A. <leo...@gm...> - 2007-11-12 22:41:51
|
Hi, In network examples from GridSim Examples page says that boud_rate is in bits/sec, but in examples the value of boud_rate is 1000 and the commentary says that this value is 1Mb/s. Is that value correct? Because 1Mbps is 1024*1024 bps and 1000bps is almost 1Kbps. Which value is 1Mbps, 1024 or 1024*1024??? thanks []'s --=20 Leonardo de Assis Computa=E7=E3o - UFCG leo...@gm... |
From: hamidreza m. <ham...@gm...> - 2007-11-12 11:10:37
|
Hi I am a new user of GridSim. I want to simulate some algorithms for local scheduler ( batch scheduler ) to study the performance impact of advance resrvation in grids . how can i extend GridSim to do this simulation? Thanks |
From: Uros C. <uro...@fr...> - 2007-10-24 12:40:15
|
Dear Andrey, thank you for your question, I hope I can provide you a satisfactory answer. I believe the easiest way to start experimenting with the Data Grid functionality is to look at the examples, which inlcude a more detailed description. The examples can be found at: http://www.gridbus.org/gridsim/example/data_index.html There are various ways how to implement the actions of the users. The easiest way is described in Example 4, since no programming is required. However the actions that one can specify are only: 1. getting a file, 2. getting the attribute of a file, 3. replicate a file and 4. deleting a file. To implement more complex user behavior you have to implement your own users by extending the class DataGridUser. An example of how to do this is described in Example 3. Unfortunately there is no sophisticated way of gathering the statistics at the moment. The simplest approach is to simply print on the standard output the desired parameters at the desired time. After the simulation has finished you can use text manipulation tools (e.g. grep, awk) to extract the events from the output for further analysis. Kind regards, Uros Cibej > > > Date: Tue, 23 Oct 2007 11:45:16 +0200 > From: Andrey NECHAEVSKIY <ne...@ma...> > Subject: [GridSim-users] about GridSim > To: gri...@li... > Message-ID: <1193132716.6886.25.camel@pcitgd27> > Content-Type: text/plain > > Hello, everybody! > > I'm apologizing for disturbing you! > I have a question about Data Grid. > > Is the only this way to set parameters what users should do? > users.txt: > user1 router2 Res_0 0.1 get testFile2 get testFile1 attribute testFile1 > get file > user2 router1 Res_1 0.1 get testFile1 replicate testFile1 Res_1 delete > testFile1 Res_1 > > If I have more users how can I set their activities? > > And the second question is how some statistic can be gathered? > for example about disk space changing, info about network, how many > transfers were done and other. > > Thank you in advance > Andrey > > > > |
From: Andrey N. <ne...@ma...> - 2007-10-23 10:30:50
|
Hello, everybody! I'm apologizing for disturbing you! I have a question about Data Grid. Is the only this way to set parameters what users should do? users.txt: user1 router2 Res_0 0.1 get testFile2 get testFile1 attribute testFile1 get file user2 router1 Res_1 0.1 get testFile1 replicate testFile1 Res_1 delete testFile1 Res_1 If I have more users how can I set their activities? And the second question is how some statistic can be gathered? for example about disk space changing, info about network, how many transfers were done and other. Thank you in advance Andrey |
From: Andrey N. <ne...@ma...> - 2007-10-23 09:45:24
|
Hello, everybody! I'm apologizing for disturbing you! I have a question about Data Grid. Is the only this way to set parameters what users should do? users.txt: user1 router2 Res_0 0.1 get testFile2 get testFile1 attribute testFile1 get file user2 router1 Res_1 0.1 get testFile1 replicate testFile1 Res_1 delete testFile1 Res_1 If I have more users how can I set their activities? And the second question is how some statistic can be gathered? for example about disk space changing, info about network, how many transfers were done and other. Thank you in advance Andrey |
From: <ag...@ds...> - 2007-10-23 09:40:46
|
Hi Chao, Chao JIN escribió: > Hi, Agustin > > My entities are created as following: > > 1) I changed the RegionalGISWithFailure class to make it can replay failures > for GridResourceWithFailure from log. > > 2) I create a RegionalGISWithFailure and a SimpleLink as following > Link link = new SimpleLink("rc_link", baud_rate, propDelay, mtu) > RegionalGISWithFailure gis = new RegionalGISWithFailure("GIS", link, > logFile); > > 3) I create GridResourceWithFailure, and call setRegionalGIS(gis) > > Do you think above details are enough? > > BTW: I read the examples for GridSimWithFailure, where no Gridsim.setGIS() > is invoked. So I am not sure how I can let GridSim know which is GIS? > You don't have to call Gridsim.setGIS(), I don't know when it is needed, but it's not needed for the resource faulure functionality. You can ask Anthony when that function is needed. Gridsim will always have a system GIS, and apart from that, we have another GIS. This second GIS is a regional GIS, and there may be several of them in each topology. I think that the function Gridsim.setGIS() is to modify the system GIS, so not needed for us. I still don't know what is happening. So, could you send me the file where you create entities? Regards, Agustin > Regards, > Chao > On Tue, 23 Oct 2007 09:30:05 +0200, Agustín Caminero Herraez wrote > >> Hi Chao, >> >> By now, I have no idea on what is happening. >> >> So, could you tell me how you create your entities? There may be >> something wrong whit it. >> >> BTW, could you please include the mailing list in your emails? This >> way, emails will be recorded, and anybody can use them in the future. >> >> Regards, >> >> Agustin >> >> Chao JIN escribió: >> >>> Thanks for your response. >>> >>> Now I got an exception as follows: >>> >>> Exception in thread "Thread-1" >>> > java.lang.ArrayIndexOutOfBoundsException: -1 > >>> at java.util.ArrayList.get(Unknown Source) >>> at eduni.simjava.Sim_system.send(Sim_system.java:600) >>> at eduni.simjava.Sim_entity.sim_schedule(Sim_entity.java:342) >>> at gridsim.net.SimpleLink.body(SimpleLink.java:204) >>> at eduni.simjava.Sim_entity.run(Sim_entity.java:603) >>> >>> I think the reason is in the body() of SimpleLink, it tries >>> GridSim.getGridInfoServiceEntityId(). >>> >>> Could you plz tell me if I need to specify the GridInfoService for >>> GridSimWithFailure? or how can I solve above exception? >>> >>> Best, >>> Chao >>> On Fri, 19 Oct 2007 09:38:09 +0200, Agustín Caminero Herraez wrote >>> >>> >>>> Hi Chao Jin, >>>> >>>> Chao JIN escribió: >>>> >>>> >>>>> Hi, >>>>> >>>>> I have a question. RegionalGISWithFailure needs a parameter of Link. >>>>> > How > >>>>> could I specify this parameter? >>>>> >>>>> >>>>> >>>> When you build the network topology, you must connect each entity >>>> with a router via a link. This link is the parameter that you need >>>> to create a RegionalGISWithFailure. If you take a look at the >>>> resource failure examples, you will see that prior to the creation >>>> of any entity, a link is created, and this link is used as a >>>> parameter to create the entity. For example: >>>> >>>> Link link = new SimpleLink(gisName + "_link", baud_rate, >>>> propDelay, mtu); >>>> ... >>>> RegionalGISWithFailure gis = new RegionalGISWithFailure(gisName, >>>> link, failureNumResPattern, >>>> failureTimePattern, >>>> failureLengthPattern); >>>> >>>> In order to create the link, you just need the propagation delay, >>>> MTU and speed of the link (in bits per second). >>>> >>>> >>>> >>>>> I'd like to simulate a environemnt consisting one GridResourceIndex >>>>> >>>>> >>> server >>> >>> >>>>> and lots of machines, where machines may have frequent failures. The >>>>> >>>>> >>> user >>> >>> >>>>> query the GridResourceIndex server to get the current available >>>>> >>>>> >>> machines, >>> >>> >>>>> and then send tasks to machines. >>>>> >>>>> >>>>> >>>> That's how the RegionalGISWithFailure works. So, your >>>> GridResourceIndex can be implemented as a RegionalGISWithFailure entity. >>>> >>>> >>>>> Could you plz tell me how to specify the link for above target >>>>> >>>>> >>> simulation? >>> >>> >>>>> One router is enough? >>>>> >>>>> >>>>> >>>> Sure, network topology does not affect your functionality. >>>> You can have a network topology with one router, or with many of >>>> them, it doesn't matter. >>>> >>>> >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> >>>>> >>>> Anytime, >>>> >>>> Agustin >>>> >>>> >>>>> Chao Jin >>>>> >>>>> On Mon, 15 Oct 2007 11:41:25 +0200, Agustín Caminero Herraez wrote >>>>> >>>>> >>>>> >>>>>> Hi, >>>>>> >>>>>> Yes, you will have to modify RegionalGISWithFailure.java. >>>>>> In this class, you must read the log files, and schedule the >>>>>> fail/alive events based on them. >>>>>> >>>>>> Agustin >>>>>> >>>>>> Anthony Sulistio escribió: >>>>>> >>>>>> >>>>>> >>>>>>> Agustin may tell you more about this. >>>>>>> But, if you insist on reading from a trace file, >>>>>>> then perhaps you need to modify the RegionalGISWithFailure.java, >>>>>>> since this class is responsible for sending messages to >>>>>>> resources for fail/alive. >>>>>>> >>>>>>> >>>>>>> anthony >>>>>>> >>>>>>> >>>>>>> On Mon, 15 Oct 2007, Chao JIN wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> hi, Anthony >>>>>>>> >>>>>>>> I am using GridSim to simulate a distributed environment with >>>>>>>> > frequent > >>>>>>>> failures. I have the failure logs of some machines in a cluster, >>>>>>>> > and > >>>>>>>> >>>>>>>> >>> I'd >>> >>> >>>>>>>> like to simulate failures according to these log files. >>>>>>>> >>>>>>>> I have found GridSim can simulate failures through some functions, >>>>>>>> such as >>>>>>>> HyperExponential, etc. However, this is not what I need. >>>>>>>> >>>>>>>> Do I have to add new modules over GridSim? or How could I do it in >>>>>>>> > a > >>>>>>>> quicker >>>>>>>> way? >>>>>>>> >>>>>>>> I am looking forward to your answers. >>>>>>>> >>>>>>>> BTW: I just went to your seat, but you were not there. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> Chao >>>>>>>> -- >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> -- >>>>>> ======================================================== >>>>>> Agustin Caminero-Herraez >>>>>> PhD Student >>>>>> Computing Systems Department >>>>>> The University of Castilla La Mancha, Albacete. Spain. >>>>>> Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 >>>>>> http://www.i3a.uclm.es/ >>>>>> ======================================================== >>>>>> >>>>>> >>>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> >>>> -- >>>> ======================================================== >>>> Agustin Caminero-Herraez >>>> PhD Student >>>> Computing Systems Department >>>> The University of Castilla La Mancha, Albacete. Spain. >>>> Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 >>>> http://www.i3a.uclm.es/ >>>> ======================================================== >>>> >>>> >>> -- >>> >>> >>> >> -- >> ======================================================== >> Agustin Caminero-Herraez >> PhD Student >> Computing Systems Department >> The University of Castilla La Mancha, Albacete. Spain. >> Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 >> http://www.i3a.uclm.es/ >> ======================================================== >> > > > -- > > -- ======================================================== Agustin Caminero-Herraez PhD Student Computing Systems Department The University of Castilla La Mancha, Albacete. Spain. Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 http://www.i3a.uclm.es/ ======================================================== |
From: Chao J. <ch...@cs...> - 2007-10-23 07:44:17
|
Hi, Agustin My entities are created as following: 1) I changed the RegionalGISWithFailure class to make it can replay failures for GridResourceWithFailure from log. 2) I create a RegionalGISWithFailure and a SimpleLink as following Link link = new SimpleLink("rc_link", baud_rate, propDelay, mtu) RegionalGISWithFailure gis = new RegionalGISWithFailure("GIS", link, logFile); 3) I create GridResourceWithFailure, and call setRegionalGIS(gis) Do you think above details are enough? BTW: I read the examples for GridSimWithFailure, where no Gridsim.setGIS() is invoked. So I am not sure how I can let GridSim know which is GIS? Regards, Chao On Tue, 23 Oct 2007 09:30:05 +0200, Agustín Caminero Herraez wrote > Hi Chao, > > By now, I have no idea on what is happening. > > So, could you tell me how you create your entities? There may be > something wrong whit it. > > BTW, could you please include the mailing list in your emails? This > way, emails will be recorded, and anybody can use them in the future. > > Regards, > > Agustin > > Chao JIN escribió: > > Thanks for your response. > > > > Now I got an exception as follows: > > > > Exception in thread "Thread-1" java.lang.ArrayIndexOutOfBoundsException: -1 > > at java.util.ArrayList.get(Unknown Source) > > at eduni.simjava.Sim_system.send(Sim_system.java:600) > > at eduni.simjava.Sim_entity.sim_schedule(Sim_entity.java:342) > > at gridsim.net.SimpleLink.body(SimpleLink.java:204) > > at eduni.simjava.Sim_entity.run(Sim_entity.java:603) > > > > I think the reason is in the body() of SimpleLink, it tries > > GridSim.getGridInfoServiceEntityId(). > > > > Could you plz tell me if I need to specify the GridInfoService for > > GridSimWithFailure? or how can I solve above exception? > > > > Best, > > Chao > > On Fri, 19 Oct 2007 09:38:09 +0200, Agustín Caminero Herraez wrote > > > >> Hi Chao Jin, > >> > >> Chao JIN escribió: > >> > >>> Hi, > >>> > >>> I have a question. RegionalGISWithFailure needs a parameter of Link. How > >>> could I specify this parameter? > >>> > >>> > >> When you build the network topology, you must connect each entity > >> with a router via a link. This link is the parameter that you need > >> to create a RegionalGISWithFailure. If you take a look at the > >> resource failure examples, you will see that prior to the creation > >> of any entity, a link is created, and this link is used as a > >> parameter to create the entity. For example: > >> > >> Link link = new SimpleLink(gisName + "_link", baud_rate, > >> propDelay, mtu); > >> ... > >> RegionalGISWithFailure gis = new RegionalGISWithFailure(gisName, > >> link, failureNumResPattern, > >> failureTimePattern, > >> failureLengthPattern); > >> > >> In order to create the link, you just need the propagation delay, > >> MTU and speed of the link (in bits per second). > >> > >> > >>> I'd like to simulate a environemnt consisting one GridResourceIndex > >>> > > server > > > >>> and lots of machines, where machines may have frequent failures. The > >>> > > user > > > >>> query the GridResourceIndex server to get the current available > >>> > > machines, > > > >>> and then send tasks to machines. > >>> > >>> > >> That's how the RegionalGISWithFailure works. So, your > >> GridResourceIndex can be implemented as a RegionalGISWithFailure entity. > >> > >>> Could you plz tell me how to specify the link for above target > >>> > > simulation? > > > >>> One router is enough? > >>> > >>> > >> Sure, network topology does not affect your functionality. > >> You can have a network topology with one router, or with many of > >> them, it doesn't matter. > >> > >>> > >>> > >>> Thanks, > >>> > >>> > >> Anytime, > >> > >> Agustin > >> > >>> Chao Jin > >>> > >>> On Mon, 15 Oct 2007 11:41:25 +0200, Agustín Caminero Herraez wrote > >>> > >>> > >>>> Hi, > >>>> > >>>> Yes, you will have to modify RegionalGISWithFailure.java. > >>>> In this class, you must read the log files, and schedule the > >>>> fail/alive events based on them. > >>>> > >>>> Agustin > >>>> > >>>> Anthony Sulistio escribió: > >>>> > >>>> > >>>>> Agustin may tell you more about this. > >>>>> But, if you insist on reading from a trace file, > >>>>> then perhaps you need to modify the RegionalGISWithFailure.java, > >>>>> since this class is responsible for sending messages to > >>>>> resources for fail/alive. > >>>>> > >>>>> > >>>>> anthony > >>>>> > >>>>> > >>>>> On Mon, 15 Oct 2007, Chao JIN wrote: > >>>>> > >>>>> > >>>>> > >>>>>> hi, Anthony > >>>>>> > >>>>>> I am using GridSim to simulate a distributed environment with frequent > >>>>>> failures. I have the failure logs of some machines in a cluster, and > >>>>>> > > I'd > > > >>>>>> like to simulate failures according to these log files. > >>>>>> > >>>>>> I have found GridSim can simulate failures through some functions, > >>>>>> such as > >>>>>> HyperExponential, etc. However, this is not what I need. > >>>>>> > >>>>>> Do I have to add new modules over GridSim? or How could I do it in a > >>>>>> quicker > >>>>>> way? > >>>>>> > >>>>>> I am looking forward to your answers. > >>>>>> > >>>>>> BTW: I just went to your seat, but you were not there. > >>>>>> > >>>>>> Thanks, > >>>>>> > >>>>>> Chao > >>>>>> -- > >>>>>> > >>>>>> > >>>>>> > >>>> -- > >>>> ======================================================== > >>>> Agustin Caminero-Herraez > >>>> PhD Student > >>>> Computing Systems Department > >>>> The University of Castilla La Mancha, Albacete. Spain. > >>>> Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 > >>>> http://www.i3a.uclm.es/ > >>>> ======================================================== > >>>> > >>>> > >>> -- > >>> > >>> > >>> > >> -- > >> ======================================================== > >> Agustin Caminero-Herraez > >> PhD Student > >> Computing Systems Department > >> The University of Castilla La Mancha, Albacete. Spain. > >> Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 > >> http://www.i3a.uclm.es/ > >> ======================================================== > >> > > > > > > -- > > > > > > -- > ======================================================== > Agustin Caminero-Herraez > PhD Student > Computing Systems Department > The University of Castilla La Mancha, Albacete. Spain. > Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 > http://www.i3a.uclm.es/ > ======================================================== -- |
From: <ag...@ds...> - 2007-10-23 07:29:20
|
Hi Chao, By now, I have no idea on what is happening. So, could you tell me how you create your entities? There may be something wrong whit it. BTW, could you please include the mailing list in your emails? This way, emails will be recorded, and anybody can use them in the future. Regards, Agustin Chao JIN escribió: > Thanks for your response. > > Now I got an exception as follows: > > Exception in thread "Thread-1" java.lang.ArrayIndexOutOfBoundsException: -1 > at java.util.ArrayList.get(Unknown Source) > at eduni.simjava.Sim_system.send(Sim_system.java:600) > at eduni.simjava.Sim_entity.sim_schedule(Sim_entity.java:342) > at gridsim.net.SimpleLink.body(SimpleLink.java:204) > at eduni.simjava.Sim_entity.run(Sim_entity.java:603) > > I think the reason is in the body() of SimpleLink, it tries > GridSim.getGridInfoServiceEntityId(). > > Could you plz tell me if I need to specify the GridInfoService for > GridSimWithFailure? or how can I solve above exception? > > Best, > Chao > On Fri, 19 Oct 2007 09:38:09 +0200, Agustín Caminero Herraez wrote > >> Hi Chao Jin, >> >> Chao JIN escribió: >> >>> Hi, >>> >>> I have a question. RegionalGISWithFailure needs a parameter of Link. How >>> could I specify this parameter? >>> >>> >> When you build the network topology, you must connect each entity >> with a router via a link. This link is the parameter that you need >> to create a RegionalGISWithFailure. If you take a look at the >> resource failure examples, you will see that prior to the creation >> of any entity, a link is created, and this link is used as a >> parameter to create the entity. For example: >> >> Link link = new SimpleLink(gisName + "_link", baud_rate, >> propDelay, mtu); >> ... >> RegionalGISWithFailure gis = new RegionalGISWithFailure(gisName, >> link, failureNumResPattern, >> failureTimePattern, >> failureLengthPattern); >> >> In order to create the link, you just need the propagation delay, >> MTU and speed of the link (in bits per second). >> >> >>> I'd like to simulate a environemnt consisting one GridResourceIndex >>> > server > >>> and lots of machines, where machines may have frequent failures. The >>> > user > >>> query the GridResourceIndex server to get the current available >>> > machines, > >>> and then send tasks to machines. >>> >>> >> That's how the RegionalGISWithFailure works. So, your >> GridResourceIndex can be implemented as a RegionalGISWithFailure entity. >> >>> Could you plz tell me how to specify the link for above target >>> > simulation? > >>> One router is enough? >>> >>> >> Sure, network topology does not affect your functionality. >> You can have a network topology with one router, or with many of >> them, it doesn't matter. >> >>> >>> >>> Thanks, >>> >>> >> Anytime, >> >> Agustin >> >>> Chao Jin >>> >>> On Mon, 15 Oct 2007 11:41:25 +0200, Agustín Caminero Herraez wrote >>> >>> >>>> Hi, >>>> >>>> Yes, you will have to modify RegionalGISWithFailure.java. >>>> In this class, you must read the log files, and schedule the >>>> fail/alive events based on them. >>>> >>>> Agustin >>>> >>>> Anthony Sulistio escribió: >>>> >>>> >>>>> Agustin may tell you more about this. >>>>> But, if you insist on reading from a trace file, >>>>> then perhaps you need to modify the RegionalGISWithFailure.java, >>>>> since this class is responsible for sending messages to >>>>> resources for fail/alive. >>>>> >>>>> >>>>> anthony >>>>> >>>>> >>>>> On Mon, 15 Oct 2007, Chao JIN wrote: >>>>> >>>>> >>>>> >>>>>> hi, Anthony >>>>>> >>>>>> I am using GridSim to simulate a distributed environment with frequent >>>>>> failures. I have the failure logs of some machines in a cluster, and >>>>>> > I'd > >>>>>> like to simulate failures according to these log files. >>>>>> >>>>>> I have found GridSim can simulate failures through some functions, >>>>>> such as >>>>>> HyperExponential, etc. However, this is not what I need. >>>>>> >>>>>> Do I have to add new modules over GridSim? or How could I do it in a >>>>>> quicker >>>>>> way? >>>>>> >>>>>> I am looking forward to your answers. >>>>>> >>>>>> BTW: I just went to your seat, but you were not there. >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Chao >>>>>> -- >>>>>> >>>>>> >>>>>> >>>> -- >>>> ======================================================== >>>> Agustin Caminero-Herraez >>>> PhD Student >>>> Computing Systems Department >>>> The University of Castilla La Mancha, Albacete. Spain. >>>> Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 >>>> http://www.i3a.uclm.es/ >>>> ======================================================== >>>> >>>> >>> -- >>> >>> >>> >> -- >> ======================================================== >> Agustin Caminero-Herraez >> PhD Student >> Computing Systems Department >> The University of Castilla La Mancha, Albacete. Spain. >> Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 >> http://www.i3a.uclm.es/ >> ======================================================== >> > > > -- > > -- ======================================================== Agustin Caminero-Herraez PhD Student Computing Systems Department The University of Castilla La Mancha, Albacete. Spain. Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 http://www.i3a.uclm.es/ ======================================================== |
From: yangyu <ya...@hp...> - 2007-10-11 06:13:39
|
Dear=E3=80=80Agustin =E3=80=80Good afternoon. =E3=80=80I=E3=80=80Sent a mail to you=E3=80=80and to this mailing list = on Sunday .Because I was at home ,So=E3=80=80I used an other mail = address. =E3=80=80I am afraid that you may not read it So=E3=80=80I Want = to=E3=80=80Say thank you and tell you that The code you told me can work = well.=E3=80=80 =E3=80=80Thank you very much =E3=80=80Best wishes, =E3=80=80Yours, -----Original Message----- From: Agustin Caminero Herraez [mailto:ag...@ds...] Sent: Friday, October 05, 2007 7:21 PM To: yangyu Cc: gri...@li... Subject: Re: [GridSim-users] about dynamic performance. and a question of setting resourceID Hello Yang Yu, yangyu escribi=C3=B3: > Hello Dear Agustin, > > Thank you very much for you kindness and your help to me. > I just had a try. I found that there is some problem in that code. > ------------------------------------------ > for(int i=3D0;i<num;i++) { =20 > // get a PE of this resource=20 > // something like: > // pe=3D pelist.get(i); =20 > // then change the rating > pe.setMIPSRating(1000); =09 > } > ------------------------------------------ > The prolem is with the code "pe.setMIPSRating(1000);" when compling . > some information like "pe is not defined symbol" was shown. > > To work out this, at the head of my class I wrote "public static PE = pe; " (I am not sure of it, just a try). > =20 Of course, pe must be declared before being used. I think that "public=20 PE pe; " is ok. > and the Compling is passed, but when it run to the code = "pe.setMIPSRating(1000); ", the program will be stopped and throws a = message of "java.lang.NullPointerException". > > I thought that when the excution of program runs to " = pe.setMIPSRating(1000);" to set the PE with a new_speed, maybe Program = can not know which PE`s speed is going to be re-setted. (As the message = of NullPointerException) . > > And I also tried to use " pe=3D pelist.get(i);" , but a error message = like "java.lang.Objct can not be setted as gridsim.PE" was shown. > > =20 Of course, before trying to set the speed of a PE, you must decide which = PE you want to set. In order to do that, you must go through the PEList, = which is what I meant in the code I sent you. Probably the failure is=20 that "pelist.get(i); " returns a Object, so try doing a casting to PE,=20 such as "pe=3D (PE) pelist.get(i);". Hope this helps, Agustin > I really want to say "Thank you very much for your help to me. you are = so kind", though I can not run your code correctly. > > > I will go on to find how to change the performance(speed of PE). > > > And if you have some new information about change speed of PE, I `d = like to read and try it. > > > Thanks a lot, > > best wishes to you. > > > Yang Yu > > > > > > > -----Original Message----- > From: Agustin Caminero Herraez [mailto:ag...@ds...] > Sent: Friday, October 05, 2007 4:39 PM > To: yangyu > Cc: gri...@li... > Subject: Re: [GridSim-users] about dynamic performance. and a question > of setting resourceID > > > Hello Yang Yu, > > I've just taken a look at your example, and I'm afraid that what you = do=20 > is not correct. > I mean, you are not changing the rating of PEs, but just creating new = PEs. > > So, try doing this: > > public void changePE(){ > int rate=3D0; > int rate_changed=3D0; > PEList = pelist=3Dresource.getMachineList().getMachine(0).getPEList(); > int num=3Dresource.getNumPE(); > > > /*to see the rate of PEs before change them. there were 6PEs and = each PE~s > speed is 200*/ > for(int i=3D0;i<num;i++){ > rate=3Dpelist.getMIPSRating(i); > } > > /* try to change speed to 1000 */ > for(int i=3D0;i<num;i++) { =20 > // get a PE of this resource=20 > // something like: > // pe=3D pelist.get(i); > // then change the rating > pe.setMIPSRating(1000); =09 > } > > > > /* to check that they are changed or not*/ > =20 > for(int i=3D0;i<num;i++) > { > rate_changed=3Dpelist.getMIPSRating(i); > //rate_changed is same as rate. > } > } > > > Tell me if this works, > > Regards, > > Agustin > > > yangyu escribi=C3=B3: > =20 >> Good morning Agustin, >> Good morning everyone, >> >> >> Thank you very much for the information you gave to me. >> I am happy to hear that the speed of PEs can be changed when the = simulation >> is running. >> >> I just tried one way to change the speed of PEs. It seems that it = does not >> work .(Forgive me if I chose a wrong way to write the code) I am not = sure >> the method I used is right or not. >> Can you tell me why I can not change the speed(rating) of PEs when = you are >> not busy? >> >> Thank you very much. >> >> PS. I found that in the Class ResourceCharacteristics, the method >> setResourceID(int id) does not work.(I can not make resources ID as I = want >> them to be.) >> >> (I am sorry that I sent this question to "GridSim-users] help = regarding >> compiling.............". 10minuts ago.I am so sorry about that.) >> >> bestwishes, >> yang, >> ---------the code-------------------------------------------------- >> _/*I ran this program step by step to see "rate"and "rate_change".I = found >> that they were same*/ >> public void changePE(){ >> int rate=3D0; >> int rate_changed=3D0; >> PEList = pelist=3Dresource.getMachineList().getMachine(0).getPEList(); >> int num=3Dresource.getNumPE(); >> >> >> /*to see the rate of PEs before change them. there were 6PEs and each = PE~s >> speed is 200*/ >> for(int i=3D0;i<num;i++){ >> rate=3Dpelist.getMIPSRating(i); >> } >> >> >> /* try to change speed to 1000 using the method that I know*/ >> for(int i=3D0;i<num;i++) { >> pelist.add(new PE(i,1000)); >> >> // PE pe=3Dnew PE(i,1000); >> // pe.setMIPSRating(1000); >> } >> MachineList mList =3D new MachineList(); >> mList.add( new Machine(0, pelist) ); >> String arch =3D "Sun Ultra"; // system architecture >> String os =3D "Solaris"; // operating system >> double time_zone =3D 0.0; // time zone this resource = located >> ResourceCharacteristics resource =3D new ResourceCharacteristics( >> arch, os, mList, = ResourceCharacteristics.SPACE_SHARED, >> time_zone, 1); >> >> // PEList = pelist1=3Dresource.getMachineList().getMachine(0).getPEList(); >> /* to check that they are changed or not*/ >> for(int i=3D0;i<num;i++) >> { >> // = rate_changed=3Dpelist1.getMIPSRating(i) >> = rate_changed=3Dpelist.getMIPSRating(i); >> //rate_changed is same as rate. >> } >> } >> -------------------------------------------------- >> >> >> >> = -------------------------------------------------------------------------= >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a = browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Gridsim-users mailing list >> Gri...@li... >> https://lists.sourceforge.net/lists/listinfo/gridsim-users >> =20 >> =20 > > =20 --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Agustin Caminero-Herraez PhD Student Computing Systems Department The University of Castilla La Mancha, Albacete. Spain. Phone: +34 967 599200 Ext. 2693. Fax : +34 967 599224 http://www.i3a.uclm.es/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D |