Success! Re: My Annual VM-building post (MacOS)
John M McIntosh
johnmci at smalltalkconsulting.com
Thu Nov 17 19:08:45 UTC 2005
Heh, I've a paypal account here, lets see make VM run 20% faster,
must be worth some cash...
I'll suspect you didn't follow the steps to gunify the interp.c file.
failure to do that results in something very slow, also the patch for
including arrays in the structure , failure to do that also can
result in interesting code in GCC 3.3, other versions produce
different results of course. As you noticed failure to follow steps
exactly result in poor performing VM, of course I'm always interested
to hear about computer/code tweaks to make it faster.
Also ensure you did build with gcc 3.3, I didn't get messages about
fPIC issues so I"m wondering if it's really building with GCC 4.0
(lying about it)
Oh and you build a Squeak VM Opt target with Deployment build
A non-optimized debug VM is very slow.
On 17-Nov-05, at 9:46 AM, Josh Gargus wrote:
> (moving this over to vm-dev from squeak-dev)
> Aargh! But it still runs really slow!
> For example, a typical vm built by you gives the following result:
> '102481985 bytecodes/sec; 4680713 sends/sec'
> This is much faster than both a vm...
> built by me last week, gcc 4.0
> '85676037 bytecodes/sec; 3241530 sends/sec'
> built by me a few minutes ago, gcc 3.3
> '56338028 bytecodes/sec; 1730422 sends/sec'
> In fact, the one I built with gcc-3.3 is far worse than the gcc-4.0
> Any ideas? I'll continue to play around with it.
> On Nov 17, 2005, at 10:51 AM, Josh Gargus wrote:
>> Thanks for the updates you checked in.
>> I still had to add -fPIC to the cflags in order for it to build,
>> On Nov 10, 2005, at 2:13 PM, John M McIntosh wrote:
>>> I'll note building with gcc 4.0 is a bad idea because the VM
>>> performance degrades...
>>> I'll post a XCode 2.1 aware project for the 38vmmaker tree and
>>> the main trunk once I get everything to compile.
>>> On 10-Nov-05, at 9:43 AM, Josh Gargus wrote:
>>>> Huzzah for perseverence!
>>>> The auto-updated XCode project wasn't quite right; I had to make
>>>> the following tweaks:
>>>> - switch to use gcc-4.0
>>> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
>>> Corporate Smalltalk Consulting Ltd. http://
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the Squeak-dev