<div dir="ltr">Hi Marc,<div><br></div><div>Wonderful!</div><div><br></div><div>If you can please take three minutes to explain the following, so that I and others can get going with the SMP, would be great:</div><div><br></div><div>Can you explain what uses of the Gambit runtime are <u>not</u> safe currently (so I know what I can do in the light of what I can't do)?</div><div><br></div><div><br></div><div>Can I do TCP/console/file IO from any OS & green thread, or from some particular one, which and how do I ensure that?</div><div><br></div><div>Can I send messages between threads (that run on different OS threads), how?</div><div><br></div><div><br></div><div>Also, if there would be any bugs now then in what area would they likely be / how would they likely manifest?</div><div><br></div><div><br></div><div>(<a href="http://www.iro.umontreal.ca/~gambit/doc/gambit.html#Threads">http://www.iro.umontreal.ca/~gambit/doc/gambit.html#Threads</a> says "Gambit supports the execution of multiple Scheme threads. These threads are managed entirely by Gambit’s runtime and are not related to the host operating system’s threads. Gambit’s runtime does not currently take advantage of multiprocessors (i.e. at most one thread is running).", will need update.)<br></div><div><br></div><div>Adam</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-11 22:45 GMT+08:00 Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Adam.  Sorry for the delayed response…<br>
<br>
The SMP work has been on hold and I plan to return to it in January.  The usecase you describe should be usable right now.  As I have said, the main issue remaining is thread priorities (currently they are not fully working when using SMP) and fine tuning the scheduler for fine grain load balancing.  Of course I’d be interested in any stress testing you can do.<br>
<span class="HOEnZb"><font color="#888888"><br>
Marc<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
> On Oct 17, 2017, at 1:59 AM, Adam <<a href="mailto:adam.mlmb@gmail.com">adam.mlmb@gmail.com</a>> wrote:<br>
><br>
> Hi Marc!<br>
><br>
> How well does SMP work now?<br>
><br>
> Using SMP code that not uses any network/file IO (only string/u8vector port IO) except for in the root processor, may that be a stable usecase this year?<br>
><br>
> Thanks!<br>
> Adam<br>
<br>
</div></div></blockquote></div><br></div>