From: Hugo Ferreira <hmf@inescporto.pt>
To: Sylvain Le Gall <sylvain@le-gall.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: Shared memory parallel application: kernel threads
Date: Fri, 12 Mar 2010 14:54:33 +0000 [thread overview]
Message-ID: <4B9A55A9.4070202@inescporto.pt> (raw)
In-Reply-To: <slrnhpkjvk.6e8.sylvain@gallu.homelinux.org>
Sylvain Le Gall wrote:
> On 12-03-2010, Hugo Ferreira <hmf@inescporto.pt> wrote:
>> Hello,
>>
>> I have opted to use "kernel-level threads" that allow use
>> of the (multi-core) processors but still allow "easy"
>> access to shared memory".
>>
>> I have done a cursory look at:
>> - Ocaml.Threads
>> - Ocaml.Unix (LinuxThreads)
>> - coThreads
>> - Ocamlnet2/3 (netshm, netcamlbox)
>> (An eThreads library exists in the forge but I did not examine this)
>>
>
> I think you should also have a look at ocaml/mpi for communication:
> http://forge.ocamlcore.org/projects/ocamlmpi/
> and ancient for accessing read-only memory:
> http://merjis.com/developers/ancient
>
> MPI can work on a single computer to take advantage of multi-core
> through multi-processus.
>
Indeed. I did not list these because I was specifically looking for
a share memory solution amongst threads. Seeing as I am forced to use
processes ancient is worth considering.
Thanks,
Hugo F.
> Regards,
> Sylvain Le Gall
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
next prev parent reply other threads:[~2010-03-12 14:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-12 11:55 Hugo Ferreira
2010-03-12 12:34 ` [Caml-list] " Gerd Stolpmann
2010-03-12 13:36 ` Hugo Ferreira
2010-03-12 14:30 ` Sylvain Le Gall
2010-03-12 14:54 ` Hugo Ferreira [this message]
2010-03-12 23:59 ` [Caml-list] " Philippe Wang
2010-03-13 9:12 ` Hugo Ferreira
2010-03-13 13:56 ` [Caml-list] " Richard Jones
2010-03-13 14:29 ` Hugo Ferreira
2010-03-13 15:10 ` Richard Jones
2010-03-13 15:37 ` Hugo Ferreira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B9A55A9.4070202@inescporto.pt \
--to=hmf@inescporto.pt \
--cc=caml-list@inria.fr \
--cc=sylvain@le-gall.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox