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: Ramprasad.G <ram...@gm...> - 2009-11-11 14:04:10
|
i understand that gridbroker package has been discontinued, but i would like to know the necessary changes needed to make "gridbroker.Example" run on Gridsim 5 please can anyone list the changes required -- from Ramprasad.G |
From: Marcos D. de A. <ass...@ac...> - 2009-11-10 09:57:45
|
Hi Dalibor, The interface is to visualise the allocation actions triggered by the scheduler (i.e. allocation policy). Hence, the allocation policy creates action objects that are forwarded to the interface currently in use. GridSim loads a default visualiser, but it would be possible to plug a different visualiser if you need. Examples are given on how the use the policies that already use the interface, such as the aggressive backfilling and conservative backfilling, but I agree that no examples are given on how to extend the interface. Cheers, Marcos 2009/10/15 Dalibor Klusacek <xk...@fi...>: > Hi guys, > > I've just downloaded the new 5beta release and found the new > visualization capability based on the PajFit tool. > Sadly, I did not found any example of how to use it. By searching the > source codes it seems to me that it is "hard-coced" in the classes > containing the new alloc policies. Am I right? That's all? > So if I use e.g., AggressiveBackfill class as an alloc policy, it will > show a visualization? No other setup needed? > > Thanks, > > Dalibor > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > |
From: Ramprasad.G <ram...@gm...> - 2009-11-05 14:10:16
|
I want to optimize the scheduling of gridlets to different resources.(for eg: minimize cost/time) the gridbroker (in gridsim 2.1) seems to have done the same thing, however its not been implemented for newer versions. can anyone tell me how to do the same with newer versions. (i basically want to know the load on each resource after i submit a gridlet, so that i can optimize the next gridlet) |
From: Roohollah G. <866...@ee...> - 2009-11-02 12:09:19
|
In the name of GOD, the Merciful Hello Dear Friends, I have some problems about gridsim. I hope there were someone to help me: 1. What’s the “seed”? And what is “11L*13*17*19*23+1” that “seed” was equaled to? 2. How can I set time and budget constraints for gridlets? 3. How can I define time distribution for gridlets, e.g. Poisson distribution arrival time for receiving gridlets? 4. What’s the difference between “length” and “file_size” for gridlets? 5. What are the dimensions of “length”, “file_size” and “output_size”? Are them in Megabytes, Kilobytes or else? 6. What’s the meaning of “peakLoad”, “offPeakLoad” and “holidayLoad”? Are them the exact load of these times for all days or these are average load? How should I set them? 7. How about “Holidays”? How can I set them? Should I set them as date like 9/2/2010 or in other way? Sincerely Rouhollah Golmohammadi |
From: Héctor B. de F. <hec...@di...> - 2009-11-02 08:38:44
|
I designed the environment as a node of a multicluster corresponds to a unique GridResource, which has only one PE. For example, If I have 100 nodes, I have 100 GridRresources, so I think it is not problem of the allocation policy, as I'm assigning the gridlets to the nodes specifically I want. The coomunications works in this manner: When a GridResource receives a communication request from the user, it pauses the execution of its Gridlet. It will resume the gridlet when he have received the responses of the GridResources which it is communicating. This is done at the beginning, so the big part of the execution (processing) is done after the communications part. Resuming the story of the general problem, the processing execution time is correct. The part that does not have a correct behavior is related to the communications. Hector. > If I did get your question right I think you need to check how the > resources deals with your gridlet, > does the execution pause while the communication is going on or does the > resource complete the > execution and sends the gridlet output before sending the packets, > resources use the FCFS so you > need to be clear on that > > Dibbydon > > > > > ________________________________ > From: Héctor Blanco de Frutos <hec...@di...> > To: gri...@li... > Sent: Sun, November 1, 2009 10:23:23 PM > Subject: [GridSim-users] Problems with communications > > Hello. > Finally I have adapted GridSim to simulate a multicluster environment, and > implemented some kind of communications between nodes. But, I have a > problems with the behavior of it. The working model is at follows: The > user sends a gridlet to every of the required gridresources (working as an > unique node, meaning that one resource has only one PE), and immediatelly, > the user sends a notification to the nodes, with the order to communicate > with the res of the nodes. Then, every one sends a big packet (20-40 MB) > to the others. > While the nodes are transmitting, they pause the execution of its gridlet, > to simmulate a blocking communication of the nodes. > All seems to work well, until I read the execution time of the gridlets. > If we have for example two clusters, one with a 100mbps channel, and the > other with 100mbps, the gridlets last (for example) 1000 seconds to > finnish. But If I change the channels to (for example, this combination): > 100mbps, and 10mbps, the finnish time of the gridlets last the same. This > not changes until I reduce even more the BW of one of the channels, to > 100mbps and 1mbps. These ranges of BW have not much sense as, changing to > 100mbps and 20mbps has no real impact on it. I revised the event traces, > and all seems correct. Only the finnish time seems to do strange things. > > I use RIPRouter, Simplelink, and FIFOScheduler as the network elements. > and the topology is the following: a main router, where the user and the > clusters (with a router for every cluster) are connected to it. The > gridresources are connected to the router of its corresponding cluster. > > Anyone has a idea of why the simulation has its strange behavior? Maybe > I'm doing something incorrectly, but in one week revising the code and the > network examples I can't figure which is the problem. > > Sorry for a too big message, but I wanted to give as much detail as > possible. > > > Best regards, > > Hector. > > -------------------------------------------- > Hector Blanco de Frutos > > Dept. d'Informàtica i Enginyeria Industrial > Escola Politècnica Superior > Universitat de Lleida > -------------------------------------------- > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > > > > -------------------------------------------- Hector Blanco de Frutos Dept. d'Informàtica i Enginyeria Industrial Escola Politècnica Superior Universitat de Lleida C/ Jaume II, núm. 69 25001 Lleida http://www: http://gcd.udl.cat http://www.neopontec.com email: hec...@di... Tel: +34 973 702 730 Fax: +34 973 702 702 -------------------------------------------- |
From: Héctor B. de F. <hec...@di...> - 2009-11-01 22:24:07
|
Hello. Finally I have adapted GridSim to simulate a multicluster environment, and implemented some kind of communications between nodes. But, I have a problems with the behavior of it. The working model is at follows: The user sends a gridlet to every of the required gridresources (working as an unique node, meaning that one resource has only one PE), and immediatelly, the user sends a notification to the nodes, with the order to communicate with the res of the nodes. Then, every one sends a big packet (20-40 MB) to the others. While the nodes are transmitting, they pause the execution of its gridlet, to simmulate a blocking communication of the nodes. All seems to work well, until I read the execution time of the gridlets. If we have for example two clusters, one with a 100mbps channel, and the other with 100mbps, the gridlets last (for example) 1000 seconds to finnish. But If I change the channels to (for example, this combination): 100mbps, and 10mbps, the finnish time of the gridlets last the same. This not changes until I reduce even more the BW of one of the channels, to 100mbps and 1mbps. These ranges of BW have not much sense as, changing to 100mbps and 20mbps has no real impact on it. I revised the event traces, and all seems correct. Only the finnish time seems to do strange things. I use RIPRouter, Simplelink, and FIFOScheduler as the network elements. and the topology is the following: a main router, where the user and the clusters (with a router for every cluster) are connected to it. The gridresources are connected to the router of its corresponding cluster. Anyone has a idea of why the simulation has its strange behavior? Maybe I'm doing something incorrectly, but in one week revising the code and the network examples I can't figure which is the problem. Sorry for a too big message, but I wanted to give as much detail as possible. Best regards, Hector. -------------------------------------------- Hector Blanco de Frutos Dept. d'Informàtica i Enginyeria Industrial Escola Politècnica Superior Universitat de Lleida -------------------------------------------- |
From: JAYA S. <sud...@ya...> - 2009-10-28 17:24:28
|
Hello Sir/Madam, I am a Phd Scholar. My name is Jayasudha. Shall I post my doubts and queries regarding GridSim to this mail id? Kindly, regard this mail as a Test mail !! Please respond........ Regards Jayasudha Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew |
From: Ramprasad.G <ram...@gm...> - 2009-10-23 04:27:36
|
How an user can submit gridlets asynchronously. i.e. starting the second request without wating for the completion of the first.Is such a thing possible or not? |
From: lijiang <riv...@ho...> - 2009-10-22 08:31:04
|
hallo,everybody, I have a question about resource in GridSim . I want to change the performance of resources during the simulation. For example: i have a resource with 5 machines, and i hope this resource can be increased to 10 machines or decreased to 3 machines during the simulation. Can anybody tell me, how can i do it. Thanks a lot, Jiang _________________________________________________________________ 全新 Windows 7:寻找最适合您的 PC。了解详情。 http://www.microsoft.com/china/windows/buy/ |
From: THANAWUT T. <tha...@gm...> - 2009-10-21 14:53:18
|
2009/10/21 <gri...@li...> > Send Gridsim-users mailing list submissions to > gri...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gridsim-users > or, via email, send a message with subject or body 'help' to > gri...@li... > > You can reach the person managing the list at > gri...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gridsim-users digest..." > > > Today's Topics: > > 1. Resource workload (innocent dibia) > 2. question about resourceWithFailure (lijiang) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 15 Oct 2009 17:48:32 -0700 (PDT) > From: innocent dibia <dib...@ya...> > Subject: [GridSim-users] Resource workload > To: gri...@li... > Message-ID: <829...@we...> > Content-Type: text/plain; charset="us-ascii" > > > > Please I am trying to implement a resource allocation policy that assigns > jobs to resources with the lowest workloads > please how can I get the workloads of the resources and secondly how do I > assign the jobs as they belong to different users > Kindly help urgently > thanks > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Wed, 21 Oct 2009 00:49:47 +0200 > From: lijiang <riv...@ho...> > Subject: [GridSim-users] question about resourceWithFailure > To: <gri...@li...> > Message-ID: <SNT...@ph...l> > Content-Type: text/plain; charset="gb2312" > > > hi, everyone, > > > > I have read the codes of Example ResFailure.example01~ResFailure.example03. > All of the configuration about Failured Resource is produced with Random > from "HyperExponential". I want not to set random failured resources, but a > failured resource with an fixed ID. How can I do it? > > > > By the way, can anybody tell me something about the 3 parameters of Klasse > " HyperExponential". In example there is "HyperExponential > failureNumResPattern = > new HyperExponential(totalMachines / 2, totalMachines, 4);" What do these > 3 parameters mean? > > > > thanks a lot > > > > Jiang > > _________________________________________________________________ > Messenger??????????????????Messenger??? > http://im.live.cn/safe/ > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > > ------------------------------ > > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > > > End of Gridsim-users Digest, Vol 114, Issue 1 > ********************************************* > |
From: lijiang <riv...@ho...> - 2009-10-20 22:49:58
|
hi, everyone, I have read the codes of Example ResFailure.example01~ResFailure.example03. All of the configuration about Failured Resource is produced with Random from "HyperExponential". I want not to set random failured resources, but a failured resource with an fixed ID. How can I do it? By the way, can anybody tell me something about the 3 parameters of Klasse " HyperExponential". In example there is "HyperExponential failureNumResPattern = new HyperExponential(totalMachines / 2, totalMachines, 4);" What do these 3 parameters mean? thanks a lot Jiang _________________________________________________________________ Messenger安全保护中心,免费修复系统漏洞,保护Messenger安全! http://im.live.cn/safe/ |
From: innocent d. <dib...@ya...> - 2009-10-16 00:48:47
|
Please I am trying to implement a resource allocation policy that assigns jobs to resources with the lowest workloads please how can I get the workloads of the resources and secondly how do I assign the jobs as they belong to different users Kindly help urgently thanks |
From: innocent d. <dib...@ya...> - 2009-10-16 00:47:09
|
Please I am trying to implement a resource allocation policy that assigns jobs to resources with the lowest workloads please how can I get the workloads of the resources and secondly how do I assign the jobs as they belong to different users Kindly help urgently thanks |
From: innocent d. <dib...@ya...> - 2009-10-16 00:25:31
|
hello, please how can I get the workload of the individual resources in my simulation. please help. Dibbydon |
From: Marcos D. de A. <mar...@gm...> - 2009-10-15 14:19:35
|
Hi Dalibor, thanks for pointing out that problem. The problem is that the file does not exist in the jar; that is, the ant build.xml file was not including the gui.properties file in the jar. Please use the build.xml that is attached to this e-mail to generate the jars again. After that, the example should work by invoking: java -cp $GRIDSIM/gridsim.jar:. parallel.agressive.ExampleEASY01 $GRIDSIM/examples/parallel/sdsc_blue_01.txt Regards, Marcos Dalibor Klusacek wrote: > Hi, > > I've been trying to run the visualization but I am still getting an > Exception: > > Exception in thread "main" java.lang.ExceptionInInitializerError > at gridsim.GridSim.startGridSimulation(Unknown Source) > at traceexample.Main.main(Main.java:124) > Caused by: java.lang.NullPointerException > at java.util.Properties$LineReader.readLine(Properties.java:418) > at java.util.Properties.load0(Properties.java:337) > at java.util.Properties.load(Properties.java:325) > at > gridsim.parallel.gui.GUISettings.loadDefaultProperties(Unknown Source) > at gridsim.parallel.gui.GUISettings.<init>(Unknown Source) > at gridsim.parallel.gui.GUISettings.getInstance(Unknown Source) > at gridsim.parallel.gui.AbstractVisualizer.<clinit>(Unknown Source) > ... 2 more > Java Result: 1 > > Clearly the GUISettings class cannot load the "gui.properties" file > properly. > I am not quite sure where to put this gui.properties file. Since it is > expected to be at: DEF_PATH = "gridsim/parallel/gui/gui.properties" > I tried to create such directory in my project folder, but it did not > work. Weird thing is that if I tried to open it via FileReader on my > own, everything went just fine, so I suppose wrong path was not the problem. > I am using gridsim as a .jar library, which I include into my (Netbeans) > project. > > The visualization is invoked through GridSim.startGridSimulation(true); > command and by using AggressiveBackfill alloc policy. > > I think that my problem will be solved by moving the gui.properties file > somewhere else - please tell me where? > Or the best solution would be - show me a simple code that runs the > visualization :-) > > Thanks, > > Dalibor > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > |
From: Dalibor K. <xk...@fi...> - 2009-10-15 13:44:02
|
Hi, I've been trying to run the visualization but I am still getting an Exception: Exception in thread "main" java.lang.ExceptionInInitializerError at gridsim.GridSim.startGridSimulation(Unknown Source) at traceexample.Main.main(Main.java:124) Caused by: java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:418) at java.util.Properties.load0(Properties.java:337) at java.util.Properties.load(Properties.java:325) at gridsim.parallel.gui.GUISettings.loadDefaultProperties(Unknown Source) at gridsim.parallel.gui.GUISettings.<init>(Unknown Source) at gridsim.parallel.gui.GUISettings.getInstance(Unknown Source) at gridsim.parallel.gui.AbstractVisualizer.<clinit>(Unknown Source) ... 2 more Java Result: 1 Clearly the GUISettings class cannot load the "gui.properties" file properly. I am not quite sure where to put this gui.properties file. Since it is expected to be at: DEF_PATH = "gridsim/parallel/gui/gui.properties" I tried to create such directory in my project folder, but it did not work. Weird thing is that if I tried to open it via FileReader on my own, everything went just fine, so I suppose wrong path was not the problem. I am using gridsim as a .jar library, which I include into my (Netbeans) project. The visualization is invoked through GridSim.startGridSimulation(true); command and by using AggressiveBackfill alloc policy. I think that my problem will be solved by moving the gui.properties file somewhere else - please tell me where? Or the best solution would be - show me a simple code that runs the visualization :-) Thanks, Dalibor |
From: innocent d. <dib...@ya...> - 2009-10-15 11:11:51
|
Hello Please how can I get the resource utilization capacity or current workload of any resource at run time. using the Gridsim. I want to allocate jobs based on the utilization of workload, please how can I achieve this Kindly assist please. |
From: Dalibor K. <xk...@fi...> - 2009-10-15 09:43:23
|
Hi guys, I've just downloaded the new 5beta release and found the new visualization capability based on the PajFit tool. Sadly, I did not found any example of how to use it. By searching the source codes it seems to me that it is "hard-coced" in the classes containing the new alloc policies. Am I right? That's all? So if I use e.g., AggressiveBackfill class as an alloc policy, it will show a visualization? No other setup needed? Thanks, Dalibor |
From: Marcos D. de A. <mar...@gm...> - 2009-10-06 13:42:39
|
Hi Hector, GridSim has some network simulation capabilities, but in the examples provided Gridlets do not communicate. The network features are currently used to: check the period required to transfer Gridlets from the submission point to resources where they are processed; and by the data Grid module to simulate transfers of files across the network. If gridlets communicate with one another and they are executed on the same cluster, you could account for that in the execution time computed by the allocation policy at the Grid resource level. If the gridlets are executed across multiple sites and they communicate, then you will have to extend one of the allocation policies provided and implement the communication pattern that you need. Kind regards, Marcos Hector Blanco de Frutos wrote: > > Hello, I have another question. This time related with communications. > > I have examined the documentation and some of the examples and I saw > no evidence of communication between Gridlets, or the tasks composing > a Gridlet. I’m wrong, or there is a possibility to stablish a > communication between two or more Gridlets? > > Thank you. > > Reagards, > > Hector Blanco. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > ------------------------------------------------------------------------ > > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > |
From: Hector B. de F. <hec...@di...> - 2009-10-05 17:34:37
|
Hello, I have another question. This time related with communications. I have examined the documentation and some of the examples and I saw no evidence of communication between Gridlets, or the tasks composing a Gridlet. I'm wrong, or there is a possibility to stablish a communication between two or more Gridlets? Thank you. Reagards, Hector Blanco. |
From: innocent d. <dib...@ya...> - 2009-10-05 09:58:53
|
Help How do I implement a User a member of two Virtual Organisation(VO) such that when the primary VO fails his job are resubmitted to the secondary VO. Please kindly assist |
From: Marcos D. de A. <mar...@gm...> - 2009-10-02 18:57:17
|
> Please how do I schedule the internal event to prevent the resources > from sutting down. > Extend the GridResource class and its body method. In the body you trigger an internal event. The body of your extended resource should look like: public void body() { // schedule an internal event with a the tag INTERNAL_EVENT_TAG super.sim_schedule(super.get_id(), 10.0, INTERNAL_EVENT_TAG); super.body(); } Then, you implement the method processOtherEvent(Sim_event) to handle that internal event and dispatch a new one. The method should look like: protected void processOtherEvent(Sim_event ev) { if (ev.get_tag() == INTERNAL_EVENT_TAG) { // schedule the new internal event with a delay of 10 seconds with a the tag INTERNAL_EVENT_TAG super.sim_schedule(super.get_id(), 10.0, INTERNAL_EVENT_TAG); } else { super.processOtherEvent(ev); } } Regards, Marcos |
From: Marcos D. de A. <mar...@gm...> - 2009-10-02 10:22:42
|
Hi Innocent, please note that the GIS entity will not shutdown the simulation until all user entities have called: super.shutdownUserEntity(); super.terminateIOEntities(); Hence, the solution is to prevent user entities from invoking these methods before all jobs are received. You can have a loop in you user entities testing if all jobs have been received or not, and breaking from that loop and finally calling the methods above only if all jobs have been received. In other words, the body of your user entities should contain something more or less like: Sim_event ev = new Sim_event(); while (Sim_system.running()) { sim_get_next(ev); // process the received event here, if it is a job // increment a counter for the jobs received ... // if all the Gridlets have been collected. Note that // nCompletedJobs is the counter with number of jobs received // and nSubmittedJobs is a counter with the number of jobs // dispatched to resources if (nCompletedJobs == nSubmittedJobs) { break; } } // shut down all the entities, including GridStatistics entity since // we used it to record certain events. shutdownGridStatisticsEntity(); shutdownUserEntity(); terminateIOEntities(); I hope the example helps. Kind regards, Marcos innocent dibia wrote: > > Hi Marcos, > I am simulating a failure environment and I want to delay the GIS > entity from sending a grid shutdown message until all users in the > various GIS network has received their jobs back please how can I > achieve this urgently, please help > > thanks > > |
From: innocent d. <dib...@ya...> - 2009-10-02 09:28:52
|
Hi Marcos, I am simulating a failure environment and I want to delay the GIS entity from sending a grid shutdown message until all users in the various GIS network has received their jobs back please how can I achieve this urgently, please help thanks |
From: Hector B. de F. <hec...@di...> - 2009-10-01 08:12:19
|
Thank you, Marcos. Whith these answers I think that gridsim is my best choice. Regards, Hector Blanco. |