<div dir="ltr">The difference is that the JVM inherently supports multi-core at via threads in a single VM instance while the Squeak/Cog VM's don't as they only support 'green' threads on a single logical core.  So for Cog you'd use the core affinity tools provided at the OS level to assign affinity at the instance level.  That said, I'd suggest measuring performance with and without processor affinity set as you might find it doesn't provide enough benefit to be worth the hassle depending on the load characteristics.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 11, 2019 at 4:27 PM gettimothy via Squeak-dev <<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u><div><div style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10pt"><div>Hi All,<br></div><div><br></div><div>I have a large processing task to do that I would like to divvy up among separate copies of an image running on their own VM instance running on a virtual core.<br></div><div><br></div><div>Processor is a Ryzen7 with 16 virtual cores.<br></div><div>I figure 1 for me and 15 for separate Cog VM's</div><div><br></div><div>I remember from decades that the JVM had a processor affinity switch.<br></div><div><br></div><div><br></div><div>Is there such a thing in Cog?<br></div><div><br></div><div>Thanks in advance.<br></div><div><br></div><div>tty</div><div><br></div></div><br></div><br>
</blockquote></div>