From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Speeding up parallel compilation
Date: Wed, 05 Sep 2012 23:13:03 -0400 [thread overview]
Message-ID: <jwv4nnbluiu.fsf-monnier+emacs@gnu.org> (raw)
The recent change I installed which macro-expands Elisp code eagerly
upon load does not speed up sequential compilation very much, but it
seems to help parallel compilation significantly: on a 12-core
24-threads machine, "make -j24 bootstrap" went down from 2:20 to 1:50,
and the CPU utilization went up (from 800% to 1000%).
In other words, this mostly sped up a part of the compilation which does
not parallelize well. I guess that would be either the construction of
loaddefs, or the compilation of the compiler.
So, lucky those with manycore systems.
Stefan
next reply other threads:[~2012-09-06 3:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-06 3:13 Stefan Monnier [this message]
2012-09-06 12:32 ` Speeding up parallel compilation joakim
2012-09-06 14:30 ` Stefan Monnier
2012-09-06 16:19 ` parallel compilation --with-ns (was: re: Speeding up parallel compilation) chad
2012-09-06 16:21 ` parallel compilation --with-ns Paul Eggert
2012-09-10 18:25 ` Sudish Joseph
2012-09-10 20:41 ` chad
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=jwv4nnbluiu.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.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).