From: Eran C. W. <era...@gm...> - 2010-12-10 15:02:42
|
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 > > |