From: Jonathan M. <jon...@bs...> - 2009-03-12 12:39:32
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, then using FlowLinks instead of SimpleLinks I get this error: Exception in thread "Thread-15" java.lang.ClassCastException: gridsim.net.NetPacket cannot be cast to gridsim.net.flow.FlowPacket at gridsim.net.flow.FlowLink.registerFlow(FlowLink.java:419) at gridsim.net.flow.FlowLink.enque(FlowLink.java:316) at gridsim.net.flow.FlowLink.processEvent(FlowLink.java:230) at gridsim.net.flow.FlowLink.body(FlowLink.java:202) at eduni.simjava.Sim_entity.run(Sim_entity.java:603) Any ideas? Thanks Srikumar Venugopal escribió: > Hi Jonathan, > You are probably using the packet network in which each file is > divided into packets of, AFAIK, 64KB each. Each of the packets is an > entity so the number of objects exponentially increases. You could use > the latest GridSim (4.2) which is supposed to have flow networking in > which each data transfer is represented as a flow or you can make the > packet size equal to the file size. > Another choice is to hack in a flow transfer by making the > recipient get only 2 packets ,one at the start of a file and one at > the end sent after a delay equal to size of file divide by bandwidth. > > HTH > > Srikumar. > > On Thu, Mar 5, 2009 at 4:47 AM, Jonathan Marti <jon...@bs...> wrote: > Hi good afternoon, > > I'm working on the datagrid package of GridSim and I wanted to execute a very > simple simulation with a simple network topology (up to 6 routers) that form a > complete graph of links among them. > > But I have a problem with total time execution of the simulation...here you have > some results: > > #routers total exec. time (milliseconds) > 2 (1 link) 340 > 3 (3 links) 380 > 4 (6 links) 3000 (3 seconds) > 5 (10 links) 600000 (10 minutes) > > Extrapolating, with 6 routers would be 6 hours, ... with 8 routers (28 links) 52 > years! :-S > > There is only 1 user, that sends 1 gridlet with a file of 1MB (very simple) > > And I'm using a laptop with an Intel Core 2 Duo 2,4GHz processor, and 4GB of RAM. > > Could anybody tell if this is normal, and why is it happening?...or better, does > anbydoy know a solution for this, or has any idea? > > Thank you very much > >> - ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA - -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise - -Strategies to boost innovation and cut costs with open source participation - -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ 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 iEYEARECAAYFAkm5AogACgkQ4cH1a6R2mCuzTwCfbKuRVto7ZUPtnSxozrYiFRJX WjQAoO8T80Oz3D0Ff0KUF62eivbLPNkB =bra1 -----END PGP SIGNATURE----- |