From: Uros C. <uro...@fr...> - 2007-10-24 12:40:15
|
Dear Andrey, thank you for your question, I hope I can provide you a satisfactory answer. I believe the easiest way to start experimenting with the Data Grid functionality is to look at the examples, which inlcude a more detailed description. The examples can be found at: http://www.gridbus.org/gridsim/example/data_index.html There are various ways how to implement the actions of the users. The easiest way is described in Example 4, since no programming is required. However the actions that one can specify are only: 1. getting a file, 2. getting the attribute of a file, 3. replicate a file and 4. deleting a file. To implement more complex user behavior you have to implement your own users by extending the class DataGridUser. An example of how to do this is described in Example 3. Unfortunately there is no sophisticated way of gathering the statistics at the moment. The simplest approach is to simply print on the standard output the desired parameters at the desired time. After the simulation has finished you can use text manipulation tools (e.g. grep, awk) to extract the events from the output for further analysis. Kind regards, Uros Cibej > > > Date: Tue, 23 Oct 2007 11:45:16 +0200 > From: Andrey NECHAEVSKIY <ne...@ma...> > Subject: [GridSim-users] about GridSim > To: gri...@li... > Message-ID: <1193132716.6886.25.camel@pcitgd27> > Content-Type: text/plain > > Hello, everybody! > > I'm apologizing for disturbing you! > I have a question about Data Grid. > > Is the only this way to set parameters what users should do? > users.txt: > user1 router2 Res_0 0.1 get testFile2 get testFile1 attribute testFile1 > get file > user2 router1 Res_1 0.1 get testFile1 replicate testFile1 Res_1 delete > testFile1 Res_1 > > If I have more users how can I set their activities? > > And the second question is how some statistic can be gathered? > for example about disk space changing, info about network, how many > transfers were done and other. > > Thank you in advance > Andrey > > > > |