caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Yawar Amin <yawar.amin@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] gc overhead
Date: Mon, 11 Dec 2017 19:53:04 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.20.1712111951580.4077@hadrien> (raw)
In-Reply-To: <CAJbYVJJot9tKpJiWt0U_A7Zc3GqiAsg1BDDJy1Dy0Sw9KROP_Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]



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 <julia.lawall@lip6.fr> 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
>
>
>
>

  parent reply	other threads:[~2017-12-11 18:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28 18:11 Julia Lawall
2017-11-28 20:05 ` Yawar Amin
2017-11-29  6:20   ` Julia Lawall
2017-12-11 18:53   ` Julia Lawall [this message]
2017-12-11 20:56     ` Gabriel Scherer
2017-12-11 21:05       ` Julia Lawall
  -- strict thread matches above, loose matches on Subject: below --
2010-03-01  0:16 Warren Harris
2010-03-01  8:54 ` [Caml-list] " Richard Jones
2010-03-02 20:11   ` Warren Harris
2010-03-02 21:01     ` Peter Hawkins
2010-03-02 23:08       ` Warren Harris
2010-03-03  0:55         ` Peter Hawkins
2010-03-03  7:06           ` Warren Harris
2010-03-03  8:33             ` David MENTRE
2010-03-03  8:49 ` Olivier Andrieu
2010-03-03 11:11 ` Goswin von Brederlow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1712111951580.4077@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=caml-list@inria.fr \
    --cc=yawar.amin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).