From: Mark Shinwell <mshinwell@janestreet.com>
To: Alain Frisch <alain@frisch.fr>
Cc: Yaron Minsky <yminsky@janestreet.com>,
Gerd Stolpmann <info@gerd-stolpmann.de>,
Bob Zhang <bobzhang1988@gmail.com>,
Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] improve omake [was One build system to rule them all]
Date: Tue, 23 Sep 2014 11:58:20 +0100 [thread overview]
Message-ID: <CAM3Ki75No1h6S3iqRPwqR-78HGh4puzhaxHbPEPdL+jgyJ7iig@mail.gmail.com> (raw)
In-Reply-To: <54214E1C.4010507@frisch.fr>
On 23 September 2014 11:40, Alain Frisch <alain@frisch.fr> wrote:
> On 09/19/2014 05:18 PM, Yaron Minsky wrote:
>>
>> - The build itself has limited parallelism because of various
>> bottlenecks inside omake, like the fact that it computes its md5sums
>> in a single process.
>
> I think that omake doesn't usually recompute the md5 when the file hasn't
> changed (probably based on the mtime, maybe inode as well), so I'm surprised
> by the claim. Did you actually confirm that the computation of md5 was one
> of the bottlenecks or is it just an hypothesis?
Without wishing to prolong a discussion about improving omake...
I think the details are hazy now, but as far as we recall: your
statement about avoiding recomputation is correct, but a lot of md5sum
work happened subsequent to each compilation action in serial, within
the omake process.
By no means was this the only problem; another, for example, was a
vast amount of time spent constructing rules for an entire tree even
if only a small portion was being demanded to be built.
(Of course, the worst problem with omake was probably the DSL, which
we found to be wholly unsuitable for large-scale reliable rule
engineering. Programmability really is key.)
Mark
next prev parent reply other threads:[~2014-09-23 10:58 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-18 20:14 Bob Zhang
2014-09-18 20:30 ` Aleksey Nogin
2014-09-20 14:59 ` Jun Furuse
2014-09-18 20:34 ` Sébastien Dailly
2014-09-18 21:32 ` Yaron Minsky
2014-09-19 12:23 ` Alain Frisch
2014-09-19 12:29 ` Nicolas Boulay
2014-09-19 13:36 ` Gerd Stolpmann
2014-09-19 14:00 ` Alain Frisch
2014-09-19 15:18 ` Yaron Minsky
2014-09-19 17:18 ` Gerd Stolpmann
2014-09-19 17:48 ` Yaron Minsky
2014-09-23 10:40 ` Alain Frisch
2014-09-23 10:58 ` Mark Shinwell [this message]
2014-09-23 20:12 ` Alain Frisch
2014-09-24 2:35 ` Yaron Minsky
2014-09-22 15:33 Bob Zhang
2014-09-24 13:37 ` Gerd Stolpmann
2014-09-24 15:47 ` Alain Frisch
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=CAM3Ki75No1h6S3iqRPwqR-78HGh4puzhaxHbPEPdL+jgyJ7iig@mail.gmail.com \
--to=mshinwell@janestreet.com \
--cc=alain@frisch.fr \
--cc=bobzhang1988@gmail.com \
--cc=caml-list@inria.fr \
--cc=info@gerd-stolpmann.de \
--cc=yminsky@janestreet.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