Squeak on Mac emulation performance oddities

Jay Carlson nop at nop.com
Tue Apr 17 12:29:54 UTC 2001


Bert Freudenberg [mailto:bert at isg.cs.uni-magdeburg.de] writes:

> On 15 Apr 2001, Alexander Lazarevic wrote:
>
> > >>>>> "Andreas" == Andreas Raab <Raab> writes:
> >
> >     Andreas> (slower) machine. Somebody ought to look at that gnuify
> >     Andreas> script and find out what's broken on Linux.
> >
> > I wasn't aware, that when you build the vm from the sources for unix
> > (3.0pre2) gnuify won't be used at all by default. After changing
> > interp to gnu-interp in the Makefile I got a vm with a reasonable
> > performance (just about a factor of 2 in b/s).
>
> There must be something wrong on your system! The Makefile is written by
> the configure script. The configure script looks if the C compiler used is
> in fact gcc. If it is, it throws in the gnuification step. Works great on
> my Linux box.

I've been using 3.0pre1.  Reading the configure script reveals that gnuify
won't be run unless configure is run with the --with-gnu-awk option.
bc/sec goes from 52M to 97M, send/sec from 2.45M to 3.03M once this is
given.

3.0pre2 fixes this, as it goes looking for a program named "gawk" on its
own.  Mystery solved, at least for me.

Jay





More information about the Squeak-dev mailing list