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

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



On Mon, 11 Dec 2017, Gabriel Scherer wrote:

> There is an instrumentation mode for the OCaml GC whose usage I have described in a blog post and on the caml-list:
>
>   http://prl.ccs.neu.edu/blog/2016/05/24/measuring-gc-latencies-in-haskell-ocaml-racket/
>   https://sympa.inria.fr/sympa/arc/caml-list/2016-05/msg00219.html
>
> (I am realizing that the simple change I proposed, of building the instrumented runtime by default, was forgotten, and will submit a pull request shortly -- hopefully it will be present in 4.07... In the meantime, people have to
> build the compiler with the -with-instrumented-runtime flag explicitly set.)

Thanks for the pointer.

julia

>
> On Mon, Dec 11, 2017 at 7:53 PM, Julia Lawall <julia.lawall@lip6.fr> wrote:
>
>
>       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
>       >
>       >
>       >
>       >
>
>       --
>       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
>
>
>
>

  reply	other threads:[~2017-12-11 21:05 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
2017-12-11 20:56     ` Gabriel Scherer
2017-12-11 21:05       ` Julia Lawall [this message]
  -- 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.1712112204460.4077@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=caml-list@inria.fr \
    --cc=gabriel.scherer@gmail.com \
    --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).