On Mon, 29 Mar 2010, Mariano Martinez Peck wrote:
On Mon, Mar 29, 2010 at 6:03 PM, Levente Uzonyi <leves@elte.hu> wrote:
On Mon, 29 Mar 2010, Mariano Martinez Peck wrote:
2010/3/29 laurent laffont <laurent.laffont@gmail.com>
On Mon, Mar 29, 2010 at 2:09 PM, Levente Uzonyi <leves@elte.hu> wrote:
On Mon, 29 Mar 2010, laurent laffont wrote:
On Mon, Mar 29, 2010 at 1:19 PM, Levente Uzonyi <leves@elte.hu> wrote:
On Mon, 29 Mar 2010, laurent laffont wrote:
2010/3/29 John M McIntosh <johnmci@smalltalkconsulting.com>
So what Ghz is this machine?
model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
cpu MHz : 1994.987 cache size : 4096 KB
There must be something wrong. My T8300 notebook had about 550M bytecodes/sec and 15M sends/sec on linux. With the stock windows vm I have 500M bytecodes/sec and 14.5M sends/sec.
With the source I have provided ? 32bits ?
My linux vm was 32-bit with some older sources. Since I don't have linux on my notebook anymore I can't tell which version it was.
On MacOSX, same laptop, with Squeak VM 4.2.2 beta 1U from pharo website
449122807 bytecodes/sec; 9649554 sends/sec 405384006 bytecodes/sec; 9584683 sends/sec 445604873 bytecodes/sec; 10138464 sends/sec 445993031 bytecodes/sec; 10102544 sends/sec 446381865 bytecodes/sec; 10174641 sends/sec
compared to Linux
Squeak VM 3.11.3 -r 2135 + FT2Plugin + --CFLAGS="-O3 -fomit-frame-pointer -mfpmath=sse -march=native -s -mtune=generic" ========================================== 339072847 bytecodes/sec; 9560580 sends/sec 338848444 bytecodes/sec; 9552573 sends/sec 338177014 bytecodes/sec; 9473233 sends/sec 337953795 bytecodes/sec; 9496896 sends/sec 338848444 bytecodes/sec; 9496896 sends/sec
so it seems there's improvements that can be done on Linux VM, but there's not so much difference.
I think everybody know this and that your results is the expected. I even remember some threads were we discussed the same. For example, I found this one:
http://n4.nabble.com/Pharo-apparently-slow-on-linux-td1304643.html#a1304643
but there are more. The MacOS VM is faster than the rest, even with the same PC.
You know that's simply bullshit, do you?
Maybe I express wrongly myself. I said several times (even in this thread) I was a newbie. I said that all the VMs I have tried for Linux are slower than the one I tried for Mac OS. At least the ones that are available for us without needing to be a VM guru. And it seems I was not the only to notice that.
That's normal. Mac VMs can be optimized for Intel Core processors, since all Intel based Macs use those, while prebuilt Linux VMs are usually optimized for i686. That means it's compatible with Pentium Pro (from 1995), so it doesn't use newer instructions and doesn't optimize for a specific CPU architecture. If you compile your own VM from source, it can be significantly faster. Levente
Levente
I have no idea how to improve Linux's one, thus.
Cheers
Mariano
Laurent Laffont
Levente
Laurent Laffont
Levente
Laurent Laffont
On 2010-03-28, at 10:42 AM, laurent laffont wrote:
Thank you !
Here the result:
Squeak VM 3.11.3 -r 2135 + FT2Plugin + --CFLAGS="-O3 -fomit-frame-pointer -mfpmath=sse -march=native -s -mtune=generic" ========================================== 339072847 bytecodes/sec; 9560580 sends/sec 338848444 bytecodes/sec; 9552573 sends/sec 338177014 bytecodes/sec; 9473233 sends/sec 337953795 bytecodes/sec; 9496896 sends/sec 338848444 bytecodes/sec; 9496896 sends/sec
so the best performance I have so far.
Laurent Laffont
--
=========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
_______________________________________________ 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
_______________________________________________
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
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project