You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(24) |
Nov
(5) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(14) |
Feb
(8) |
Mar
(6) |
Apr
(7) |
May
(1) |
Jun
(22) |
Jul
(6) |
Aug
(22) |
Sep
(22) |
Oct
(8) |
Nov
(10) |
Dec
(31) |
2009 |
Jan
(18) |
Feb
(29) |
Mar
(25) |
Apr
(11) |
May
(6) |
Jun
(7) |
Jul
(8) |
Aug
|
Sep
(3) |
Oct
(20) |
Nov
(11) |
Dec
(1) |
2010 |
Jan
(15) |
Feb
(33) |
Mar
(20) |
Apr
(13) |
May
(1) |
Jun
(4) |
Jul
(7) |
Aug
(11) |
Sep
(5) |
Oct
(6) |
Nov
(7) |
Dec
(12) |
2011 |
Jan
(6) |
Feb
(7) |
Mar
(1) |
Apr
(7) |
May
|
Jun
(10) |
Jul
(2) |
Aug
(2) |
Sep
(4) |
Oct
(3) |
Nov
(4) |
Dec
(1) |
2012 |
Jan
(3) |
Feb
(5) |
Mar
(15) |
Apr
(3) |
May
(2) |
Jun
(5) |
Jul
(5) |
Aug
(7) |
Sep
|
Oct
(2) |
Nov
(3) |
Dec
(1) |
2013 |
Jan
|
Feb
|
Mar
(4) |
Apr
(14) |
May
(8) |
Jun
(4) |
Jul
(3) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2014 |
Jan
(2) |
Feb
(1) |
Mar
(6) |
Apr
(2) |
May
(1) |
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
(3) |
Nov
(3) |
Dec
(2) |
2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Leonardo de A. <leo...@gm...> - 2008-08-27 13:20:09
|
Hello again, Can I create a new Link class that simulate this behavior? Or it is better to create a new Machine class that warns the application that the input transfer of a Gridlet finished? Thanks []'s Leonardo On Sun, Aug 24, 2008 at 10:31 AM, Anthony Sulistio < an...@cs...> wrote: > > Is it possible to know when the input transfer of a Gridlet is finished? >> > > you can roughly estimate the transfer time, by checking the current > network condition using GridSimCore#ping() and > compare it with the file size to be transferred. > > anthony > -- Leonardo de Assis Computação - UFCG leo...@gm... |
From: Jeyarani R. <sym...@gm...> - 2008-08-27 11:50:03
|
hai all, We are working in gridsim toolkit. We have problems with working on Example 8. We would like to know the definition of send() and receive() method Two more questions... 1. How jobs from different users are submitted to same resource when the following constraints are included? - User's policy may differ - Multiple Brokers submitting multiple jobs to the same resorce may compete with each other to complete their own job first. Whose job will be done first? How the problem is resolved? |
From: Andrey N. <ne...@ma...> - 2008-08-25 09:56:56
|
Hello, Anthony! I have some questions about GridSim. I've tried to make some test about files transfer in GridSim. I've created two resources, 3 routers between (one direct link and one link through third router ), and one user on one of resource. Files were on one resource. User try to replicate files from Res_1 to res_2. Config: 3 Router1 Router2 Router3 Router1 Router2 0.10 10.0 1500 Router1 Router3 1.2 10.0 1500 Router2 Router3 1.2 10.0 1500 Res1 25000 0.1 Router1 regionalRC1 File_name_0 File_name_1 File_name_2 File_name_3 File_name_4 File_name_5 File_name_6 File_name_7 File_name_8 File_name_9 Res2 20000 0.1 Router2 regionalRC1 user__Res1 Router1 regionalRC1 regionalRC1 0.10 Router1 Questions: 1. Is the any algorithm in GridSim to chose the "best" network way? because in my case simulator use only direct link Router1-Router2 (100Mb/s) and not Router1-Router3-Router2 (1.2Gb/s). 2. Is the any relations between resources characteristic and file transfer time? Or file transfer time just depend on size of file and bandwidth? 3. When I've tried to send 100Mb files through network with a different bandwidth (10Mb/s, 100Mb/s, 1000Mb/s) I always received the same time - something about 669. Why it is? But when I've tried to use the same bandwidth (100Mb/s) for different files (10Mb, 100Mb, 1000Mb), i received the next time: 69.8; 669.8; 6669.8. And for transfer one file 1000Mb I have to wait half an hour, it's to long can it be faster?! As you said we couldn't have any correlation of this simulation time with the real, for example, we've got 6669.8 and it does not mean that real file would be transfered in 10 minutes. But what this time mean? just that something happened in this time? Thanks in advance, I hope you have time to answering me Best regards, Andrey |
From: Anthony S. <an...@cs...> - 2008-08-24 14:21:28
|
show us the whole command line syntax and error. it's hard to tell what's wrong. my guess is you haven't set the gridsim or classpath properly. set the classpath and try again. have you followed the instruction in readme file closely? To compile the example source code: In Unix/Linux: javac -classpath $GRIDSIM/jars/gridsim.jar:. Example1.java In Windows: javac -classpath %GRIDSIM%\jars\gridsim.jar;. Example1.java where $GRIDSIM or %GRIDSIM% is the location of the gridsimtoolkit package. To run the class file: In Unix/Linux: java -classpath $GRIDSIM/jars/gridsim.jar:. Example1 In Windows: java -classpath %GRIDSIM%\jars\gridsim.jar;. Example1 anthony On Sun, 24 Aug 2008, shyam kumar wrote: > while compiling example1 i get the following errors > example1 uses unchecked or unsafe mode operations > recompile with Xlint:unchecked for details > > while running i get the following error > > exception in thread main:no classdefinition found. > > kindly help me.. |
From: Anthony S. <an...@cs...> - 2008-08-24 13:53:44
|
Questions: >1. Is the any algorithm in GridSim to chose the "best" network way? >because in my case simulator use only direct link >Router1-Router2 (100Mb/s) and not Router1-Router3-Router2 (1.2Gb/s). In FloodingRouter.java and RIPRouter.java description: "In case there are more than two routes to a destination, the route with the lower hopcount is used." You can add a new router that finds the biggest pipe instead. >2. Is the any relations between resources characteristic and file >transfer time? Or file transfer time just depend on >size of file and bandwidth? file transfer time just depend on size of file and bandwidth. >3. When I've tried to send 100Mb files through network with a different >bandwidth (10Mb/s, 100Mb/s, 1000Mb/s) I always >received the same time - something about 669. Why it is? I don't know. Perhaps the router finds the shortest route which may have the bottleneck/small pipe. >But when I've tried to use the same bandwidth (100Mb/s) for different >files (10Mb, 100Mb, 1000Mb), >i received the next time: 69.8; 669.8; 6669.8. And for transfer one file >1000Mb I have to wait half an hour, it's to >long can it be faster?! the half an hour simulation time is due to overheads of creating many Java objects for network packets, scheduling them, and synchronization of threads. This time refers to simulation/experiment runtime. It has nothing to do with GridSim.clock(). A large object is partitioned into packets according to MTU. Hence, num packets = object size / MTU. In GridSim, we set Link#DEFAULT_MTU = 1500. That's why for datagrid, my colleague, James, has come up with the flow network simulation that aims to make the simulation runs faster. I have integrated his work to the main trunk. It is available on http://gridsim.svn.sourceforge.net/viewvc/gridsim/trunk/ You can help us with testing this functionality. It is not yet ready for release. anthony > I have some questions about GridSim. > > I've tried to make some test about files transfer in GridSim. I've created > two resources, 3 routers between (one direct link and one link through third > router ), and one user on one of resource. Files were on one resource. User > try to replicate files from Res_1 to res_2. > Config: > > 3 > Router1 > Router2 > Router3 > Router1 Router2 0.10 10.0 1500 > Router1 Router3 1.2 10.0 1500 > Router2 Router3 1.2 10.0 1500 > > Res1 25000 0.1 Router1 regionalRC1 File_name_0 File_name_1 File_name_2 > File_name_3 File_name_4 File_name_5 File_name_6 File_name_7 File_name_8 > File_name_9 Res2 20000 0.1 Router2 regionalRC1 > > user__Res1 Router1 regionalRC1 > regionalRC1 0.10 Router1 > > > > Questions: > 1. Is the any algorithm in GridSim to chose the "best" network way? because > in my case simulator use only direct link Router1-Router2 (100Mb/s) and not > Router1-Router3-Router2 (1.2Gb/s). > 2. Is the any relations between resources characteristic and file transfer > time? Or file transfer time just depend on size of file and bandwidth? > 3. When I've tried to send 100Mb files through network with a different > bandwidth (10Mb/s, 100Mb/s, 1000Mb/s) I always received the same time - > something about 669. Why it is? > But when I've tried to use the same bandwidth (100Mb/s) for different files > (10Mb, 100Mb, 1000Mb), > i received the next time: 69.8; 669.8; 6669.8. And for transfer one file > 1000Mb I have to wait half an hour, it's to long can it be faster?! > As you said we couldn't have any correlation of this simulation time with the > real, for example, we've got 6669.8 and it does not mean that real file would > be transfered in 10 minutes. But what this time mean? just that something > happened in this time? > > > Thanks in advance, I hope you have time to answering me > > Best regards, Andrey > |
From: Anthony S. <an...@cs...> - 2008-08-24 13:32:47
|
> Is it possible to know when the input transfer of a Gridlet is finished? you can roughly estimate the transfer time, by checking the current network condition using GridSimCore#ping() and compare it with the file size to be transferred. anthony |
From: Anthony S. <an...@cs...> - 2008-08-24 13:31:03
|
Hi Vinicius, > So, I made two simple tests submitting a gridlet. First I submited it to a > GridResource. In the second I submitted it to a GridResource and after > holding for 100 secs I moved to another GridResource with the same > characteristics (one machine with one PE). The result is that the execution > seems to start from the beggining, ignoring the amount executed so far. > Bellow are the gridlet history for the two executions. So, do you know a > wise way to resume the gridlet execution from the point where it stopped? I thought in the 2nd scenario, it shows clearly: 0,00 Creates Gridlet ID #0 0,00 Assigns the Gridlet to Try (ID #13) 8,28 Allocates this Gridlet to Resource_0 (ID #5) with cost = $0.0/sec ... 109,32 Sets the length's finished so far to 202080.0 109,40 Moves Gridlet from Resource_0 (ID #5) to Resource_1 (ID #9) with cost = $0.0/sec ... Gridlet #0, length = 480000.0, finished so far = 480000.0 So, I am not sure what the problem is. anthony |
From: shyam k. <shy...@ya...> - 2008-08-24 06:14:26
|
while compiling example1 i get the following errors example1 uses unchecked or unsafe mode operations recompile with Xlint:unchecked for details while running i get the following error exception in thread main:no classdefinition found. kindly help me.. Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ |
From: shyam k. <shy...@ya...> - 2008-08-22 12:43:59
|
while compiling i receiver an error "import gridsim.* package doesnot exists.please help me.. Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ |
From: Azin M. <az...@ma...> - 2008-08-21 19:11:28
|
Hi all, I am trying to run a scheduler simulation with GridSim. There is a default function for calculation of the load of a resource in AllocPolicy class. However, this calculation does not take into account that the PEs have different ratings but i guess this ratings have effect on load calculation...am I right ? How can I do the calculation taking into account the rating of PEs ? Best Reards, Azin |
From: Leonardo de A. <leo...@gm...> - 2008-08-21 17:53:37
|
Hi, Is it possible to know when the input transfer of a Gridlet is finished? thanks. []'s -- Leonardo de Assis Computação - UFCG leo...@gm... |
From: Vinicius P. <vin...@gm...> - 2008-08-20 18:21:36
|
Hi Anthony, So, I made two simple tests submitting a gridlet. First I submited it to a GridResource. In the second I submitted it to a GridResource and after holding for 100 secs I moved to another GridResource with the same characteristics (one machine with one PE). The result is that the execution seems to start from the beggining, ignoring the amount executed so far. Bellow are the gridlet history for the two executions. So, do you know a wise way to resume the gridlet execution from the point where it stopped? Regards, Vinicius ========== OUTPUT ========== Gridlet ID STATUS Resource ID Cost 0 SUCCESS 5 0.0 Time below denotes the simulation time. Time (sec) Description Gridlet #0 ------------------------------------------ 0,00 Creates Gridlet ID #0 0,00 Assigns the Gridlet to Try (ID #13) 8,28 Allocates this Gridlet to Resource_0 (ID #5) with cost = $0.0/sec 8,28 Sets the submission time to 8,28 8,28 Sets Gridlet status from Created to InExec 8,28 Sets the execution start time to 8,28 248,28 Sets Gridlet status from InExec to Success 248,28 Sets the wall clock time to 240,00 and the actual CPU time to 240,00 248,28 Sets the length's finished so far to 480000.0 Gridlet #0, length = 480000.0, finished so far = 480000.0 =========================================== ========== OUTPUT ========== Gridlet ID STATUS Resource ID Cost 0 SUCCESS 9 0.0 Time below denotes the simulation time. Time (sec) Description Gridlet #0 ------------------------------------------ 0,00 Creates Gridlet ID #0 0,00 Assigns the Gridlet to Try (ID #13) 8,28 Allocates this Gridlet to Resource_0 (ID #5) with cost = $0.0/sec 8,28 Sets the submission time to 8,28 8,28 Sets Gridlet status from Created to InExec 8,28 Sets the execution start time to 8,28 109,32 Sets Gridlet status from InExec to Canceled 109,32 Sets the wall clock time to 101,04 and the actual CPU time to 101,04 109,32 Sets the length's finished so far to 202080.0 109,40 Moves Gridlet from Resource_0 (ID #5) to Resource_1 (ID #9) with cost = $0.0/sec 109,40 Sets the submission time to 109,40 109,40 Sets Gridlet status from Canceled to InExec 109,40 Sets the execution start time to 109,40 350,40 Sets Gridlet status from InExec to Success 350,40 Sets the wall clock time to 241,00 and the actual CPU time to 241,00 350,40 Sets the length's finished so far to 480000.0 Gridlet #0, length = 480000.0, finished so far = 480000.0 =========================================== 2008/8/18 Anthony Sulistio <an...@cs...> > > I think it resume its execution from the point where it stopped. > However, pls double check on this one for me. > > anthony > > > > On Mon, 18 Aug 2008, Vinicius Pinheiro wrote: > > Hi Anthony, >> >> Thank you! It really worked for me now. But I have one more question: when >> the gridlet is moved to another grid resource it resume its execution from >> begining or from the point where it stopped? I did some tests because I'm >> trying to simulate a checkpoint mechanism and I need to know this for >> sure. >> >> Thanks >> >> Vinicius >> >> >> 2008/8/18 Anthony Sulistio <an...@cs...> >> >> >>> Hello, >>> >>> The resource scheduler i.e. SpaceShared or TimeShared >>> will update the gridlet length or call >>> Gridlet#setGridletFinishedSoFar() method, >>> according the following conditions: >>> - the gridlet is finished executing >>> - the gridlet is cancelled >>> - the gridlet is migrated to another resource >>> >>> The reason is GridSim is a discrete-event simulation, hence, the >>> simulation >>> time is not continuous, e.g. time = 1, 2, 3, 4, ... >>> Instead, the time jumps based on the arrival of new events, >>> e.g. simulation time = 0, 40, 100, 700, ... >>> >>> >>> Thus, the best way to check the status of a gridlet is by using >>> the GridSim#gridletStatus() method. >>> This method returns the current Gridlet status or -1 if not found. >>> The various Gridlet status can be found in Gridlet class. >>> Note that you should only call this method at a certain interval, >>> not in a loop, since it will slow down the simulation. >>> In addition, the gridlet length will still be zero, until >>> one of the 3 conditions is satisfied. >>> >>> >>> >>> anthony >>> >>> >>> >>> On Wed, 13 Aug 2008, Vinicius Pinheiro wrote: >>> >>> Hi, >>> >>>> >>>> I'm having problems in getting the amount of computation executed so >>>> far. >>>> The method Gridlet.getGridletFinishedSoFar() always return 0. Just when >>>> the >>>> Gridlet has finished is that it returns the size of the gridlet, what is >>>> useless at this point. >>>> My code something like: >>>> >>>> while(gridletNotFinished()) { >>>> double amount = gridlet.getGridletFinishedSoFar(); >>>> System.out.println("FinishedSofar: " + amount); >>>> } >>>> >>>> Is there something there I have to do in order to get this method >>>> working >>>> properly? >>>> >>>> Thanks in advance, >>>> >>>> Vinicius Pinheiro >>>> >>>> >>>> >> |
From: Anthony S. <an...@cs...> - 2008-08-19 02:02:34
|
I think it resume its execution from the point where it stopped. However, pls double check on this one for me. anthony On Mon, 18 Aug 2008, Vinicius Pinheiro wrote: > Hi Anthony, > > Thank you! It really worked for me now. But I have one more question: when > the gridlet is moved to another grid resource it resume its execution from > begining or from the point where it stopped? I did some tests because I'm > trying to simulate a checkpoint mechanism and I need to know this for sure. > > Thanks > > Vinicius > > > 2008/8/18 Anthony Sulistio <an...@cs...> > >> >> Hello, >> >> The resource scheduler i.e. SpaceShared or TimeShared >> will update the gridlet length or call >> Gridlet#setGridletFinishedSoFar() method, >> according the following conditions: >> - the gridlet is finished executing >> - the gridlet is cancelled >> - the gridlet is migrated to another resource >> >> The reason is GridSim is a discrete-event simulation, hence, the simulation >> time is not continuous, e.g. time = 1, 2, 3, 4, ... >> Instead, the time jumps based on the arrival of new events, >> e.g. simulation time = 0, 40, 100, 700, ... >> >> >> Thus, the best way to check the status of a gridlet is by using >> the GridSim#gridletStatus() method. >> This method returns the current Gridlet status or -1 if not found. >> The various Gridlet status can be found in Gridlet class. >> Note that you should only call this method at a certain interval, >> not in a loop, since it will slow down the simulation. >> In addition, the gridlet length will still be zero, until >> one of the 3 conditions is satisfied. >> >> >> >> anthony >> >> >> >> On Wed, 13 Aug 2008, Vinicius Pinheiro wrote: >> >> Hi, >>> >>> I'm having problems in getting the amount of computation executed so far. >>> The method Gridlet.getGridletFinishedSoFar() always return 0. Just when >>> the >>> Gridlet has finished is that it returns the size of the gridlet, what is >>> useless at this point. >>> My code something like: >>> >>> while(gridletNotFinished()) { >>> double amount = gridlet.getGridletFinishedSoFar(); >>> System.out.println("FinishedSofar: " + amount); >>> } >>> >>> Is there something there I have to do in order to get this method working >>> properly? >>> >>> Thanks in advance, >>> >>> Vinicius Pinheiro >>> >>> > |
From: Anthony S. <an...@cs...> - 2008-08-19 01:59:04
|
GridSim.clock() is in second (default unit). It is not real time, instead it is a DISCRETE time. The GridSim time jumps based on the arrival of new events, e.g. simulation time = 0, 40, 100, 700, ... As an anology, the time is similar to a train/bus timetable on a particular station/stop. For example, you run a GridSim experiment. The clock time in your PC says Tuesday, 19 Aug 2008, 11:00 When simulation starts, GridSim.clock() = 0. When GridSim.clock() shows 1000, it means that at time 1000, a new event is happening in the experiment. It has nothing to do with the actual CPU time. Your experiment might finish 2 minutes later at Tuesday, 19 Aug 2008, 11:02. anthony On Mon, 18 Aug 2008, Andrey NECHAEVSKIY wrote: > Hello all, > I have a question about simulation time. > GridSim.clock() - in milliseconds? and how this time of simulation > correlate with real time, for example GridSim.clock shows 1000 - what > does it mean? What it is in real? > Thanks in advance. > > best regards, Andrey > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > |
From: Andrey N. <ne...@ma...> - 2008-08-18 14:37:42
|
Hello all, I have a question about simulation time. GridSim.clock() - in milliseconds? and how this time of simulation correlate with real time, for example GridSim.clock shows 1000 - what does it mean? What it is in real? Thanks in advance. best regards, Andrey |
From: Anthony S. <an...@cs...> - 2008-08-18 12:22:53
|
The communication between GridSim entities is done through sending a message or event. To know how to response to an incoming event or what each event wants, each event has a specific tag name. These tag names are defined in GridSimTags.java (majority of them). These are the basic principals of GridSim or SimJava. Example8 shows how you can create a new resource scheduler without worrying the low-level details, i.e. receiving/sending events. Thus, a skeleton is provided so that you only concentrate on implementing these abstract methods to make a new scheduler. In Example8, the Example8 class sends jobs to a resource. The resource scheduler is happened to be a NewPolicy object. Thus, the incoming events, or more specifically, jobs/gridlets are arriving in the gridletSubmit() function. Follow the sequence of this example: http://www.gridbus.org/gridsim/example/Example08/output.txt anthony On Sat, 16 Aug 2008, Anish Khanna wrote: > Hi all, > > I came across a class file Example 8 from > http://www.gridbus.org/gridsim/example/Example08/Example8.java, > > While tracing this program using NetBeans IDE, I found that the line > success = gridletSubmit(gridlet, resourceID[id], 0.0, true); > > Takes the program execution to another file NewAllocPolicy.java which is > another class file in the project.. and calls the gridletSubmit ( ) function > in there instead of the function in *EXAMPLE8 CLASS* !!! > > I am not able to understand if this happens due to interleaving of multiple > threads.. > > I am not sure of how articulate I have been in this mail.. But I am sure > you'd have faced a similar situation had you worked wit Example8.. > I am a tyro to GRIDSIM and NetBeans so excuse me if my doubt is very silly > :) > > Any kinda help regarding this will be appreciated.. > Thanks, > Anish > |
From: Anthony S. <an...@cs...> - 2008-08-18 12:01:41
|
Hello, The resource scheduler i.e. SpaceShared or TimeShared will update the gridlet length or call Gridlet#setGridletFinishedSoFar() method, according the following conditions: - the gridlet is finished executing - the gridlet is cancelled - the gridlet is migrated to another resource The reason is GridSim is a discrete-event simulation, hence, the simulation time is not continuous, e.g. time = 1, 2, 3, 4, ... Instead, the time jumps based on the arrival of new events, e.g. simulation time = 0, 40, 100, 700, ... Thus, the best way to check the status of a gridlet is by using the GridSim#gridletStatus() method. This method returns the current Gridlet status or -1 if not found. The various Gridlet status can be found in Gridlet class. Note that you should only call this method at a certain interval, not in a loop, since it will slow down the simulation. In addition, the gridlet length will still be zero, until one of the 3 conditions is satisfied. anthony On Wed, 13 Aug 2008, Vinicius Pinheiro wrote: > Hi, > > I'm having problems in getting the amount of computation executed so far. > The method Gridlet.getGridletFinishedSoFar() always return 0. Just when the > Gridlet has finished is that it returns the size of the gridlet, what is > useless at this point. > My code something like: > > while(gridletNotFinished()) { > double amount = gridlet.getGridletFinishedSoFar(); > System.out.println("FinishedSofar: " + amount); > } > > Is there something there I have to do in order to get this method working > properly? > > Thanks in advance, > > Vinicius Pinheiro > |
From: Anthony S. <an...@cs...> - 2008-08-18 10:59:41
|
> After looking around some (e.g, > https://smarty.isi.edu/svn/repo1/CloudCleanupSimulator/trunk/gridsimtoolkit-4.0/source/gridsim/TimeShared.java), > it looks like multi-PE execution is not supported in GridSim, so I'm > wondering if there are any workarounds, implementation suggestions, or > recent patches that implement this functionality? you can have a look at the GridSim branches for a parallel version of SpaceShared. http://gridsim.svn.sourceforge.net/viewvc/gridsim/branches/ Alternatively, you can modify the existing SpaceShared.java as the starting point and make it to support multiple PEs. anthony |
From: Anish K. <ani...@gm...> - 2008-08-16 15:48:46
|
Hi all, I came across a class file Example 8 from http://www.gridbus.org/gridsim/example/Example08/Example8.java, While tracing this program using NetBeans IDE, I found that the line success = gridletSubmit(gridlet, resourceID[id], 0.0, true); Takes the program execution to another file NewAllocPolicy.java which is another class file in the project.. and calls the gridletSubmit ( ) function in there instead of the function in *EXAMPLE8 CLASS* !!! I am not able to understand if this happens due to interleaving of multiple threads.. I am not sure of how articulate I have been in this mail.. But I am sure you'd have faced a similar situation had you worked wit Example8.. I am a tyro to GRIDSIM and NetBeans so excuse me if my doubt is very silly :) Any kinda help regarding this will be appreciated.. Thanks, Anish |
From: Vinicius P. <vin...@gm...> - 2008-08-13 22:22:31
|
Hi, I'm having problems in getting the amount of computation executed so far. The method Gridlet.getGridletFinishedSoFar() always return 0. Just when the Gridlet has finished is that it returns the size of the gridlet, what is useless at this point. My code something like: while(gridletNotFinished()) { double amount = gridlet.getGridletFinishedSoFar(); System.out.println("FinishedSofar: " + amount); } Is there something there I have to do in order to get this method working properly? Thanks in advance, Vinicius Pinheiro |
From: Enis A. <af...@ua...> - 2008-08-13 22:04:43
|
Hello, I'm running into some trouble with executing gridlets that have numPEs set to a value greater than 1. When creating a gridlet, I set the number of PEs for it to use, but once executed the numPEs is reset to 1 and the following message appears in the stdout: Gridlet #0 from SimEx user requires 3 PEs. --> Process this Gridlet to 1 PE only. After looking around some (e.g, https://smarty.isi.edu/svn/repo1/CloudCleanupSimulator/trunk/gridsimtoolkit-4.0/source/gridsim/TimeShared.java), it looks like multi-PE execution is not supported in GridSim, so I'm wondering if there are any workarounds, implementation suggestions, or recent patches that implement this functionality? Thanks, Enis |
From: Jeyarani R. <sym...@gm...> - 2008-08-07 13:56:02
|
email: sym...@gm... |
From: Marcos D. de A. <ma...@cs...> - 2008-07-17 06:52:06
|
Hi Mehtab, I am sorry for the delay. I guess you want to specify a maximum period of time over which participants will send asks and bids. After that time, the auctioneer will clear the auction. To do that, you don't set this time at the auctioneer, but at the auction. You set this time in the constructor. For example: /** * Default constructor * @param auctionName A name for the auction * @param auctionProtocol the auction protocol * @param durationOfAuction duration of the auction in simulation time * @throws Exception */ public DoubleAuction(String auctionName, int auctionProtocol, double durationOfAuction)throws Exception { super(auctionName, auctionProtocol); this.durationOfAuction = durationOfAuction; } One event will be scheduled to be received by the Auction entity after the duration provided. When that event is received, the DoubleAuction, for example, calls the closeAuction() method. You can extend DoubleAuction and implement the closeAuction() method that suits you. I am attaching an example of double auction that only receives asks and bids, puts them in lists and implements the closeAuction() method. It does nothing at the moment, but you can see where your code should be inserted. Please let me know if you face any other problem. Regards, Marcos  On 15/07/2008, at 5:45 PM, Mehtab Arif wrote: > Hi, Marcos > > i have a problem ,if you help me. " i sends bids and asks to > auctioneer,then i recieved bids and asks from onRecieve funtions > and satisfy some conditions. and get the results, but i want to > set time on auctioneer like 100 sec to recieve ask and bid and > send final price. and start the auction again". > > > > thanx > Mehtab > > Get news, entertainment and everything you care about at Live.com. > Check it out! Marcos Dias de Assuncao Grid Computing and Distributed Systems (GRIDS) Laboratory Department of Computer Science and Software Engineering The University of Melbourne, Australia Email: ma...@cs... ------------- "I sincerely believe the banking institutions having the issuing power of money are more dangerous to liberty than standing armies" Thomas Jefferson |
From: bartosz <tna...@tr...> - 2008-07-15 16:19:18
|
Obama loses latino vote http://naltros7.com/main.html -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ |
From: Srikumar V. <sri...@gm...> - 2008-07-12 01:31:15
|
---------- Forwarded message ---------- From: Mehtab Arif <mus...@ho...> Date: Fri, Jul 11, 2008 at 2:17 PM Subject: RE: time interval in double auction To: Srikumar Venugopal <sri...@gm...> Hi Srikumar Thanx for response I,m using GridSim to implement discrete time double auction let assume i have 3 users sending bids to auctioneer and at the same time let we have 3 resource provider sends asks to auctioneer. auctioneer have 60 sec to gatehr the bids and ask and select the the winner bid and ask from all asks and bid . my question is in gridSim auctioneer class how i define a time interval to gather the bids and asks Mehtab Arif > Date: Fri, 11 Jul 2008 11:57:09 +1000 > From: sri...@gm... > To: mus...@ho... > Subject: Re: time interval in double auction > > Hi Arif, > Unfortunately, I have not been able to understand which system you > are working on. Can you give me more details ? > > Srikumar. > > On Fri, Jul 11, 2008 at 1:01 AM, Mehtab Arif <mus...@ho...> wrote: > > Hi Srikumar > > > > > > i,m going to implement discrete time double auction in which auctioneer > > gather bids and ask for some time interval for example 60 sec and then > > announce the winner, and then start auction again, I want to know whats > > functionality i'll use to gather the bids and ask for some time interval ?. > > I,m waiting for your expertly comments > > > > > > Thanx > > > > > > Mehtab Arif > > > > ________________________________ > > Invite your mail contacts to join your friends list with Windows Live > > Spaces. It's easy! Try it! ________________________________ Connect to the next generation of MSN Messenger Get it now! |