From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id pB88JWPC011329 for ; Thu, 8 Dec 2011 09:19:33 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsEKABty4E7RVdK2kWdsb2JhbABAA5o+LYdkAYZqgRgIIgEBAQEJCQ0HEieBcgEBAQMBEgIsATgBAwELAQUFBAc7IhIBBQEcBhMih2UImg4Kjk+ETzCIfgIFDIgLgx0EiC6MPY1vPYFLgk0 X-IronPort-AV: E=Sophos;i="4.71,319,1320620400"; d="scan'208";a="134488472" Received: from mail-iy0-f182.google.com ([209.85.210.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 08 Dec 2011 09:19:24 +0100 Received: by mail-iy0-f182.google.com with SMTP id i7so3586125iaf.27 for ; Thu, 08 Dec 2011 00:19:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=vBXWaC50gKuKVsdLjRjTjviFru38T/4Q/x0X/xfZpIo=; b=q7z1RXcFM/0VKqOqMXQRmq/FXLJyHbY7E1DgP4s4q/DSS9nUXzBntwDmzYEyizb+GM wGhfrI0Es7FbEMk1e/R5jKitfpdedC4EiYGFlfaGrD0/f1VrdOAeqcwnVOjoq8FLzyOL qt+TGMsbNNJg56FJACVKPnUql0TXOht0NvI/M= Received: by 10.50.173.4 with SMTP id bg4mr2666538igc.42.1323332363169; Thu, 08 Dec 2011 00:19:23 -0800 (PST) MIME-Version: 1.0 Sender: warnegia@gmail.com Received: by 10.50.79.8 with HTTP; Thu, 8 Dec 2011 00:19:02 -0800 (PST) In-Reply-To: <4EE05363.8080102@glondu.net> References: <4EE05363.8080102@glondu.net> From: William Le Ferrand Date: Thu, 8 Dec 2011 00:19:02 -0800 X-Google-Sender-Auth: MP9jXatg9kCvSu9hDFN0hVZZa3I Message-ID: To: =?ISO-8859-1?Q?St=E9phane_Glondu?= Cc: caml users Content-Type: multipart/alternative; boundary=e89a8f642ec46d2db804b3905325 Subject: Re: [Caml-list] Storing ocaml values outside ocaml's heap --e89a8f642ec46d2db804b3905325 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi Stephane Yes, but it's not exactly what we're looking for : we plan to access the data at a (very) high rate, so swapping/unswapping would probably kill the performance .. On Wed, Dec 7, 2011 at 10:04 PM, St=E9phane Glondu wrote: > Le 08/12/2011 05:35, William Le Ferrand a =E9crit : > > We are building a cache in ocaml and we're wondering if it would make > > sense to store ocaml values outside the reach of the gc. (gc on a 20GB > > cache hangs the process for a second or so). > > Have you heard of the ancient [1] library? > > [1] http://git.annexia.org/?p=3Docaml-ancient.git;a=3Dsummary > > > Cheers, > > -- > St=E9phane > > --=20 William Le Ferrand Mobile : (+1) (415) 683-1484 Web : http://williamleferrand.github.com/ --e89a8f642ec46d2db804b3905325 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi Stephane

Yes, but it's not exactly what we're= looking for : we plan to access the data at a (very) high rate, so swappin= g/unswapping would probably kill the performance ..=A0


On Wed, Dec 7, 2011 at 10:04 PM, St=E9phane Glondu <steph@glondu.net>= ; wrote:
Le 08/12/2011 05:35, William Le Ferrand a = =E9crit :
> We are building a cache in ocaml and we're wondering if it wo= uld make
> sense to store ocaml values outside the reach of the gc. (gc on a 20GB=
> cache hangs the process for a second or so).

Have you heard of the ancient [1] library?

[1] http://git.annexia.org/?p=3Docaml-ancient.git;a=3Dsummary<= /a>


Cheers,

--
St=E9phane




--
Willi= am Le Ferrand


--e89a8f642ec46d2db804b3905325--