On Tue, 30 Mar 2010, Adrian Lienhard wrote:
Hi Laurent,
Here a problem report concerning your VM (http://lolgzs.free.fr/pharo/squeak-vm/Squeak-3.11.3.2135-pharo-bin.tar.gz) from a Ubuntu 64bit user.
His machine:
(k)ubuntu karmic x64 Linux toat 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux Pulseaudio: 1:0.9.19-0ubuntu4.1 Intel(R) Core(TM) i7 CPU, 950 @ 3.07GHz
The first problem he had was that the VM segfaulted. He then disabled psdsp in the startup script. This fixed the crash and sound worked (Beeper beep).
His tinyBenchmark results are:
582811610 bytecodes/sec; 15102233 sends/sec 562946673 bytecodes/sec; 16346261 sends/sec 583475783 bytecodes/sec; 16404381 sends/sec 589522164 bytecodes/sec; 16288551 sends/sec 570791527 bytecodes/sec; 16389812 sends/sec 527835051 bytecodes/sec; 14646769 sends/sec 590201729 bytecodes/sec; 16288551 sends/sec 586483390 bytecodes/sec; 16231248 sends/sec 590542099 bytecodes/sec; 16259849 sends/sec 542085759 bytecodes/sec; 14763943 sends/sec
...compared to a 3.9-8 #1 Tue Jan 13 16:33:40 UTC 2009 gcc 4.3.3 VM:
580828133 bytecodes/sec; 18995358 sends/sec 539515279 bytecodes/sec; 17677135 sends/sec 552617377 bytecodes/sec; 17865371 sends/sec 588167719 bytecodes/sec; 19129213 sends/sec 579185520 bytecodes/sec; 18947146 sends/sec 585812356 bytecodes/sec; 16785105 sends/sec 545551411 bytecodes/sec; 18164300 sends/sec 577226606 bytecodes/sec; 19227754 sends/sec 587155963 bytecodes/sec; 19080321 sends/sec 580498866 bytecodes/sec; 18815817 sends/sec
The new VM is slower on sends/sec, but the really astonishing difference is not in the benchmarks but in the GUI performance. It is really slow. Just moving the mouse around on an empty world makes CPU consumption go up to over 70%! He didn't experience this problem with the old 3.9-8 VM.
That's probably because Laurent built almost every plugin as external. These include those which are responsible for displaying stuff on the screen. Levente
Cheers, Adrian
On Mar 26, 2010, at 22:11 , laurent laffont wrote:
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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project