|
From: Agustín C. H. <ag...@ds...> - 2010-12-10 09:00:11
|
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. Spain
E-Mail:acc...@sc...
Phone: +34 913 989 468
http://www.uned.es
|