[Pharo-project] Squeak VM+FT2Plugin, all Pharo 1.0 rc3 tests green

laurent laffont laurent.laffont at gmail.com
Sat Mar 27 17:16:40 CET 2010


2010/3/27 Mariano Martinez Peck <marianopeck at gmail.com>

> Hi Laurent. Excellent news!   It's cool to see people playing with the VM.
> Depending in gurus of heroes is never good. Because they left and you are
> dead.
>
> A little question...do you think we should replace the official Linux VM
> from the Pharo website ?
>

I think so :) (if other users report no problem - Thanks Alain): the binary
form is cleaner than exupery-vm, we have the source, fonts are nice, all
tests green, build is reproductible.


>
> I would love that the official Linux VM has:
>
> - that thing about the gnufication
> I did that when compiling MacOS VM.
> Read this link   (step 4 for example)
>
> http://www.squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Documentation/readme.txt?rev=1984&view=auto
>
>  does it make sense also in Linux VM ?  which are the difference in the
> benchmarks compared to do it without this step ?
>

Isn't it a MacOS issue only ?


>
> - all tests green
> - FT2Plugin and the Bryce magic for nicer fonts
>

With Bryce's Bitlbt patch from Exupery VM some test fails.... and while some
rendering are little better with Exupery, some aren't nice  (hints for
example).


> - Include this VM in the Pharo 1.0 one click.
>
> Did you check the benchmarks with the VM from Pharo website and yours ? can
> you evaluate the results of "1 tinyBenchmarks" as it is explained if point 5
> of Adrian post:
>
> http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles


Benchmarks

Distro: up to date ArchLinux 32bits

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping        : 6
cpu MHz         : 1994.987
cache size      : 4096 KB

(White MacBook 2008)

benchmark:

5 timesRepeat: [
  Transcript show: 1 tinyBenchmarks; cr]

my Squeak VM 3.11.3 -r 2135 + FT2Plugin. GCC version 4.4.3
==========================================
334421946 bytecodes/sec; 8026581 sends/sec
334640522 bytecodes/sec; 7449884 sends/sec
334421946 bytecodes/sec; 7449884 sends/sec
334421946 bytecodes/sec; 7675486 sends/sec
327156549 bytecodes/sec; 7598782 sends/sec


vanilla Squeak VM 3.11.3 -r 2135
==========================================
198449612 bytecodes/sec; 7593723 sends/sec
197836166 bytecodes/sec; 7548493 sends/sec
203174603 bytecodes/sec; 7558497 sends/sec
198757763 bytecodes/sec; 7528563 sends/sec
200312989 bytecodes/sec; 7232576 sends/sec

pharo-vm-0.15.2f-linux (exupery)
==========================================
369942196 bytecodes/sec; 9303240 sends/sec
375091575 bytecodes/sec; 9333693 sends/sec
375641966 bytecodes/sec; 9280531 sends/sec
376193975 bytecodes/sec; 9280531 sends/sec
376470588 bytecodes/sec; 9280531 sends/sec


Exupery is better on benchmarks, but what is the activity on this VM?

Laurent Laffont

It would be cool also to update the readme.txt of the Pharo Linux Vm if
> necessary
>
> And finally would be great to add a link to download the sources also.
>
> Thanks a lot.
>
> Mariano
>
>
> 2010/3/26 laurent laffont <laurent.laffont at gmail.com>
>
>> Hi,
>>
>> Finally I've managed to build squeak vm rev. 2135 (current stable) with
>> FT2Plugin which makes all tests green on Pharo 1.0 rc3 image........ on my
>> machine :)
>>
>> If some Linux users can test it on their distro, thanks.
>>
>> The clean binary archive:
>> http://lolgzs.free.fr/pharo/squeak-vm/Squeak-3.11.3.2135-pharo-bin.tar.gz
>>
>> The generated source archive:
>> http://lolgzs.free.fr/pharo/squeak-vm/Squeak-3.11.3.2135-pharo-src.tar.gz
>>
>> PharoCore-1.0 + configured VMMaker 1.2 image  (for new vm builders, to
>> have a known working base):
>> http://lolgzs.free.fr/pharo/squeak-vm/PharoCore-1.0-VMMaker-1.2.tar.gz
>>
>>
>> To build from source archive:
>> =======================
>> wget
>> http://lolgzs.free.fr/pharo/squeak-vm/Squeak-3.11.3.2135-pharo-src.tar.gz
>> tar -xvzf Squeak-3.11.3.2135-pharo-src.tar.gz
>> cd Squeak-3.11.3.2135-pharo-src/
>> mkdir build && cd build
>> ../unix/cmake/configure
>> make
>> sudo make install
>>
>>
>> Internal plugins:
>> ======================
>> UUIDPlugin
>>
>> External plugins:
>> ======================
>> ADPCMCodecPlugin
>> AioPlugin
>> AsynchFilePlugin
>> B2DPlugin
>> B3DAcceleratorPlugin
>> BMPReadWriterPlugin
>> BitBltPlugin
>> CroquetPlugin
>> DSAPrims
>> DropPlugin
>> FFTPlugin
>> FT2Plugin
>> FileCopyPlugin
>> FilePlugin
>> FloatArrayPlugin
>> FloatMathPlugin
>> GeniePlugin
>> HostWindowPlugin
>> JPEGReadWriter2Plugin
>> JPEGReaderPlugin
>> JoystickTabletPlugin
>> Klatt
>> LargeIntegers
>> LocalePlugin
>> MIDIPlugin
>> Matrix2x3Plugin
>> MiscPrimitivePlugin
>> Mpeg3Plugin
>> QuicktimePlugin
>> RePlugin
>> SecurityPlugin
>> SerialPlugin
>> SocketPlugin
>> SoundCodecPrims
>> SoundGenerationPlugin
>> SoundPlugin
>> Squeak3D
>> SqueakFFIPrims
>> StarSqueakPlugin
>> SurfacePlugin
>> UnixOSProcessPlugin
>> XDisplayControlPlugin
>> ZipPlugin
>>
>>
>> Fun story: if you don't have SecurityPlugin, LocaleTest>>testFontFullName
>>   deletes your image :)
>> testFontFullName
>> "self debug: #testFontFullName"
>> | env dir |
>>  env := (Locale isoLanguage: 'ja') languageEnvironment.
>> dir := FileDirectory on: SecurityManager default untrustedUserDirectory.
>>  [dir recursiveDelete]   <-------------- Cool !!
>> on: Error
>> do: [:e | e].
>>  env fontFullName.
>> self assert: dir exists
>>
>>
>>  Cheers,
>>
>> Laurent Laffont
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20100327/8e1d9b54/attachment.htm>


More information about the Pharo-project mailing list