From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: emacs-devel@gnu.org, Dmitry Gutov <dgutov@yandex.ru>
Subject: Re: /srv/bzr/emacs/emacs-24 r111116: eval-after-load fix
Date: Fri, 04 Jan 2013 13:10:00 -0500 [thread overview]
Message-ID: <jwv1ue0hlss.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87sj6hb4f0.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Fri, 04 Jan 2013 19:58:43 +0900")
> The arguments that killed purespace for us were (1) most users
> (including most of those who argued for keeping purespace :-) are in
> one-xemacs-process-per-machine workflows, and (2) in theory modern
> virtual memory management by OSes (we were specifically influenced by
> Linux and Windows) should produce most of the benefits of purespace
> anyway, since the dumped code contains only a few writable objects,
> and those tend to be clumped on a very few pages per file, such that
> the potentially written pages might be measured in 100s of KB out of
> the 3-5 MB (at that time) of XEmacs memory.
> I'm not sure I believe (2), though.
I also doubt 2 is true, unless XEmacs's object layout has been changed
to move the markbit out of their objects. All live objects's markbits
get written during a GC (except for purespace, of course), regardless of
the object being read-only.
But I don't see this sharing as tremendously important: we're talking
about a purespace of about 2MB, for a process whose code size is larger
and whose minimal runtime size is also a good bit larger.
Negligible? I don't know! but not terribly important.
OTOH the GC time at start up is reduced by almost a factor 3 (the Lisp
heap size of "emacs -Q" is about 1MB, whereas it'd be around 3MB if it
weren't for the purespace). On the third hand, this Gnus process has
a Lisp heap size of about 100MB, so the purespace makes virtually no
difference (we'd need a generational GC, instead).
Stefan
next prev parent reply other threads:[~2013-01-04 18:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1TqZR5-0007qr-6Z@vcs.savannah.gnu.org>
2013-01-03 1:27 ` /srv/bzr/emacs/emacs-24 r111116: eval-after-load fix Dmitry Gutov
2013-01-03 1:38 ` Glenn Morris
2013-01-03 3:27 ` Stephen J. Turnbull
2013-01-04 5:34 ` Dmitry Gutov
2013-01-04 10:58 ` Stephen J. Turnbull
2013-01-04 18:10 ` Stefan Monnier [this message]
2013-01-04 22:32 ` Dmitry Gutov
2013-01-05 2:54 ` Stephen J. Turnbull
2013-01-04 5:32 ` Dmitry Gutov
2013-01-04 9:39 ` Andreas Schwab
2013-01-04 10:41 ` joakim
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=jwv1ue0hlss.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=stephen@xemacs.org \
/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).