From: Eran C. W. <era...@gm...> - 2010-10-15 03:44:00
|
Hi, I'm a PhD student from Indiana University and trying to use gridsim to simulate unreliable computational resources. I'm trying to use gridsim such that it will represent two or more compute resources (each having many nodes in it). But I should be able to assign a reliability distribution, just like HyperExponential function that you have already implemented. This is how I want it to work. 1. A user code will create a gridlet representing a job it has 2. gridlet is given to gridsim and it will either successfully run (simulate it) or will create a failure (following the given reliability distribution function). 3. user will be notified, either using the gridlet itself or some other mean, whether the job was successful or failed. 4. this process from 1-3 to will continue for all the jobs in a queue. But I want the user code to be notified about the status of each job (success or fail). Can you please point me to a code sample or provide me a code sample that can do this? When I looked in to the code, the examples always show that you have to invoke gridsim.simulate and it will run all the gridlets at once. But I want to go in the order given above. Thanks, Eran Chinthaka Withana |