From: K V. <msk...@gm...> - 2009-01-18 13:14:22
|
in gridsim how can i draw a graph of my results?can it be done by visual modeler?is there any option in it?or should i have to import it from any others like MS Excel? |
From: guanzhou lu <ug...@cs...> - 2009-03-17 12:16:45
|
Dear All: I am currently using GridSim for a project, but I have encountered a problem: could GridSim simulation run several times in a single class or function, because I want to take the average performance of the simulation? As I wanna my program be like: class gridsim(){ main(){ 1st Simulation 2nd Simulation ... } Is there any thread or something that I will need to destroy after calling the simulation? As the 2nd simulation does not work. Does anyone has met the same problem or knows how to do? I would be appreciate if you could help me on this. Best, Guanzhou |
From: Agustín C. H. <ag...@ds...> - 2009-03-17 14:36:49
Attachments:
agustin.vcf
|
Hi, What I do is the following: 1- Once I've implemented my stuff, I create a .jar file. The tool u use to program (e.g. eclipse, jbuilder,...) will have details on this point. The .jar file can be executed by java -jar file.jar [parameters] 2- Then, create a linux script or a windows batch file containing your experiments. For instance, it could look like this: java -jar mycode.jar para1 para2 para3 java -jar mycode.jar para1 para2 para3 java -jar mycode.jar para1 para2 para3 java -jar mycode.jar para1 para2 para3 Pay attention that each experiment should write results in files with different names, otherwise u would overwrite the results of the previous experiments. 3- Once ur experiments are over, just implement a program that calculates averages, ... whatever statistical measures u need. Then, u can plot them using gnuplot. HTH Cheers, Agustin guanzhou lu wrote: > Dear All: > > I am currently using GridSim for a project, but I have encountered a > problem: > could GridSim simulation run several times in a single class or > function, because I want to take the average performance of the simulation? > > As I wanna my program be like: > class gridsim(){ > main(){ > 1st Simulation > 2nd Simulation > ... > } > > Is there any thread or something that I will need to destroy after > calling the simulation? As the 2nd simulation does not work. > > Does anyone has met the same problem or knows how to do? I would be > appreciate if you could help me on this. > > Best, > Guanzhou > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > -- =============================================== Agustin Caminero Research Assistant Computing Systems Department The University of Castilla La Mancha. Albacete. Spain. Phone: +34 967 599 200 Ext. 2693. Fax: +34 967 599 343 http://www.i3a.uclm.es/ =============================================== |
From: Jonathan M. <jon...@bs...> - 2009-03-17 15:34:12
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It fails because some singletons are used and AFAIK there is no clean way to reset the variables. I also use an external script to execute the whole thing several times (as some people has advised you). But for instance Alea (a package based on GridSim for testing scheduling algorithms) uses a modified simjava package that implements a method that resets these inner variables. Furthermore, if you are using another GIS (such as DataGIS), you will also need to reset it, and the method setGIS is not enough, you need to "unsetGIS" first. But this method is not implemented, so I coded it in GridSim class: public static boolean unsetGIS() { gis_ = null; return true; } That's all guanzhou lu escribió: > Dear All: > > I am currently using GridSim for a project, but I have encountered a > problem: > could GridSim simulation run several times in a single class or > function, because I want to take the average performance of the simulation? > > As I wanna my program be like: > class gridsim(){ > main(){ > 1st Simulation > 2nd Simulation > ... > } > > Is there any thread or something that I will need to destroy after > calling the simulation? As the 2nd simulation does not work. > > Does anyone has met the same problem or knows how to do? I would be > appreciate if you could help me on this. > > Best, > Guanzhou > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users - -- - ----------------------------------------------------------------------- Jonathan Martí Fraiz Storage Systems Research Group - Computer Sciences Department Barcelona Supercomputing Center - Centro Nacional de Supercomputación www : http://www.bsc.es/StorageSystems email : jonathan(dot)marti(at)bsc(dot)es phone : (0034) 934054281 - ----------------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkm/wwQACgkQ4cH1a6R2mCtGpgCgulS95oyahX4AEeU2UIagwZay hjsAniIj1mmaRmTz8O46E66DPVutg2DN =7zLo -----END PGP SIGNATURE----- |
From: ye h. <hua...@gm...> - 2009-01-18 22:36:10
|
Hi, For me, I will write the results into a plain file and generate the expected graph using third party toolkit, e.g. GNUPlot, since it seems to be out of the range of GridSim. Any other suggestions? Regards ye On 18 Jan, 2009, at 2:14 PM, K Visalakshi wrote: > in gridsim how can i draw a graph of my results?can it be done by > visual modeler?is there any option in it?or should i have to import > it from any others like MS Excel? > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword_______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users |