From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 2E4177ED26 for ; Wed, 6 Jun 2012 20:01:34 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhwDAGKaz0/U4xEIk2dsb2JhbABFo1eQXyIBAQEBCQkLCRQDJIIYAQEEATo0CwU7XQkSBhMJCQKHaQMGCQeuZAOJWBSLBBSGBQONJokJiz2GDYFU X-IronPort-AV: E=Sophos;i="4.75,725,1330902000"; d="scan'208";a="161636459" Received: from moutng.kundenserver.de ([212.227.17.8]) by mail1-smtp-roc.national.inria.fr with ESMTP; 06 Jun 2012 20:01:33 +0200 Received: from office1.lan.sumadev.de (dslb-188-097-012-241.pools.arcor-ip.net [188.97.12.241]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MgJSU-1SNXDP0lAk-00NyUT; Wed, 06 Jun 2012 20:01:33 +0200 Received: from samsung (dslb-178-004-236-078.pools.arcor-ip.net [178.4.236.78]) by office1.lan.sumadev.de (Postfix) with ESMTPSA id B4702C00D0; Wed, 6 Jun 2012 20:01:32 +0200 (CEST) Date: Wed, 06 Jun 2012 20:01:32 +0200 From: Gerd Stolpmann To: Thomas Braibant Cc: caml-list@inria.fr In-Reply-To: (from thomas.braibant@gmail.com on Wed Jun 6 18:53:07 2012) X-Mailer: Balsa 2.4.11 Message-Id: <1339005692.4950.2@samsung> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Provags-ID: V02:K0:z+LQQDMydlcgxGy1E6mOpjOe22JzmIB8aJmZv1XHQuD 9779C8YzGp03KmawwcZdoIWm/kEBdaOHqILbkhZpkzQI53wWKg Rfrti7jkzfKAVaM3R79yeL0Z/NcrsombH8+DRNEIAwEE1aAnKG SDEQxnbzgPyWh4lanhznWTjGSdPrRDEJFR2gPN3Esdf4TUBAyI y0J96FE6RFTT8Bb/bxLHzLgSw0TMWJXc+t2PQ3yUoyF2KuVnUI wDnP0i+cyUpHimndYtTHCBr5DGS+hvwPbsXMjsJ0hG1AiBkIb5 5CDi7WOuWVBlaH+pz/bKBgKeHqDvZlLDgtXh/SlMhEcWDeEmuN 3Dp0hCtziK1gOBCUCkv4= Subject: AW: [Caml-list] Distributed computing libraries Am 06.06.2012 18:53:07 schrieb(en) Thomas Braibant: > Hi list, >=20 > There exists several different "distributed computing libraries" in=20=20 > OCaml: >=20 > - Functory http://functory.lri.fr/ > - JoCaml http://jocaml.inria.fr/ (not really a library, though) > - Nproc https://github.com/MyLifeLabs/nproc > - OCaml for multicore http://www.algo-prog.info/ocmc/web/ (not a=20=20 > library either) > - Parmap https://gitorious.org/parmap/parmap > - Plasma Map/Reduce http://plasma.camlcity.org/plasma/ >=20 These are very different pieces of software, because they tackle=20=20 problems at various abstraction levels. ocmc is the most level-level=20=20 here, as it "only" tries to improve the runtime so that threads can be=20= =20 run in parallel on multiple cores. That's it, there is no additional=20=20 abstraction on top of the standard threading API - no distribution, no=20= =20 computing. JoCaml uses the normal multi-threading in the runtime, but integrates=20=20 it differently into the language. So, it adds abstraction, but you are=20= =20 still limited to a single core. So far I know, all the other libraries base on multi-processing to run=20= =20 programs on multiple cores. Plasma is the only one with true=20=20 distribution capabiltiies beyond a single computer, but the price is=20=20 that you must use the map/reduce scheme, whereas functory or parmap=20=20 leave you more freedom. However, all multi-processing approaches share=20= =20 the property that the data flow is limited by process boundaries=20=20 (unless you go really low-level and also take Netmulticore into=20=20 consideration (part of Ocamlnet), which uses shared memory to overcome=20= =20 these limitations). I don't know what you are exactly looking for. Knowing the problem it=20=20 would be easier to recommend something. Gerd > And I am pretty sure that this list is not exhaustive, looking at > http://caml.inria.fr/cgi-bin/hump.en.cgi?sort=3D0&browse=3D77 >=20 > Maybe it would be interesting for the community if someone could sum > up the pros and cons of each of this "libraries", and maybe give some > information about their status (still in development, mature, etc)? >=20 > With best regards, > Thomas Braibant >=20 > -- > Caml-list mailing list. Subscription management and archives: > https://sympa-roc.inria.fr/wws/info/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >=20 >=20 >=20 --=20 ------------------------------------------------------------ Gerd Stolpmann, Darmstadt, Germany gerd@gerd-stolpmann.de Creator of GODI and camlcity.org. Contact details: http://www.camlcity.org/contact.html Company homepage: http://www.gerd-stolpmann.de ------------------------------------------------------------=