From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46494: 28.0.50; [native-comp] Problems with async background compile Date: Tue, 16 Mar 2021 20:48:33 +0000 Message-ID: References: <52dad420-fd72-fe1c-6f74-f4c114a2deb8@gmail.com> <83czvzdk1v.fsf@gnu.org> <864khayi53.fsf@gmail.com> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38399"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46494-done@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 16 21:49:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMGco-0009sz-Ao for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 21:49:10 +0100 Original-Received: from localhost ([::1]:45548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMGcm-00040Y-OW for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 16:49:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMGcg-00040E-3D for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 16:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMGcf-0007iv-Ra for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 16:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMGcf-0003CY-RL for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 16:49:01 -0400 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Mar 2021 20:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 46494 X-GNU-PR-Package: emacs Mail-Followup-To: 46494@debbugs.gnu.org, akrl@sdf.org, andrewjmoreton@gmail.com Original-Received: via spool by 46494-done@debbugs.gnu.org id=D46494.161592772012273 (code D ref 46494); Tue, 16 Mar 2021 20:49:01 +0000 Original-Received: (at 46494-done) by debbugs.gnu.org; 16 Mar 2021 20:48:40 +0000 Original-Received: from localhost ([127.0.0.1]:41164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMGcK-0003Bs-0P for submit@debbugs.gnu.org; Tue, 16 Mar 2021 16:48:40 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:56716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMGcG-0003Bh-5D for 46494-done@debbugs.gnu.org; Tue, 16 Mar 2021 16:48:39 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12GKmXjo019975 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 16 Mar 2021 20:48:33 GMT In-Reply-To: <864khayi53.fsf@gmail.com> (Andy Moreton's message of "Tue, 16 Mar 2021 20:10:16 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202495 Archived-At: Andy Moreton writes: > On Tue 16 Mar 2021, Eli Zaretskii wrote: > >>> Cc: 46494@debbugs.gnu.org >>> Date: Tue, 16 Mar 2021 16:53:21 +0000 >>> From: Andrea Corallo via "Bug reports for GNU Emacs, >>> the Swiss army knife of text editors" >>> >>> Hi Andy, >>> >>> is there anything left to be done for this bug? >> >> I'm not Andy (so let's wait for him to speak up), but here's my take. >> >> This bug had 3 parts: >> >> a) Bug #46256 describes problems with AOT compiled native-comp emacs not >> finding prebuilt .eln files when built for mingw64 64bit on Windows. >> >> As a result, emacs complains with an echo area warning for every .eln >> file that it cannot find in the expected location. >> >> The stream of frequent warnings that causes make emacs mostly >> unresponsive to user input. >> >> b) The "background" async compilation of .eln files is CPU intensive and >> somewhat slow. The default settings run a compile on every available >> core, which is unfriendly for other workloads running on the same >> machine. >> >> It would be helpful to users to have a command to show the state of >> the async background compilation, including the running compile >> processes and the queue of pending compilation requests. >> >> c) Quitting emacs when async compilation processes are running sometimes >> causes crashes in the compile processes, which show the emacs abort >> dialog (once for each async process). The dialogs disappear after a >> short delay (presumably due to the parent emacs having exited). >> >> c) Has been solved. >> b) doesn't seem to be a problem IME, we use half the cores, and >> there's a way to customize that number >> a) I didn't see at all, so I think it's also solved. > > > Eli's take is a good summary of the issues. > (a) is fixed. > (b) is a wish-list item that will help ordinary users understand what > the compiler is doing. > (c) is fixed. > > Given the epic length of the discussion in this bug, I think we should > probably close this bug report, and open fresh ones for any other > issues. > > The native branch has received attention from a wider group of testers > over the last few weeks, and as a result is much more solid. Thanks to > all concerned for much hard work. Nice, I'm closing this then. Thanks! Andrea