swarm-support
[Top][All Lists]
Advanced

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

optimization question


From: Rick Riolo
Subject: optimization question
Date: Tue, 24 Oct 2000 17:49:28 -0400 (EDT)

Here is how i make my "debug" swarm (2.1.1):

export SWARMSRCDIR="/appl/swarm2.1.1-um/swarm-2.1.1"
JAVAC=jikes CC="/appl/gcc2.9.5p/bin/gcc" $SWARMSRCDIR/configure \
   --srcdir=$SWARMSRCDIR  \
   --prefix=/appl/swarm2.1.1/debug \
...

here is how i make an "optimized" version:

export SWARMSRCDIR="/appl/swarm2.1.1-um/swarm-2.1.1"
JAVAC=jikes CC="/appl/gcc2.9.5p/bin/gcc" CFLAGS="-O2"
$SWARMSRCDIR/configure \
   --srcdir=$SWARMSRCDIR  \
   --prefix=/appl/swarm2.1.1/opt \
...

Doing these two ways with earlier swarms (1.4.1 etc)
used to make the opt version about 30% faster than the
debug version.   They both seem to be about the
same speed with 2.1.1, and while i haven't timed it,
at least one user told me he thought his 2.1.1 
"opt" swarm is much slower than his 1.4.1 "opt" swarm.

So...should I be doing optimization differently?
BTW, the swarm's so built have to run a variety
of pII and PIII machines (under rh) so I can't
optimize too specifically for chips.

thanks.
 - r

Rick Riolo                           address@hidden
Center for Study of Complex Systems (CSCS)
4477 Randall Lab                
University of Michigan         Ann Arbor MI 48109-1120
Phone: 734 763 3323                  Fax: 734 763 9267
http://www.pscs.umich.edu/PEOPLE/rlr-home.html


                  ==================================
   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]