VM 3.6g

Alan Grimes alangrimes at starpower.net
Sat Feb 14 00:30:05 UTC 2004


With all the chatter on the VM work, I was inspired to rebuild my 
sources... (I'm running a bleeding edge leenooks kernel ATM)

After reversing some ill-advised changes in the VM source, I ran into an 
issue with the AIO plugin...

Apparently it needs some extra include paths... I managed to make a 
Makefile.inc that fixes it.

I also played around with options for the Mpeg plugin.

1. -enable-mpg-pthreads  causes it to "green-screen".. =(
2. -enable-mpg-mmx   works fine and should be made the default

Further along in the optomization department, the CPU detection 
algorithm of Autoconf leaves much to be desired...

I found the configure in the package called MPlayer has a superlative 
CPU detector and optomization algorithm.

The results of using the optimization flags from MPlayer as make XFLAGS 
(in conjunction with the optimizations above,) seem to be most 
impressive, If I'm not missing something, I've achieved a 168k squeak!

-rwxr-xr-x    1 atg      root       168140 Feb 13 19:05 squeak

For comparison, a much older build (also stripped -- the time indicates 
when I stripped it) is:
-rwxr-xr-x    1 root     root       865132 Feb 13 19:09 squeak

Similarly, the framebuffer driver seems to have gone from 35k to 31k.

Unfortunately, there don't seem to be any speed advantages to this... =\

'123910939 bytecodes/sec; 4352264 sends/sec' < 865k VM.
'123432979 bytecodes/sec; 4367506 sends/sec' < 168k VM.

I would install this new squeak but there seem to be some other problems 
with the build (possibly due to my misguided attempts at hacking it...) :

bash-2.05$ ../bld/squeak
ioLoadModule(/home/atg/source/squeak/bld/SoundGenerationPlugin/.libs/SoundGenerationPlugin):
  
/home/atg/source/squeak/bld/SoundGenerationPlugin/.libs/SoundGenerationPlugin: 
undefined symbol: successFlag
ioFindExternalFunctionIn(shutdownModule, 134935128):
  ../bld/squeak: undefined symbol: shutdownModule
ioFindExternalFunctionIn(shutdownModule, 134931888):
  ../bld/squeak: undefined symbol: shutdownModule
ioFindExternalFunctionIn(shutdownModule, 134847616):
  ../bld/squeak: undefined symbol: shutdownModule
ioFindExternalFunctionIn(shutdownModule, 134846640):
  ../bld/squeak: undefined symbol: shutdownModule
ioFindExternalFunctionIn(shutdownModule, 134845720):
  ../bld/squeak: undefined symbol: shutdownModule
ioFindExternalFunctionIn(shutdownModule, 134844224):
  ../bld/squeak: undefined symbol: shutdownModule
ioFindExternalFunctionIn(shutdownModule, 134813104):
  ../bld/squeak: undefined symbol: shutdownModule
[1]+  Done                    xedit Makefile.inc  (wd: 
~/source/squeak/platforms/unix/plugins/AioPlugin)
(wd now: ~/source/squeak/experamental)
bash-2.05$ squeak


ps: Why are the plugins you build hidden in .libs directories?
I wouldn't have known about them but for the error message above! =\




More information about the Squeak-dev mailing list