From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3JMm8jZ019214 for ; Wed, 20 Apr 2011 00:48:08 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An0CAMgQrk1KfVI0kGdsb2JhbACEUKBgCBQBAQEBCQkNBxQEIakkijiCYQEFjkQBBIEpg056mAE6 X-IronPort-AV: E=Sophos;i="4.64,241,1301868000"; d="scan'208";a="81383478" Received: from mail-ww0-f52.google.com ([74.125.82.52]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 20 Apr 2011 00:48:02 +0200 Received: by wwe15 with SMTP id 15so264096wwe.9 for ; Tue, 19 Apr 2011 15:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:to:cc:references:in-reply-to:subject:date :organization:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=4SIuoGdM/nAZDEmNpamx3Q3UxV/9aOp/1neeW0IbMmY=; b=KLxKfhIe3c7j1H5Fut6vp+Z9CTKJVHUrwPMvU2CI5OaQ67DYlxDH9ikFFsDIttsbsS PBR0pqlxg/eZKv/YeSmq9iuPsIkOzcDksJVyC5HPmTiRso9poWumPgWt0AZFM+X3cPDK na5JcMkU0E8Glk6DMCSEPwowms4IUzpwNov8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:organization :message-id:mime-version:content-type:content-transfer-encoding :x-mailer:thread-index:content-language; b=JXnyQNaY62v+3VsO8By0lwnCr4CQ5A93EsR792qA0Rp/r6x5Am+SFZVcC5I+uK5sri 79kLv8Cjxvgy30eShwNEdmZelFWUASVD0upo4mI/mJ01fvRGyLxO4c8Wx2jEiHnUQeLs eUTjtvgy5alfkXQ+RHfISBkfm0vANkfOx1tTA= Received: by 10.216.67.199 with SMTP id j49mr45419wed.59.1303253281842; Tue, 19 Apr 2011 15:48:01 -0700 (PDT) Received: from WinEight ([80.229.123.248]) by mx.google.com with ESMTPS id d59sm170546wed.45.2011.04.19.15.47.59 (version=SSLv3 cipher=OTHER); Tue, 19 Apr 2011 15:48:00 -0700 (PDT) From: Jon Harrop To: "'Fabrice Le Fessant'" Cc: References: <2054357367.219171.1300974318806.JavaMail.root@zmbs4.inria.fr> <4D8BD02D.1010505@inria.fr> <4D8C73C8.6020801@inescporto.pt> <1301055903.8429.314.camel@thinkpad> <341494683.237537.1301057887481.JavaMail.root@zmbs4.inria.fr> <4D8C944A.9060601@inria.fr> In-Reply-To: <4D8C944A.9060601@inria.fr> Date: Tue, 19 Apr 2011 23:47:48 +0100 Organization: Flying Frog Consultancy Message-ID: <022401cbfee3$d00486e0$700d94a0$@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFhMASujb2QG2h3N2h7/lJjoQ23OAIYQRkZAge6bucBi7oV8gIGVE8/AmcCvniU6pzHsA== Content-Language: en-gb Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p3JMm8jZ019214 X-Validation-by: jon@ffconsultancy.com Subject: RE: [Caml-list] Efficient OCaml multicore -- roadmap? Fabrice wrote: > Well, Java has fully multi-threaded garbage collection, so there is no point that it > is possible to do it. > > The problem is that it has a cost, and the cost is a huge slowdown on mono- > threaded programs. Lucas says "zero". You say "huge". Can we do a better job of quantifying this? Where do you believe the slowdown would come from? Given that GC intensive OCaml programs can spend 30% of their time in the GC, do you not think it might be possible to improve performance by exploiting more cores? Can you give example code that you would expect to be adversely affected the most by a multi-threaded runtime? Cheers, Jon.