From: Eran C. W. <era...@gm...> - 2010-12-10 15:30:44
|
Hi Agustin, Ok, that explains. I didn't know about the re-submission part. Is there a way to block/stop the re-submission? Thanks, Eran Chinthaka Withana 2010/12/10 Agustín Caminero Herráez <ag...@ds...> > Hi Eran, > > I've just run the first example of the resource failure functionality and > there are resources failing, and gridlets got failed because of that. > > For instance, among the output I get: > Ex01_User0: Receiving Gridlet #0 with status Failed at time = > 31.88541776882028 from resource Ex01_Res_1 > > This means that the gridlet 0 of user 0 is failed. then, user 0 will > resubmit the gridlet to another resource. > > In the end of the experiment, all the gridlets will be executed, no matter > if they failed in the mean time. > > Regards, > > Agustin > > On 12/10/2010 04:02 PM, Eran Chinthaka Withana wrote: > > Hi Augustin, > > Thanks for the reply. I played a little bit with these params, but was > not successful. Since this is an example to demo resource failures, I > thought the given numbers will make some resources to fail automatically in > this test. > > Thanks, > Eran Chinthaka Withana > > > 2010/12/10 Agustín Caminero Herráez <ag...@ds...> > >> Hi Eran, >> >> >> On 12/05/2010 07:12 AM, Eran Chinthaka Withana wrote: >> >> Hi, >> >> I increased the number of gridlets to 50 and ran the first two example >> programs found under ResourceFailure examples. But all the gridlets were >> marked as success, after the simulation. How can I make some of the gridlets >> to fail? >> >> Just modify the parameters of the distributions that define the failure >> pattern. In ResFailureEx01.java u have a brief explanation of this: >> >> // HyperExponential: mean, standard deviation, stream >> // how many resources will fail >> HyperExponential failureNumResPattern = >> new HyperExponential(totalMachines / 2, totalMachines, >> 4); >> >> // when they will fail >> HyperExponential failureTimePattern = >> new HyperExponential(25, 100, 4); >> >> // how long the failure will be >> HyperExponential failureLengthPattern = >> new HyperExponential(20, 25, 4); // big test: (20, >> 100, 4); >> >> // creates a new Regional GIS entity that generates a resource >> // failure message according to these patterns. >> RegionalGISWithFailure gis = new >> RegionalGISWithFailure(gisName, >> link, failureNumResPattern, >> failureTimePattern, >> failureLengthPattern); >> >> Regards, >> >> Agustin >> >> >> I assume these examples help to simulate a grid with resource failures. >> Also it will be nice if you can help me to understand how I can control the >> parameters to control resource failures in the simulations. >> >> Thanks, >> Eran Chinthaka Withana >> >> >> ------------------------------------------------------------------------------ >> What happens now with your Lotus Notes apps - do you make another costly >> upgrade, or settle for being marooned without product support? Time to move >> off Lotus Notes and onto the cloud with Force.com, apps are easier to build, >> use, and manage than apps on traditional platforms. Sign up for the Lotus >> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d >> >> >> _______________________________________________ >> Gridsim-users mailing list >> Gri...@li...https://lists.sourceforge.net/lists/listinfo/gridsim-users >> >> >> -- >> Dr. Agustin Caminero >> Assistant Professor >> Dept. of Communication and Control Systems >> The National University of Distance Education >> Madrid. SpainE-Mail:acc...@sc... >> Phone: +34 913 989 468http://www.uned.es >> >> > > -- > Dr. Agustin Caminero > Assistant Professor > Dept. of Communication and Control Systems > The National University of Distance Education > Madrid. SpainE-Mail:acc...@sc... > Phone: +34 913 989 468http://www.uned.es > > |