[e-lang] Multi-Core Processor Software

Bill Frantz frantz at pwpconsult.com
Sun Feb 25 17:56:03 CST 2007


david.nospam.hopwood at blueyonder.co.uk (David Hopwood) on Saturday, February 24, 2007 wrote:

>Kevin Reid wrote:
>> If a system has p processors, each with 80 cores, and is running n E  
>> programs designed or executed for parallelism, then you have 80*p*n  
>> vats. In this situation it would be important that vats be lightweight.
>
>Making vats lightweight is not difficult (well, not unless you have to
>run on top of a JVM). There's lots of experience from several language
>implementations in how to do this: Erlang, Oz, Gambit Scheme, etc. If
>anything it is easier in E, because there are frequent turn boundaries
>at which the size of the vat's continuation is small.

In this application, where mutual suspicion is not the driving force for
separation, it is probably useful for the vats to share an address
space.  Having several vats in one JVM would be one way to reduce the
fixed costs of this Godzilla of operating environments.

Sharing an address space (or portion thereof), will allow deep-frozen,
self-less objects (if I am using the correct jargon) to be passed with a
pointer reference instead of a copy.  Passing a pointer reference might
produce large performance gains.

Cheers - Bill

---------------------------------------------------------------------------
Bill Frantz        |"We used to quip that "password" is the most common
408-356-8506       | password. Now it's 'password1.' Who said users haven't
www.periwinkle.com | learned anything about security?" -- Bruce Schneier



More information about the e-lang mailing list