all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: Migrating to sourcehut - what's missing?
Date: Thu, 23 Dec 2021 10:11:23 +0100	[thread overview]
Message-ID: <87czlnwuro.fsf@telefonica.net> (raw)
In-Reply-To: 83czlnx1vk.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Óscar Fuentes <ofv@wanadoo.es>
>> Date: Wed, 22 Dec 2021 21:14:37 +0100
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> >> The Emacs build has several parts with no paralellization. In my humble
>> >> 8-thread machine most of the 4.5 minutes it takes to build (without
>> >> native-comp) only one thread is active, and today's CPUs are not much
>> >> faster than mine doing single-threaded tasks.
>> >
>> > If you have 8 threads, why don't you use "make -j8"?
>> 
>> That's what I use.
>> 
>> > Then most of the time you'd see 8 compilation processes run in
>> > parallel.
>> >
>> > That's what I see here.
>> 
>> Probably you are talking about an incremental build.
>
> No, I'm talking about a fresh build, or bootstrap, or a build after
> all the *.elc files have been deleted.

If I execute

rm -rf * && time make bootstrap -j9

on the build directory, it takes 1m28s. If I go to the source directory
and:

git clean -fdx && ./autogen.sh

then go back to the build directory and:

rm -rf * && time ../emacs/configure  --without-toolkit-scroll-bars --with-x-toolkit=lucid --with-modules --without-imagemagick

20s

time make -j9

4m9s

Apart from the configure script and dumping, the bulk of the time the
build is running single-threaded is while doing:

INFO     Processing OKURI-NASI entries...

and even longer:

INFO     Scraping files for loaddefs.el...

BTW, this is in Debian Testing.

> The only single-threaded parts I see is (a) the configure script (and
> autogen.sh, if that needs to be run), and (b) the link stage of the
> Emacs executable.  Everything else runs in parallel, and if I says
> "make -j8" I see load-average show numbers around 8 most of the time
> on the mode line.

Try building after `git clean -fdx'.




  parent reply	other threads:[~2021-12-23  9:11 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 12:51 Migrating to sourcehut - what's missing? Theodor Thornhill
2021-12-21 17:32 ` Stefan Kangas
2021-12-21 18:30   ` Theodor Thornhill
2021-12-21 18:58     ` Eric Abrahamsen
2021-12-21 21:24       ` Philip Kaludercic
2021-12-21 21:29         ` Theodor Thornhill
2021-12-21 21:41           ` Eric Abrahamsen
2021-12-21 21:42           ` Philip Kaludercic
2021-12-21 22:02             ` Theodor Thornhill
2021-12-21 22:28               ` Theodor Thornhill
2021-12-21 22:43                 ` Philip Kaludercic
2021-12-21 23:24                   ` Theodor Thornhill
2021-12-22  8:04                 ` tomas
2021-12-22  9:40                   ` Po Lu
2021-12-22 10:01                     ` tomas
2021-12-22 15:40                     ` Stefan Kangas
2021-12-22 11:57                 ` Lars Ingebrigtsen
2021-12-22 12:19                   ` Po Lu
2021-12-22 12:58                     ` Theodor Thornhill
2021-12-22 13:01                       ` Po Lu
2021-12-22 13:03                         ` Theodor Thornhill
2021-12-22 13:05                           ` Lars Ingebrigtsen
2021-12-22 13:11                             ` Theodor Thornhill
2021-12-22 13:17                               ` Lars Ingebrigtsen
2021-12-22 13:22                                 ` Theodor Thornhill
2021-12-22 13:28                                   ` Lars Ingebrigtsen
2021-12-22 16:53                                   ` Stefan Kangas
2021-12-22 16:57                                     ` Theodor Thornhill
2021-12-22 13:38                               ` Lars Ingebrigtsen
2021-12-22 13:43                                 ` Theodor Thornhill
2021-12-22 13:47                                   ` Lars Ingebrigtsen
2021-12-22 13:53                                     ` Theodor Thornhill
2021-12-22 14:00                                       ` Lars Ingebrigtsen
2021-12-22 14:07                                         ` Theodor Thornhill
2021-12-22 17:30                                           ` Lars Ingebrigtsen
2021-12-22 17:34                                             ` Lars Ingebrigtsen
2021-12-22 19:08                                             ` Óscar Fuentes
2021-12-22 19:18                                               ` Lars Ingebrigtsen
2021-12-22 19:45                                                 ` Óscar Fuentes
2021-12-22 19:58                                                   ` Lars Ingebrigtsen
2021-12-22 19:20                                               ` Eli Zaretskii
2021-12-22 20:14                                                 ` Óscar Fuentes
2021-12-23  6:37                                                   ` Eli Zaretskii
2021-12-23  7:37                                                     ` Lars Ingebrigtsen
2021-12-23  9:11                                                     ` Óscar Fuentes [this message]
2021-12-22 14:10                                         ` Lars Ingebrigtsen
2021-12-22 15:40                                           ` Stefan Kangas
2021-12-23  3:43                                             ` Richard Stallman
2021-12-22 15:02                                         ` Theodor Thornhill
2021-12-22 13:49                                 ` Jean-Christophe Helary
2021-12-22 12:58                   ` Theodor Thornhill
2021-12-23  8:40                   ` Lars Ingebrigtsen
2021-12-23  8:53                     ` Theodor Thornhill
2021-12-23  9:00                       ` Lars Ingebrigtsen
2021-12-25 16:20                         ` Stefan Kangas
2021-12-26  2:07                           ` Po Lu
2021-12-26 11:29                           ` Lars Ingebrigtsen
2021-12-23  9:15                       ` Eli Zaretskii
2021-12-23  9:22                         ` Theodor Thornhill
2021-12-23  9:53                           ` Eli Zaretskii
2021-12-23 10:01                             ` Theodor Thornhill
2021-12-23 14:24                       ` Philip Kaludercic
2021-12-23 14:28                         ` Theodor Thornhill
2021-12-24  1:29                         ` Sean Whitton
2021-12-24  8:32                           ` Drew DeVault
2021-12-22 15:11                 ` Eli Zaretskii
2021-12-22 15:14                   ` Lars Ingebrigtsen
2021-12-22 16:35                     ` Eli Zaretskii
2021-12-22 16:37                       ` Lars Ingebrigtsen
2021-12-22 16:43                       ` Theodor Thornhill
2021-12-22 15:16                   ` Theodor Thornhill
2021-12-22 15:22                     ` Dmitry Gutov
2021-12-22 15:45                       ` Theodor Thornhill
2021-12-22 16:11                         ` Dmitry Gutov
2021-12-22 16:07                       ` Stefan Kangas
2021-12-22 16:16                         ` Lars Ingebrigtsen
2021-12-22 17:23                         ` Eli Zaretskii
2021-12-22 16:44                       ` Eli Zaretskii
2021-12-22 22:16                         ` Dmitry Gutov
2021-12-28 17:01                           ` Eli Zaretskii
2021-12-29  1:57                           ` john muhl
2021-12-22 16:39                     ` Eli Zaretskii
2021-12-21 21:39         ` john muhl
2021-12-21 21:48           ` Philip Kaludercic
2021-12-21 21:42       ` Stefan Kangas
2021-12-21 21:45         ` Eric Abrahamsen
2021-12-21 19:52     ` Sean Whitton
2021-12-21 20:30       ` Theodor Thornhill
2021-12-21 21:28         ` Theodor Thornhill
2021-12-21 21:42     ` Stefan Kangas
2021-12-21 22:00       ` Theodor Thornhill
2021-12-22  4:16 ` Richard Stallman
2021-12-22  6:28   ` Theodor Thornhill
2021-12-22  7:30   ` Theodor Thornhill
2021-12-22 10:25     ` Joost Kremers
2021-12-22 10:41       ` Theodor Thornhill
  -- strict thread matches above, loose matches on Subject: below --
2021-12-21 20:32 Vitaly Ankh
2021-12-21 21:09 ` Stefan Kangas
2021-12-22  4:16 ` Richard Stallman
2021-12-21 21:54 xenodasein--- via Emacs development discussions.
2021-12-21 22:08 ` Philip Kaludercic
2021-12-21 23:00   ` xenodasein--- via Emacs development discussions.

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=87czlnwuro.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.