[gambit-list] SMP status

Adam adam.mlmb at gmail.com
Sat Nov 11 17:00:05 EST 2017


Hi Marc,

Wonderful!

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:

Can you explain what uses of the Gambit runtime are *not* safe currently
(so I know what I can do in the light of what I can't do)?


Can I do TCP/console/file IO from any OS & green thread, or from some
particular one, which and how do I ensure that?

Can I send messages between threads (that run on different OS threads), how?


Also, if there would be any bugs now then in what area would they likely be
/ how would they likely manifest?


(http://www.iro.umontreal.ca/~gambit/doc/gambit.html#Threads 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.)

Adam

2017-11-11 22:45 GMT+08:00 Marc Feeley <feeley at iro.umontreal.ca>:

> Hello Adam.  Sorry for the delayed response…
>
> 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.
>
> Marc
>
>
>
> > On Oct 17, 2017, at 1:59 AM, Adam <adam.mlmb at gmail.com> wrote:
> >
> > Hi Marc!
> >
> > How well does SMP work now?
> >
> > 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?
> >
> > Thanks!
> > Adam
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20171112/31cb43d8/attachment.htm>


More information about the Gambit-list mailing list