From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id E17C582355 for ; Mon, 11 Dec 2017 19:53:05 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.45,392,1508796000"; d="scan'208";a="304986227" Received: from dmz01.dagstuhl.de (HELO hadrien.local) ([192.76.146.22]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2017 19:53:05 +0100 Date: Mon, 11 Dec 2017 19:53:04 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Yawar Amin cc: caml-list@inria.fr In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-1602350471-1513018385=:4077" Subject: Re: [Caml-list] gc overhead --8323329-1602350471-1513018385=:4077 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Tue, 28 Nov 2017, Yawar Amin wrote: > Hi Juli, you can take a lookat https://realworldocaml.org/v1/en/html/understanding-the-garbage-collecto > r.html for some explanations of the various knobs. Specifically, the in-text > note sections (marked with the icon of two pages) give some helpful hints. > The first one on the page is 'Setting the Size of the Minor Heap'. Is it possible to know when a major GC starts, to be able to measure the time spent? I saw the verbose flag in the control structure, but that just prints a message. I don't see how to get the time. thanks, julia > Regards, > > Yawar > > On Tue, Nov 28, 2017 at 1:11 PM, Julia Lawall wrote: > Hello, > > Is there any reasonable way to reduce the amount of garbage > collection > activity in an OCaml program?  I see various knobs in the > control > structure, but I don't know what the impact of changing the > values would > be. > > thanks, > juli > > -- > Caml-list mailing list.  Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > > > > --8323329-1602350471-1513018385=:4077--