From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: akrl--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45858: 28.0.50; [native-comp] compilation very slow Date: Thu, 28 Jan 2021 21:20:39 +0000 Message-ID: References: <871reniu3r.fsf@telefonica.net> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40265"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45858@debbugs.gnu.org To: =?UTF-8?Q?=C3=93scar?= Fuentes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 28 22:21:37 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 1l5EjP-000AKa-DE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 22:21:35 +0100 Original-Received: from localhost ([::1]:50882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5EjO-00068o-FA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 16:21:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5Eit-0005lF-4S for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 16:21:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5Eis-0007nT-27 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 16:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l5Eir-0004tq-Tc for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 16:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2021 21:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45858 X-GNU-PR-Package: emacs Original-Received: via spool by 45858-submit@debbugs.gnu.org id=B45858.161186884618782 (code B ref 45858); Thu, 28 Jan 2021 21:21:01 +0000 Original-Received: (at 45858) by debbugs.gnu.org; 28 Jan 2021 21:20:46 +0000 Original-Received: from localhost ([127.0.0.1]:50429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5Eib-0004sq-QO for submit@debbugs.gnu.org; Thu, 28 Jan 2021 16:20:46 -0500 Original-Received: from mab.sdf.org ([205.166.94.33]:52774 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5EiX-0004se-LO for 45858@debbugs.gnu.org; Thu, 28 Jan 2021 16:20:45 -0500 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1l5EiV-00031M-CE; Thu, 28 Jan 2021 21:20:39 +0000 In-Reply-To: <871reniu3r.fsf@telefonica.net> ("=?UTF-8?Q?=C3=93scar?= Fuentes"'s message of "Thu, 14 Jan 2021 13:24:56 +0100") 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:198822 Archived-At: =C3=93scar Fuentes writes: > After starting a new instance of Emacs with an empty eln-cache, > producing .eln files takes a long time. Any typical file takes more than > five minutes, with some files (like lsp-protocol.el, right now) > approaching two hours. Memory consumption is reasonable (155 MB for the > process that is compiling lsp-protocol.el, about 60 MB for a typical > compilation process). > > Right now, after 9 hours, there are 272 .eln files in the cache. > > The machine is a high-end desktop from 2015 and has dozens of GB of free > memory and remains perfectly responsible, this is not the problem about > excessive memory use that was reported previously. There is no other > significant CPU activity. This is behaviour is unexpected, but is kind of hard if not impossible to guess the issue from here. I guess both Emacs and and libgccjit are not debug build correct? Andrea