Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Shared memory parallel application: kernel threads
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-03-13 (15:37)
From: Hugo Ferreira <hmf@i...>
Subject: Re: [Caml-list] Shared memory parallel application: kernel threads
Richard Jones wrote:
> On Sat, Mar 13, 2010 at 02:29:35PM +0000, Hugo Ferreira wrote:
>> I will be using a single 8-CPU machine for the experiments.
>> For the problem at hand shared the memory model seems to be
>> a better fit than messaging.
> I've not actually tried it, but I bet you can use a hybrid model --
> Use MPI as an easy way to spread the jobs over the nodes and for
> coordinating the processes, then have each process open a shared
> Ancient file (backed by NFS) for the read-only data.

I figure I will need some form of messaging to coordinate the jobs.
The problem however is that the jobs will initially generate large
amounts of data. This data is progressively "merged" and reduced.
I don't think sending messages is appropriate. At least not in
the initial stages. I will have to experiment.

Thanks for the suggestion,
Hugo F.

> Rich.