Version française
Home     About     Download     Resources     Contact us    
Browse thread
OC4MC : OCaml for Multicore architectures
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Philippe Wang <philippe.wang@l...>
Subject: Re: [Caml-list] OC4MC : OCaml for Multicore architectures

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/