Squeak on Mac emulation performance oddities

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Thu Apr 12 11:34:01 UTC 2001


On Wed, 11 Apr 2001, Raab, Andreas wrote:

> Nah. I'd say for one thing it's poor x86 code to begin with. There are
> a few hacks that make a huge difference - for example, my (Win98)
> 700MHz P3 gives me:
> 
> '56,239,015 bytecodes/sec; 1,677,593 sends/sec'
> 
> Note that the send speed scales with the machine speed but that the byte
> codes are actually faster on my (slower) machine. Somebody ought to look at
> that gnuify script and find out what's broken on Linux. There's a factor of
> two lurking in byte code speed right around the next corner.

It certainly is not the Linux VM. Maybe in 2.8 the gnuify was indeed
broken? I doubt it is a P3/Athlon issue. Anyway, on my P3/600 Linux box
with a 3.0pre2 VM I get

  '48448145 bytecodes/sec; 1749536 sends/sec'

which is *exactly* the same bytecode speed. Why the sends are even better
I have no idea - maybe the function calling overhead is less on Linux?

-- Bert






More information about the Squeak-dev mailing list