[squeak-dev] n-core Smalltalk at work [Re: Hydra now can do mitosis]

Philippe Marschall philippe.marschall at gmail.com
Sun Feb 22 15:52:58 UTC 2009


2009/2/22 Klaus D. Witzel <klaus.witzel at cobss.com>:
> On Sun, 22 Feb 2009 14:36:30 +0100, Igor Stasenko wrote:
>
>> Update.
>> you can download binaries from here
>>
>> ftp://ftp.squeak.org/HydraVM/latest_builds/win32/HydraVM-bin-22.02.2009.zip
>>
>
> Let me add 2-3 bits: first we also have to thank Alexandre "Alex" Bergel and
> Guillermo "Guille" Adrián Molina for discussing with us earlier approaches
> to running Smalltalk on n-core CPUs in parallel.
>
> 2nd: what expression (HydraClone new cloneIdleProcess) does for you, is it
> runs the computational task which is described by the corresponding object
> subgraph, in a *new* native thread (with own heap and instance of HydraVM).
> Therefore, on your n-core CPU you can expect that computation is spread
> among the cores. The #cloneIdleProcess example does just what its name says:
> it runs Smalltalk's idle process ;) as proof of concept.
>
> You Smalltalkers may have other Smalltalk processes that you want to run in
> parallel on their own native thread; let us know how we can help you with
> that.

Well I have this web framework thingy where each http connection runs
in it's own process. Request processing is quite fast, sometimes below
a millisecond. There is potentially a lot sharing going on between
those connections for configuration, sessions, continuations and
stuff.

Cheers
Philippe



More information about the Squeak-dev mailing list