From: Marcos D. de A. <ma...@cs...> - 2008-07-11 06:58:07
|
Dear Shuo Yang, I am wondering if you could explain in more detail what the 4,000 entities actually do. Are you using the Workload class for job submission? If yes, how many instances of it do you have? How many jobs in average are the user entities/workloads submitting? Have you enabled the trace mode (the simulation is generating log files)? How many resources do you have? What resource allocation policies are they using? Regards, Marcos On 10/07/2008, at 7:12 PM, Shuo Yang wrote: > Dear GridSim team, > > I'm Shuo Yang, a PhD student at University of Manchester, UK. I'm > doing > my research project with simulations based on GridSim. However I > encountered scalability issues in the simulation where there are > around > 4000 threads (entities) with Java exception > > 'java.lang.OutOfMemoryError: Java heap space' > > The simulation ran for ~48 hours with increasing memory usage and > ended > up with the OutOfMemoryError exceptions. Please could you help more > with > tuning? Here's more info: > > $ uname -a > Linux nimue.rcs.manchester.ac.uk 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 > 14:54:20 EDT 2006 i686 i686 i386 GNU/Linux > > $ java -version > java version "1.6.0_06" > Java(TM) SE Runtime Environment (build 1.6.0_06-b02) > Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) > > > $ ps aux | grep java > > yangs 12579 109 43.7 2915672 1473316 ? Sl 03:10 1011:15 java > -Xss128k -Xms1024m -Xmx1024m -cp gridsim-lib/gridsim.jar:. > topology/HierarchySimulation true > > > $ free -mt > total used free shared buffers > cached > Mem: 3290 2055 1235 0 83 > 363 > -/+ buffers/cache: 1608 1682 > Swap: 8001 0 8001 > Total: 11291 2055 9236 > > > $ top > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP CODE > DATA COMMAND > 12579 yangs 17 0 2847m 1.4g 5624 S 100 43.7 1057:02 1.4g 40 > 2.8g java > > > > > Many thanks, > > Shuo 'Alex' Yang. > School of Computer Science > University of Manchester > > > ---------------------------------------------------------------------- > --- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users 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 |