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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id B8230BC57 for ; Mon, 29 Nov 2010 18:29:59 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtMBAG9x80xKfVI0kGdsb2JhbACDUJ8uCBUBAQEBCQkMBxEDH6koiSg8ghiFBC6IVgEBAwWET3MEjlc X-IronPort-AV: E=Sophos;i="4.59,276,1288566000"; d="asc'?scan'208";a="68380411" Received: from mail-ww0-f52.google.com ([74.125.82.52]) by mail3-smtp-sop.national.inria.fr with ESMTP; 29 Nov 2010 18:29:59 +0100 Received: by wwd20 with SMTP id 20so506423wwd.9 for ; Mon, 29 Nov 2010 09:29:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=yj9vdkN41YeQUnkP28HAUY2PstJ85QRNH4rmXZD3E+0=; b=M7ztM28KkEfnEljaEDGJXQWOXM7ZtwkACosaguVezoyeXPWfEQ/EsalGziogiG3Qbq cuqUMjdNpeSi2M0zxbhuLUA9K13Ru1/vgmVMfrDYmFVUNM7jxyDzoUVDTYT8nkitTc0+ 40ey4nhC7PlItee2p1ubXaXQOsMU+raK277d8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=QGUYzC/84uHjv5kJM+bOHJxmPJI3YPuDy48j0bSdvD4YEi0NVb14gfdVY9eOL1nNCy BeokfkzQwaHsmgk4BQC2kR8Y0O7vMW7i2g1Cj1rGueIRIAP9MkNBDabLghS17tqhYJhF 70AabzuxOzjT5fqwj+hqi3SPCRq8KlImenzJk= Received: by 10.227.142.197 with SMTP id r5mr6318908wbu.197.1291051798106; Mon, 29 Nov 2010 09:29:58 -0800 (PST) Received: from macbookpro.local (vpn-b-advanced.univ-savoie.fr [193.48.127.14]) by mx.google.com with ESMTPS id h29sm3653116wbc.3.2010.11.29.09.29.52 (version=SSLv3 cipher=RC4-MD5); Mon, 29 Nov 2010 09:29:53 -0800 (PST) Message-ID: <4CF3E30A.7090100@univ-savoie.fr> Date: Mon, 29 Nov 2010 18:29:46 +0100 From: Christophe Raffalli User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: oliver@first.in-berlin.de, OCaml Subject: Re: [Caml-list] Re: Is OCaml fast? References: <20101123232742.GC28768@siouxsie> <4CF12ABF.7010803@univ-savoie.fr> <20101128181748.GB1689@siouxsie> <4CF35735.1070400@univ-savoie.fr> <094801cb8fb8$2f7ebaa0$8e7c2fe0$@com> <20101129114445.GA4859@siouxsie> In-Reply-To: <20101129114445.GA4859@siouxsie> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC2E6D17B3C5D909EAF003072" X-Spam: no; 0.00; christophe:01 raffalli:01 ocaml:01 in-berlin:01 cheers:01 christophe:01 wrote:01 oliver:01 heap:01 heap:01 caml-list:01 minor:01 minor:01 posix:01 behaviour:01 X-Attachments: cset="UTF-8" type="application/pgp-signature" name="signature.asc" name="signature.asc" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC2E6D17B3C5D909EAF003072 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le 29/11/10 12:44, oliver@first.in-berlin.de a =C3=A9crit : > yes. > > On Mon, Nov 29, 2010 at 11:25:52AM -0000, Jon Harrop wrote: >> I assume he means one thread has one behaviour and another has the oth= er behaviour, in which case there certainly is a problem! Then, I do not know what you can do ... Each thread does not have its own minor heap, so the size is the same for all ... probably in this case you want to favor reactivity and keep the minor heap small ? Anyway, In this situation, even with the default size, with Posix thread, I do have problems with too slow switching with one thread computing while the other is in charge of the interface ... Cheers, Christophe --------------enigC2E6D17B3C5D909EAF003072 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzz4w4ACgkQi9jr/RgYAS4+6wCbB9pZhydZfWOkMvw2fbBNlwyM J94AnjlV24gJ9wg+upbGhaMGz9tGKqt2 =Uf14 -----END PGP SIGNATURE----- --------------enigC2E6D17B3C5D909EAF003072--