<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Bob,<div dir="ltr"><br><blockquote type="cite">On Jan 25, 2022, at 8:59 AM, Bob Arning <arning315@comcast.net> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<br>
<div class="moz-cite-prefix">On 1/25/22 11:32 AM, Eliot Miranda
wrote:<br>
</div>
<blockquote type="cite" cite="mid:F485E648-341A-486E-9FFD-AF5DD7C27541@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Hi Bob,
<div dir="ltr"><br>
<blockquote type="cite">On Jan 25, 2022, at 6:42 AM, Bob Arning
<a class="moz-txt-link-rfc2396E" href="mailto:arning315@comcast.net"><arning315@comcast.net></a> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<br>
<br>
<div class="moz-cite-prefix">On 1/25/22 9:12 AM, Marcel
Taeumel wrote:<br>
</div>
<blockquote type="cite" cite="mid:Mailbird-1064c49b-6b90-46a7-b424-08a3c0e95a54@hpi.de">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div id="__MailbirdStyleContent" style="font-size:
10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr"> Hi Bob --
<div><br>
</div>
<div>It should not be that much slower:</div>
<div><br>
</div>
<div>
<pre class="c-mrkdwn__pre" data-stringify-type="pre" style="box-sizing: inherit;margin-top: 4px;margin-bottom: 4px;padding: 8px;--saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13);font-size: 12px;line-height: 1.50001;font-variant-ligatures: none;overflow-wrap: break-word;word-break: normal;tab-size: 4;border: 1px solid var(--saf-0);border-radius: 4px;background: rgba(var(--sk_foreground_min,29,28,29),0.04);counter-reset: list-0 0 list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0;color: rgb(29, 28, 29);font-family: Monaco, Menlo, Consolas, "Courier New", monospace !important">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</pre>
</div>
<div><br>
</div>
<br>
</div>
</blockquote>
Perhaps it was the VM I was using:<br>
<br>
Virtual Machine<br>
---------------<br>
/Users/bob/squeak/AST (modern)/AST
64-bit.app/Contents/MacOS/Squeak<br>
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives
VMMaker.oscog-nice.2715] 64 bit<br>
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)<br>
platform sources revision VM: 202003021730 <a class="moz-txt-link-freetext" href="https://github.com/OpenSmalltalk/opensmalltalk-vm.git" moz-do-not-send="true">https://github.com/OpenSmalltalk/opensmalltalk-vm.git</a>
Date: Mon Mar 2 18:30:55 2020 CommitHash: 6a0bc96 Plugins:
202003021730 <a class="moz-txt-link-freetext" href="https://github.com/OpenSmalltalk/opensmalltalk-vm.git" moz-do-not-send="true">https://github.com/OpenSmalltalk/opensmalltalk-vm.git</a><br>
CoInterpreter VMMaker.oscog-nice.2715 uuid:
78e2f556-9829-42fe-963d-e19dfc43c0e9 Mar 3 2020<br>
StackToRegisterMappingCogit VMMaker.oscog-eem.2719 uuid:
e40f3e94-3a54-411b-9613-5d19114ea131 Mar 3 2020<br>
<br>
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?<br>
</div>
</blockquote>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>_,,,^..^,,,_ (phone)</div>
<blockquote type="cite">
<div dir="ltr"> <span></span></div>
</blockquote>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap=""></pre>
</blockquote>
I am definitely using the x86_64 executable. I was curious to see if
I just moved things across to the new machine if they would run
better, worse or the same. </div></blockquote><div><br></div>Well, because it’s doing dynamic translation, and one has one dynamic translation JIT (Cog) above another (Rosetta) it’s amazing it runs at all :-). But yes, if that’s the case one expects it to be *much* slower.<div><br><blockquote type="cite"><div dir="ltr">Didn't know at the time that there was a
new vm - searched recent mailing lists and did not see any
indication of one.</div></blockquote><div><br></div>Agreed. This is a mess. The github build flow doesn’t show where me are at all obviously. I have to ask for help to find CI builds. It looks like I’ll have to update README.md to mention theM1 builds explicitly.</div><div><br></div><div>The link from squeak.org/downloads to trunk VMs is essentially useless. One has to be intimately familiar with GitHub’s build actions to find anything.</div><div><br></div><div>BTW, if anyone who can edit squeak.org/downloads and understands how those links work would update the links to make them more useful if would be most appreciated.</div><div><br><blockquote type="cite"><div dir="ltr"> Now that I have one for apple silicon, I will see
how it goes. BTW, does a 6.0 vm run a 5.3 image OK?<br></div></blockquote><div><br></div>Yes. In general VMs that are of a compatible format are backwards compatible with older images.</div><div><br><blockquote type="cite"><div dir="ltr">
<br>
As for following OpenSmalltalk-vm, that's a bit outside my comfort
zone, but thanks for the tip.<br></div></blockquote><div><br></div>I don’t mean following, I just mean building.</div><div><br><blockquote type="cite"><div dir="ltr">
<span></span></div></blockquote></div><div>Cheers,</div><div>Eliot</div></body></html>