caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Andy Ray <andy.ray@ujamjar.com>
Cc: Ocaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Faster byte code
Date: Sun, 20 Sep 2015 00:32:23 +0200	[thread overview]
Message-ID: <CAPFanBEOyNOYOTQnawXTrhsAryCF0cxQGR-gWM-KcOO8T-i6Qg@mail.gmail.com> (raw)
In-Reply-To: <CAHYOizHVkDRjLBXdg6tA_pqfisHStqpfM8PkEShWVrwGwQ+nyw@mail.gmail.com>

I believe the change that was described is the now-merged

  GPR#226: Compiling the run-time system at higher levels of C optimization
  https://github.com/ocaml/ocaml/pull/226

From the experiments reported by Xavier, I have the impression that
most gains are about the way the C compiler optimizes the bytecode
dispatch loop, so these would be specific to running bytecode-compiled
programs. Native programs should also benefit by linking to a
better-optimized runtime system, but no noticeable gains have been
observed on these so far -- probably because a lot of the runtime code
is memory-access-bound and harder to optimize.

Note that we don't have much performance numbers for now, so extra
data points are welcome: if you have a program spending a noticeable
time in specific parts of the runtime system, you might see a gain.

On Sun, Sep 20, 2015 at 12:06 AM, Andy Ray <andy.ray@ujamjar.com> wrote:
> Hi,
>
> Xavier; you mentioned during the state of ocaml 2015 talk that there
> was a 30% faster bytecode runtime coming.  Is there any more
> information on this?  I found this part of the talk difficult to
> follow on youtube.
>
> I am mainly interested if there will be a change in the bytecode
> runtime, or if it is related to the compiler.
>
> Regards,
> Andy
>
> --
> 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:[~2015-09-19 22:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-19 22:06 Andy Ray
2015-09-19 22:32 ` Gabriel Scherer [this message]
2015-09-19 23:24   ` Andy Ray
2015-09-20 18:57     ` Adrien Nader

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=CAPFanBEOyNOYOTQnawXTrhsAryCF0cxQGR-gWM-KcOO8T-i6Qg@mail.gmail.com \
    --to=gabriel.scherer@gmail.com \
    --cc=andy.ray@ujamjar.com \
    --cc=caml-list@inria.fr \
    /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).