Your message dated Wed, 30 Aug 2023 08:40:24 +0000
with message-id <[email protected]>
and subject line Bug#1050577: fixed in emacs 1:29.1+1-5
has caused the Debian Bug report #1050577,
regarding emacs: please limit number of native-compilation workers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1050577: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050577
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs
Version: 1:29.1+1-2
Severity: wishlist

    native-comp-async-jobs-number is a variable defined in ‘comp.el’.

    Its value is 0

    Default number of subprocesses used for async native compilation.
    Value of zero means to use half the number of the CPU’s execution units,
    or one if there’s just one execution unit.

I think the upstream default is too aggressive, and we should set it
to a smaller number to reduce the "fork bomb" like behaviour of
spawning NUM_PHYSICAL_CORES worker processes for each user created
emacs process. This particularly manifests itself if the user is
running more than one emacs process. As an example, prior to patching
the notmuch test suite, I got 200 native compilation processes on my
desktop.

Upstream may be correct that "one emacs process per machine" is the
most common scenario, but the bad outcome of having the limit too
small seems better than the bad outcome of having it too high.  People
do use emacs in lots of other scenarios (e.g. servers and automated
processes), and expecting them all to customize their emacs to avoid a
performance / UX regression seems unkind.  AFAICT since the native
compilation is asynchronous, there is no obvious pause by queuing the
compilation jobs.


-- System Information: Debian Release: trixie/sid APT prefers testing
APT policy: (500, 'testing') Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages emacs depends on:
ii  emacs-gtk  1:29.1+1-2

emacs recommends no packages.

emacs suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: emacs
Source-Version: 1:29.1+1-5
Done: Sean Whitton <[email protected]>

We believe that the bug you reported is fixed in the latest version of
emacs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sean Whitton <[email protected]> (supplier of updated emacs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 30 Aug 2023 08:53:05 +0100
Source: emacs
Architecture: source
Version: 1:29.1+1-5
Distribution: unstable
Urgency: medium
Maintainer: Rob Browning <[email protected]>
Changed-By: Sean Whitton <[email protected]>
Closes: 1050577 1050653
Changes:
 emacs (1:29.1+1-5) unstable; urgency=medium
 .
   * Don't try to build with native compilation on riscv64 (Closes: #1050653).
     Thanks to Aurelien Jarno and Bo YU.
 .
   * Change native-comp-async-jobs-number default to 1 (Closes: #1050577).
 .
   * d/rules: Re-encode in UTF-8.
 .
   * d/copyright: Standardise continuation lines.
 .
   * d/compat: Replace with debhelper-compat build-dep.
   * d/control: Update build-dep libncurses5-dev -> libncurses-dev.
   * d/control emacs-common: Comment out redundant Recommends of emacs-el.
   * d/control emacs-common: Drop some very old Breaks emacsNN entries.
 .
   * Fix binary-without-manpage Lintian overrides.
   * Add two Lintian overrides.
Checksums-Sha1:
 7ed1f1755c9338425530c3fdbc2761a153a2d70c 3103 emacs_29.1+1-5.dsc
 2e044ba446c435977e1ff1087980027a5907db71 62656 emacs_29.1+1-5.debian.tar.xz
Checksums-Sha256:
 9abf38ec7fb73c1e256c45f6ca714f2e59aeb20e33b08674aeb2fbba7d7525a2 3103 
emacs_29.1+1-5.dsc
 4a0b4fe69723f1fa8576782f7a4f11189ad6f9dd9812b067a845dba498be804d 62656 
emacs_29.1+1-5.debian.tar.xz
Files:
 6bb84cddbf719d96079100def21322eb 3103 editors optional emacs_29.1+1-5.dsc
 9e8d33e82fd1a9ec3f85e6d41992dbec 62656 editors optional 
emacs_29.1+1-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmTu9mkACgkQaVt65L8G
YkBZfg//bd0kj/GfpxP29Y9G1nSytq1/p2ydwsbdEZiXN84kJIOZtF6uQJn6QiQY
BcQQ+NOZjIK/cXne5gJuQeiZHAkLzjefgfSXrqAkWXWhO9i0KI7woilEycpvCjM/
DyL+dP2yT2rQKgxsTwpNoGWp5Hbf8Cg2RqzP3EC/h4lK4mAwzgtH4vqJFN0/QXOa
MAkBc1qTjU6CVPAcY1lOmUuSGteZ8XBGlwe1uWePq9EiIpujF1s2WZuhtcLuQ+tu
KtQVldGyXhNSMwlU7aLTw96W1RpmtA/jqlsEXHlynQUt2dgPmiHpsBlZWcXN2Pun
b4l+cx+zVonNuqQ7ZQ6dvLNi8OnWYiAPpU2Hu8Aj/mrnown4u+NfHTCyuFWsasZ8
J5jP8poCpGQNQ0sMdu+SG61C8lTqDhcyVlEDRGmmsrkpu+FJ5/jDjn8e2TfOueC1
G9s5AuqQ077ekZCfLaEmkfys4KWO3X0/8pRxIT+bc2TMCRxgu+FG4DAULI+DgEIK
1KQ9StIACWfJ7QCjR3cIydMVZ5oj0khfvciM2tgHjIuOSI3bCkYXFNuLVEh6FmQH
/zc9QviD/Ny65efF9/UWlGS7KX/2gFbMDzwDEYszgOv+vuzs5Ohe2JqaZsT0uZpV
Cg5plWFaucdowDt43cuS2vEUBXeDxMRjb1dfPS7NXqgUptywwsY=
=1HWR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to