swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multithreading question


From: Paul Johnson
Subject: Re: Multithreading question
Date: Wed, 29 Jan 2003 20:53:10 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918

Darold Higa wrote:
Wow, thanks for all of the optimization tips.  I will definately give them a try.  Keep 
in mind that these "benchmarks" I'm talking about were for a very simple 
simulation that we used for that article some time ago.  It sounds like the data I was 
writing to the console for my co-author was the cuplrit.  There wasn't much of it, but it 
was probably enough to cause the performance hit he asked me about.  For my current 
simulation run I know a lot of my slowdown comes from I/O so I cannot avoid that.  The 
data collection for movies is pretty important for the kinds of simulations I am running. 
 Even when I turn hard disk access off and turn off 90% of the rasters, and even only 
display every 10th frame, it still takes a long time once my agent count gets high.


If you are just writing rasters (dots) and not any pixmaps on them, you can speed up processing by many magnitudes by using the Batch Raster class instead. If you can't get the one in ftp to work, email me, I'll dig out a working example fer ya.

pj

--------------
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700


                 ==================================
  Swarm-Support is for discussion of the technical details of the day
  to day usage of Swarm.  For list administration needs (esp.
  [un]subscribing), please send a message to <address@hidden>
  with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]