Subject: RE : RE : RE : running cormas on a remote computer
From: Christophe Le Page (christophe.l@chula.ac.th)
Date: Wed Sep 27 2006 - 07:36:24 CEST
Hi,
As the reference manual for “Advanced Tools” exists, I’ll just make use of
the rude acronym RTFM…
So please have a look, in the “doc” directory of your VW installation
directory, at the file “ToolGuide.pdf”, chapter “System Profilers”, section
“Analysing the profiler report”.
HTH (nicer acronym ;->) !
Best, Clp
-----Message d'origine-----
De : Mehdi Saqalli [mailto:msqalli@yahoo.com]
Envoyé : mardi 26 septembre 2006 22:08
À : le_page@cirad.fr
Cc : cormas@cirad.fr
Objet : RE : RE : running cormas on a remote computer
hello everybody
I tried the method christophe le page proposed to investigate the computer
time. however, i really don't understand how to use this interface. i mean
the result looks like that (see attached file)
but what does that mean? and how to use it?
by the way the address for cincom visulworks is:
<http://www.cincomsmalltalk.com/scripts/DownloadFiles.ssp?username=saqalli&k
ey=oVWb7Mbd9my3IAVD37%201PQ>
http://www.cincomsmalltalk.com/scripts/DownloadFiles.ssp?username=saqalli&ke
y=oVWb7Mbd9my3IAVD37%201PQ
christophe LE PAGE <le_page@cirad.fr> a écrit :
Hmmmmm...
I’m quite sure that displaying the spatial grid window is VERY
time-consuming, so for long and big simulations, it has to be closed.
As for the "simulation panel control" window, even if the current time step
is redisplayed at each time step, I would be very surprised that this is
causing the major pb you are mentionning.
But bur all the other Cormas GUI windows, fixed, I really don’t believe they
can consume time during a simulation run.
What about probes, especially if you save them in a local file?
By the way, here is one way to investigate more deeply the distribution of
the computing time used during one time step of your cormas model:
1. Load the parcel "AT Profiling" from VisualWorks main menu
2. Select “Tools -> Advanced -> Profiles -> Time” from VisualWorks
main menu: it opens a code editor window called "profile execution time".
Read the explanations and do the 3 tests to understand how this tool
operates
3. Initialize your cormas model
4. In the "profile execution time" window, enter, select then evaluate
the code below:
|c|
c := CormasNS.Kernel.Cormas allInstances first.
self profile: [c runStepByStep]
Bonne traque!
Amicalement,
Clp
> -----Message d'origine-----
> De : owner-cormas@cirad.cirad.fr [mailto:owner-cormas@cirad.cirad.fr] De
> la part de Paul Caplat
> Envoyé : jeudi 21 septembre 2006 20:56
> À : christophe.le_page@cirad.fr
> Cc : Liste CORMAS
> Objet : Re: RE : running cormas on a remote computer
>
> Dear Christophe,
> thank you for your help.
> as far as I can see, the change makes a difference but not
> drastic...maybe closing all the windows would have an effect, but
> then, how to control the running progress ??
>
> cheers
> Paul
>
> 2006/9/21, Christophe Le Page <christophe.l@chula.ac.th>:
> >
> > Dear Paul,
> >
> > I would be curious to know if you get drastic changes when including a
> first
> > instruction in your scheduling method
> >
> > step: t
> > t = 1 ifTrue: [self simManager cormas simulationWin close].
> > ...
> >
> > Please let us know if your guess was correct
> >
> > Bye,
> > clp
> >
> > > -----Message d'origine-----
> > > De: owner-cormas@cirad.cirad.fr [mailto:owner-cormas@cirad.cirad.fr]
> De
> > > la part de Paul Caplat
> > > Envoyé: lundi 18 septembre 2006 21:16
> > > À: Liste CORMAS
> > > Objet: running cormas on a remote computer
> > >
> > > Hi all,
> > > I have got the opportunity to run Cormas, remotely, on a BIG and
> > > POWERFUL computer. Unfortunately, the simulations appear to be quite
> > > slow. The reason I guess is that displaying the simulation windows by
> > > the network consumes more memory than the model itself.
> > >
> > > Do you think there would be a way of displaying the simulation windows
> > > only when asked ? I guess it'd need some changes in the kernel...???
> > > Paul
> >
> >
> >
_____
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
opinions et vos expériences. Cliquez ici
<http://fr.rd.yahoo.com/evt=42054/*http:/fr.answers.yahoo.com> .