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.3 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 9711ABBAF for ; Fri, 17 Oct 2008 14:32:04 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AosEAGMi+EjAXQImiGdsb2JhbACMGYdQAhYipHWIOoNs X-IronPort-AV: E=Sophos;i="4.33,431,1220220000"; d="scan'208";a="18863542" Received: from discorde.inria.fr ([192.93.2.38]) by mail1-smtp-roc.national.inria.fr with ESMTP; 17 Oct 2008 14:32:04 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m9HCW3T0008226 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 17 Oct 2008 14:32:04 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQAABYj+EjYSfEMmmdsb2JhbACMGYdQAgIBCAsKBxEEpGWIOINs X-IronPort-AV: E=Sophos;i="4.33,431,1220220000"; d="scan'208";a="16198906" Received: from info-smtp-004.amnh.org ([216.73.241.12]) by mail2-smtp-roc.national.inria.fr with ESMTP; 17 Oct 2008 14:32:03 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by info-smtp-004.amnh.org (Postfix) with ESMTP id 48EC41CD51B; Fri, 17 Oct 2008 08:32:02 -0400 (EDT) X-Virus-Scanned: amavisd-new at amnh.org Received: from info-smtp-004.amnh.org ([127.0.0.1]) by localhost (info-smtp-004.amnh.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WzVyF-y2tmfE; Fri, 17 Oct 2008 08:32:01 -0400 (EDT) Received: from [10.0.1.2] (unknown [216.73.248.243]) by info-smtp-004.amnh.org (Postfix) with ESMTP id 65C5D1CD515; Fri, 17 Oct 2008 08:32:01 -0400 (EDT) Cc: "'OCaml Mailing List'" Message-Id: <273232B4-E482-4B0A-A4D1-B9B5876FDD60@gmail.com> From: Andres Varon To: David Allsopp In-Reply-To: <57EBE30ABB324436B98173D41A9473CA@countertenor> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: [Caml-list] ocamlopt performance in 3.11 Date: Fri, 17 Oct 2008 08:32:01 -0400 References: <57EBE30ABB324436B98173D41A9473CA@countertenor> X-Mailer: Apple Mail (2.929.2) X-Miltered: at discorde with ID 48F885C4.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlopt:01 runtime:01 ocaml:01 ocaml:01 model:01 model:01 mingw:01 gcc:01 beginner's:01 bug:01 calibrate:98 xcode:98 beginners:01 wrote:01 caml-list:01 On Oct 17, 2008, at 5:59 AM, David Allsopp wrote: > Pleased to say that I've got my 3 current projects compiled and > running > under 3.11+beta1 > > Unfortunately for one of the projects, its "reference" run (a > computationally intensive, repeatable operation the speed of which > interests > me) has gone from repeatedly taking ~38 seconds in 3.10.2 to ~46 > seconds in > 3.11.0+beta1. The other two projects don't have as easy a way for me > to > calibrate speed (they spend most of their time blocked on I/O > anyway!). > > Has anything apart from the linker changed much in the 3.11 code > generator > and has anyone else noticed a performance drop in any other programs? The Changes list do mention a number of important changes in the runtime system. For most of my programs the bottleneck functions are implemented in C. For one of the few cases where OCaml is taking care of the core loop, ocaml 3.11.0beta1 produce a consistently slower native executable than 3.10.2 by a very small factor (around 0.5%). I have not timed in Windows, and I run Windows inside a virtual machine, so I'm not sure if the differences I will observe there are just an artifact of that setup. Andres My setup: System Software Overview: System Version: Mac OS X 10.5.5 (9F33) Kernel Version: Darwin 9.5.0 XCode: 3.1.1 Hardware Overview: Model Name: Mac Pro Model Identifier: MacPro2,1 Processor Name: Quad-Core Intel Xeon Processor Speed: 3 GHz Number Of Processors: 2 Total Number Of Cores: 8 L2 Cache (per processor): 8 MB Memory: 16 GB Bus Speed: 1.33 GHz > > > > David > > (Machine setup: Windows XP SP3 + MinGW/gcc 3.4.4 running on an Intel > Core > Duo T7200 @ 2GHz with 2GB RAM) > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs