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

Thank you for the explanation.  It is interesting that changing
optimisation levels is something that needs to be done so carefully.

Andy

On Sat, Sep 19, 2015 at 11:32 PM, Gabriel Scherer
<gabriel.scherer@gmail.com> wrote:
> 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 23:24 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
2015-09-19 23:24   ` Andy Ray [this message]
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=CAHYOizE8G8Kr7vWZfZcn0qJK2X_5X72NR67g3G4kDCjU5pHcMQ@mail.gmail.com \
    --to=andy.ray@ujamjar.com \
    --cc=caml-list@inria.fr \
    --cc=gabriel.scherer@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).