From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 2C4D4BB81 for ; Mon, 13 Feb 2006 11:28:49 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k1DASmrY009827 for ; Mon, 13 Feb 2006 11:28:48 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA10720 for ; Mon, 13 Feb 2006 11:28:48 +0100 (MET) Received: from mail.enyo.de (mail.enyo.de [212.9.189.167]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k1DAPxBQ009417 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 13 Feb 2006 11:28:47 +0100 Received: from deneb.vpn.enyo.de ([212.9.189.177] helo=deneb.enyo.de) by mail.enyo.de with esmtp id 1F8au6-00068A-MG; Mon, 13 Feb 2006 11:25:58 +0100 Received: from fw by deneb.enyo.de with local (Exim 4.60) (envelope-from ) id 1F8au4-0001o5-S3; Mon, 13 Feb 2006 11:25:56 +0100 From: Florian Weimer To: Christophe TROESTLER Cc: OCaml Mailing List Subject: Re: [Caml-list] How to write efficient threaded programs on OCaml References: <20060208.001547.81488614.Christophe.Troestler@umh.ac.be> Date: Mon, 13 Feb 2006 11:25:56 +0100 In-Reply-To: <20060208.001547.81488614.Christophe.Troestler@umh.ac.be> (Christophe TROESTLER's message of "Wed, 08 Feb 2006 00:15:47 +0100 (CET)") Message-ID: <87mzgv1rnv.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at concorde with ID 43F05F60.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43F05EB7.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 christophe:01 troestler:01 ocaml:01 73%:98 18%:98 debian:02 debian:02 caml:02 caml:02 cond:02 florian:02 benchmark:02 shootout:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 * Christophe TROESTLER: > http://shootout.alioth.debian.org/debian/benchmark.php?test=chameneos&lang=all > A qprof profiling reveals that OCaml is spending 63-73% of its time on > the function caml_process_pending_signals and 13-18% on > pthread_cond_signal. Could this be a measuring artifact? It seems that all Caml code is accounted for in caml_process_pending_signals.