From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p2OF3JBZ027125 for ; Thu, 24 Mar 2011 16:03:23 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnECAIv5ik3RVde2i2dsb2JhbAClQQgUAQEBCgsLBxIGIYhNnl2KVIIfhSgviFwBAQMFhWQEjG+DUnOEQTo X-IronPort-AV: E=Sophos;i="4.63,237,1299452400"; d="scan'208";a="103428961" Received: from mail-ey0-f182.google.com ([209.85.215.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 24 Mar 2011 16:03:23 +0100 Received: by eyg7 with SMTP id 7so37999eyg.27 for ; Thu, 24 Mar 2011 08:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=sPxpU8knc5fXjIBWm+Uexit2wpjfmaDJ8UAknT8TGhs=; b=VAzQrmMMrlv+nJIm3Mk4YELPYfCybOqx/clYo7tb1ChadY1E/i0EUtisYdTpHbwra9 na8BrTRwWIt7ofXuB3p2H2mTSEM36rO6iacpDBqT91+/mbNOFM+haHJ31Jr02NOH4kdT EabuMXwOh4xpzKJ0WCSA80QSp6jOXv3yYULmg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=UPFRYPsP8cwp7dNCKX0bpkO9JWFHt818FtzPLA8U1L1jFBb6fka1ZHGqDEnCspeaAx ffOJNzYtlULtkbRF8MZ2dnxP5Rkxujq2msooyWUAxyaQVnScWSj7+8ewL1lAPYpzjAuo Qg733d5JojvOcEYaDQ9UuOh9DaL0tzvMU/2o4= Received: by 10.216.3.3 with SMTP id 3mr825626weg.57.1300979002756; Thu, 24 Mar 2011 08:03:22 -0700 (PDT) Received: from [192.168.0.195] ([95.60.213.7]) by mx.google.com with ESMTPS id n73sm1206wej.12.2011.03.24.08.03.20 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Mar 2011 08:03:21 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Joel Reymont In-Reply-To: <1300978675.8429.227.camel@thinkpad> Date: Thu, 24 Mar 2011 15:03:18 +0000 Cc: Alexy Khrabrov , caml-list Message-Id: <6C1E9880-E792-4496-A906-34D8B7ABEBC1@gmail.com> References: <4587C749-DEFE-47B9-8D9A-44FE5980B58F@gmail.com> <1300978675.8429.227.camel@thinkpad> To: Gerd Stolpmann X-Mailer: Apple Mail (2.1082) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p2OF3JBZ027125 Subject: Re: [Caml-list] Efficient OCaml multicore -- roadmap? I'm using a combination of OCaml and ZeroMQ which allows for many combinations of workers, routers, dispatchers, etc. Works for me and I recommend it. On Mar 24, 2011, at 2:57 PM, Gerd Stolpmann wrote: > So, here is my answer to your latter question: I've started a library > for using independent processes as workers that can communicate via > explicit shared memory (see > https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk/code/src/netmulticore/, and https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk/code/examples/multicore/chameneos.ml for a coding sample). This seems at least to be a solution in the Unix world for coarse-grained parallelism that is not dominated by the communication overhead between the processes. -------------------------------------------------------------------------- - for hire: mac osx device driver ninja, kernel extensions and usb drivers ---------------------+------------+--------------------------------------- http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont ---------------------+------------+---------------------------------------