[squeak-dev] the state of Apple Silicon

Eliot Miranda eliot.miranda at gmail.com
Tue Jan 25 16:32:36 UTC 2022


Hi Bob,

> On Jan 25, 2022, at 6:42 AM, Bob Arning <arning315 at comcast.net> wrote:
> 
>  
> 
> On 1/25/22 9:12 AM, Marcel Taeumel wrote:
>> Hi Bob --
>> 
>> It should not be that much slower:
>> 
>> macMini (Oct 2020)
>> macOS Big Sur 11.6.2
>> Chip: Apple M1
>> OSVM: 202112201228 (arm64)
>>   4,400,000,000 bytecodes/sec; 330,000,000 sends/sec
>> OSVM: 202112201228 (x64 via Rosetta)
>>   3,500,000,000 bytecodes/sec; 270,000,000 sends/sec
>> 
>> 
> Perhaps it was the VM I was using:
> 
> Virtual Machine
> ---------------
> /Users/bob/squeak/AST (modern)/AST 64-bit.app/Contents/MacOS/Squeak
> Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-nice.2715] 64 bit
> Mac OS X built on Mar  3 2020 08:28:30 GMT Compiler: 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)
> platform sources revision VM: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Mon Mar 2 18:30:55 2020 CommitHash: 6a0bc96 Plugins: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
> CoInterpreter VMMaker.oscog-nice.2715 uuid: 78e2f556-9829-42fe-963d-e19dfc43c0e9 Mar  3 2020
> StackToRegisterMappingCogit VMMaker.oscog-eem.2719 uuid: e40f3e94-3a54-411b-9613-5d19114ea131 Mar  3 2020
> 
> While I got similar numbers to yours for the tinyBenchmarks, I found that my code was slower by a factor of 5 to 10. Does that make sense?

Not really.  You’re sure you’re using the M1 executable and not the x86_64 one? I realise the version info printed by the vm doesn’t tell which one it is.  I have to fix this.

BTW if you checkout OpenSmalltalk-vm, follow building/macos64ARMv8/HowToBuild, and build in building/macos64ARMv8/squeak.cog.spur, you should be able to sign your own bundle.

_,,,^..^,,,_ (phone)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220125/887e5e1b/attachment.html>


More information about the Squeak-dev mailing list