caml-list - the Caml user's mailing list
 help / Atom feed
From: Richard Jones <rich@annexia.org>
To: Jason Ganetsky <jason.ganetsky@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Re: Multiprocessor support in OCaml
Date: Mon, 23 Apr 2007 09:10:02 +0100
Message-ID: <20070423081002.GA18553@furbychan.cocan.org> (raw)
In-Reply-To: <ab351c020704221052q7c924c27j86bb32c270a069c3@mail.gmail.com>

On 4/22/07, Jason Ganetsky <jason.ganetsky@gmail.com> wrote:
>
>Well, the solution I'm going for now is to load all my data up, call
>Gc.Compact(), and then fork off child processes. The workload that I'm
>parallelizing is read-only... so I think this will work well with Linux
>copy-on-write forking.

You might also want to look at the Ancient library
(http://merjis.com/developers/ancient) which will allow you to share
data read-only between unrelated processes, backed by a file.

Rich.

-- 
Richard Jones
Red Hat


      reply index

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-22  7:42 Jason Ganetsky
2007-04-22  8:44 ` [Caml-list] " Richard Jones
2007-04-22 10:30 ` Xavier Leroy
2007-04-22 11:55   ` Don Syme
2007-04-22 10:58 ` Erik de Castro Lopo
2007-04-22 13:29   ` Jon Harrop
2007-04-22 17:31 ` Zheng Li
     [not found]   ` <ab351c020704221052v50ce66b6maec299889a2c1f1f@mail.gmail.com>
2007-04-22 17:52     ` [Caml-list] " Jason Ganetsky
2007-04-23  8:10       ` Richard Jones [this message]

Reply instructions:

You may reply publically 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=20070423081002.GA18553@furbychan.cocan.org \
    --to=rich@annexia.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=jason.ganetsky@gmail.com \
    /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

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror https://inbox.ocaml.org/caml-list

AGPL code for this site: git clone https://public-inbox.org/ public-inbox