unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Colascione <dancol@dancol.org>
To: "Eric S. Raymond" <esr@thyrsus.com>, emacs-devel@gnu.org
Subject: Re: Time to drop the pre-dump phase in the build?
Date: Fri, 10 Jan 2014 14:19:24 -0800	[thread overview]
Message-ID: <52D071EC.4090607@dancol.org> (raw)
In-Reply-To: <20140110191530.5772E38019B@snark.thyrsus.com>

On 01/10/2014 11:15 AM, Eric S. Raymond wrote:
> My current transition task is still tag cleanup and signing. I'll
> report on that shortly.
>
> I had some off-list conversation with one of our lurkers about
> tag cleaning. During it he made an interestingly radical suggestion:
> Maybe it's time to stop pre-dumping compiled Lisp into the Emacs build.

Disagree. As other benchmarks in this thread indicate, dumping is still 
a very useful optimization. Besides: the build complexity is 
well-understood.

> While this made sense as a performance hack back in the day, hardware
> (most relevantly disk I/O) is much, *much* faster now.  And SSDs are
> making access to disk not much slower than main memory. Compilation
> on demand might be fast enough today.

Not everyone has an SSD.

> There are good reasons to think about dropping this technique:
>
> (1) It makes cross-build of Emacs a pain in the ass.

Meh?

> (3) Back when I last looked at it (admittedly a long time ago)
>      the dump code was both the largest single source of porting
>      problems and a serious attractor of crash bugs.

That's why the XEmacs portable dumper is better than the current Emacs 
setup. But not by enough to get distracted with ripping the guts out of 
the system.

>
> (4) We're presently buying some startup speed at the cost of a larger
>      minimum working set.

The minimum working set is zero. Modern operating systems demand-page 
necessary information. The dumped information is file-backed, so the 
commit charge is zero as well.

>      under modern cache hierarchies, but I think the question deserves
>      examination.

Unless circumstances have materially change (as they would if, say, 
non-volatile main memory became common), I don't want to waste time 
rehashing old debates.



  parent reply	other threads:[~2014-01-10 22:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-10 19:15 Time to drop the pre-dump phase in the build? Eric S. Raymond
2014-01-10 19:49 ` Eli Zaretskii
2014-01-11  6:16   ` Paul Eggert
2014-01-11  7:17   ` Richard Stallman
2014-01-12  0:16     ` Nix
2014-01-12  3:48       ` Eli Zaretskii
2014-01-12  3:53         ` Eric S. Raymond
2014-01-11  7:17   ` Richard Stallman
2014-01-10 19:51 ` Stefan Monnier
2014-01-10 20:09   ` Eric S. Raymond
2014-01-10 20:13   ` Eli Zaretskii
2014-01-10 20:20 ` Barry Warsaw
2014-01-10 20:30   ` Eli Zaretskii
2014-01-10 21:06     ` Barry Warsaw
2014-01-10 22:19 ` Daniel Colascione [this message]
2014-01-10 22:58   ` David Kastrup
2014-01-11  0:05     ` Daniel Colascione
2014-01-10 23:23   ` Stefan Monnier
2014-01-11  0:07     ` Daniel Colascione
2014-01-11  2:58       ` Stefan Monnier
2014-01-11  3:37         ` Daniel Colascione
2014-01-11  5:13           ` Stefan Monnier
2014-01-11  5:30             ` Daniel Colascione
2014-01-11 16:14           ` Stephen J. Turnbull
2014-01-11 20:13     ` Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=52D071EC.4090607@dancol.org \
    --to=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=esr@thyrsus.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).