From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 195CABBAF for ; Fri, 25 Sep 2009 01:25:42 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhICAEOcu0qE4zwCi2dsb2JhbACbAAEBAQoLChq7KIQcBYFY X-IronPort-AV: E=Sophos;i="4.44,448,1249250400"; d="scan'208";a="33472288" Received: from isis.lip6.fr ([132.227.60.2]) by mail2-smtp-roc.national.inria.fr with ESMTP; 25 Sep 2009 01:25:41 +0200 Received: from tibre.lip6.fr (tibre.lip6.fr [132.227.74.2]) by isis.lip6.fr (8.14.3/lip6) with ESMTP id n8ONPZhk023310 ; Fri, 25 Sep 2009 01:25:35 +0200 (CEST) X-pt: isis.lip6.fr Received: from [127.0.0.1] (micmac [132.227.83.124]) by tibre.lip6.fr (8.14.3/8.13.3) with ESMTP id n8ONPYo0005260; Fri, 25 Sep 2009 01:25:35 +0200 (MEST) Subject: Re: [Caml-list] OC4MC : OCaml for Multicore architectures Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Philippe Wang In-Reply-To: <200909250028.57186.jon@ffconsultancy.com> Date: Fri, 25 Sep 2009 01:25:34 +0200 Cc: Philippe Wang , caml-list@yquem.inria.fr Content-Transfer-Encoding: 7bit Message-Id: <072B557D-6924-4339-AF8A-98FC187DB753@lip6.fr> References: <613980.13877.qm@web111508.mail.gq1.yahoo.com> <4d1b2df20909240738g1ba80204ra8cd138ef5c58956@mail.gmail.com> <200909250028.57186.jon@ffconsultancy.com> To: Jon Harrop X-Mailer: Apple Mail (2.1076) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (isis.lip6.fr [132.227.60.2]); Fri, 25 Sep 2009 01:25:36 +0200 (CEST) X-Scanned-By: MIMEDefang 2.63 on 132.227.60.2 X-Spam: no; 0.00; ocaml:01 ocaml's:01 ocaml:01 2009:98 wrote:01 wrote:01 caml-list:01 data:02 data:02 structures:02 slower:02 slower:02 benchmark:04 simpler:05 sep:06 On Sep 25, 2009, at 1:28 AM, Jon Harrop wrote: > On Thursday 24 September 2009 15:38:06 Philippe Wang wrote: >> Very few programs that are not written with multicore in mind would >> not be penalized. >> I mean our GC is much much dumber than INRIA OCaml's one. >> Our goal was to show it was possible to have good performance with >> multicores for OCaml. >> Maybe someday we'll find some time to optimize the GC, but it's >> likely >> not very soon. > > Just to quantify this with a data point: the fastest (serial) > version of my > ray tracer benchmark is 10x slower with the new GC. However, this is > anomalous with respect to complexity and the relative performance is > much > better for simpler renderings. For example, the new GC is only 1.7x > slower > with n=6 instead of n=9. Can you tell what data structures (and their sizes if possible) you are using? Thanks for your feedbacks. -- Philippe Wang Philippe.Wang@lip6.fr http://www-apr.lip6.fr/~pwang/