Hi,
Thanks to people who send the results of tinyBenchmarks for various CPU, here's the report. What I want to know is whether these results are crap or "normal". It seems that all people succeed in compiling the VM with the source provided. So it may be a candidate for Pharo 1.0 ?
The procedure to build the VM was: 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 --CFLAGS="-O2" make
The results: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz 64 bits =============================================== 432 M bytecodes/sec; 13 M sends/sec Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz 64 bits =============================================== 424 M bytecodes/sec; 13 M sends/sec Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz 32 bits =============================================== 389 M bytecodes/sec; 10.5 M sends/sec
Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz 32 bits =============================================== 330 M bytecodes/sec; 9.2 M sends/sec Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz
64 bits (CFLAGS = -O3) =============================================== 331 M bytecodes/sec; 8.9 M sends/sec Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz
64 bits (CFLAGS = -O2) =============================================== 106 M bytecodes/sec; 3.4 M sends/sec Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz 32 bits
=============================================== 220 M bytecodes/sec; 7.6 M sends/sec Intel(R) Pentium(R) 4 CPU 3.00GHz 32 bits ===============================================
93 M bytecodes/sec; 5.5 M sends/sec AMD Athlon(tm) 64 Processor 3000+ =============================================== 87 M bytecodes/sec; 4.5 M sends/sec
Laurent Laffont _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On 2010-04-03, at 9:27 AM, laurent laffont wrote: Hi, Optimal on a Intel(r) Core(TM)2 duo CPU @ 2.33Ghz is 587 M bytecodes/sec; 14.7 M sends/sec -- =========================================================================== John M. McIntosh <[hidden email]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project smime.p7s (3K) Download Attachment |
2010/4/3 John M McIntosh <[hidden email]>
Is "Optimal" means special CFLAGS, GCC version / Intel compiler, or source code changes ? I understand you cannot tell how you optimize the VM. But with the VM source I provide, maybe you can tell that compiling it with your "secret weapons" you obtain near optimal results ?
Laurent Laffont
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
CONTENTS DELETED
The author has deleted this message.
|
In reply to this post by laurent laffont
CONTENTS DELETED
The author has deleted this message.
|
Thanks Hilaire. Could you try with this source ? It has gnuification (using Gnuified.st). On my machine it's a little slower but may be it makes a big difference on yours.
On my machine, I have almost the same result with Exupery and Squeak VM :(
Laurent Laffont On Sat, Apr 3, 2010 at 10:19 PM, Hilaire Fernandes <[hidden email]> wrote: Laurent, _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
CONTENTS DELETED
The author has deleted this message.
|
Thanks a lot Hilaire. And if you still have some courage :) here's one with awk gnuification. (You need to have gawk package installed:
apt-get install gawk) Laurent Laffont On Sun, Apr 4, 2010 at 7:57 PM, Hilaire Fernandes <[hidden email]> wrote: Here are my numbers _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
CONTENTS DELETED
The author has deleted this message.
|
In reply to this post by laurent laffont
CONTENTS DELETED
The author has deleted this message.
|
In reply to this post by hilaire
On Sat, 2010-04-03 at 22:19 +0200, Hilaire Fernandes wrote:
> Laurent, > > I runned the same benchmark with Exupery, here is > > Exupery > 202371541 bytecodes/sec; 5948654 sends/sec > 201574803 bytecodes/sec; 5948654 sends/sec > 201416207 bytecodes/sec; 5933632 sends/sec > 202531645 bytecodes/sec; 5903814 sends/sec > 201892744 bytecodes/sec; 5938631 sends/sec > > > -O2 (compiled source code from the archive you provided) > 87372013 bytecodes/sec; 4436220 sends/sec > 86544962 bytecodes/sec; 4501376 sends/sec > 86253369 bytecodes/sec; 4507132 sends/sec > 86253369 bytecodes/sec; 4487049 sends/sec > 87372013 bytecodes/sec; 4498503 sends/sec > > You better check with Bryce. The Exupery build is just whatever ./config/configure decides to use, nothing special here. I do make sure that the gawk gnuification runs. It's a very vanilla but a bit dated C VM build environment. Bryce _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by hilaire
On Mon, Apr 5, 2010 at 11:56 AM, Hilaire Fernandes <[hidden email]> wrote:
With gawk Hi Hilaire, this is the revision 2151 of squeak-vm (as described in Adrian's post: http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles) The 2 patch I've applied: - http://lolgzs.free.fr/pharo/ft2plugin.patch which makes build of FT2Plugin works - http://lolgzs.free.fr/pharo/CFLAGS.patch which resolve multiple CFLAGS options to work Then I take a Pharo Core 1.0 image, load VMMaker in: Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfVMMaker'; load. (Smalltalk at:#ConfigurationOfVMMaker) project lastVersion load. Correct header in FTPlugin class>>declareCVarsIn: cg ... cg addHeaderFile: '<freetype/tttables.h>'. ... All plugins but UUID external (if UUID external, my VM crashes, so I put it internal and it works). Then apply the procedure http://magaloma.blogspot.com/2010/03/how-i-build-squeak-vm-on-archlinux.html (I will write an update) Laurent Laffont
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by hilaire
On Mon, Apr 5, 2010 at 11:57 AM, Hilaire Fernandes <[hidden email]> wrote: btw, in all the version you provided there is no free type pluglin ? Should be here... What's the output of your ../unix/cmake/configure command ? Laurent Laffont
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
CONTENTS DELETED
The author has deleted this message.
|
On Tue, Apr 6, 2010 at 11:45 AM, Hilaire Fernandes <[hidden email]> wrote: laurent laffont a écrit : Do you have packages libfreetype6-dev and libfreetype6 installed ? Laurent Laffont
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |