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#43269: 28.0.50; [feature/native-comp] provide a user feedback on Emacs being native compiled Date: Wed, 09 Sep 2020 18:15:51 +0000 Message-ID: References: <83wo15msrj.fsf@gnu.org> <83tuw9mmfe.fsf@gnu.org> <83sgbtm2d3.fsf@gnu.org> <062E9DA2-B039-4AAD-802B-7333971F5B73@gnu.org> <83ft7smjcd.fsf@gnu.org> <83h7s7kpfr.fsf@gnu.org> <83wo13j5i1.fsf@gnu.org> <83tuw6kgyd.fsf@gnu.org> 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="8095"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: rms@gnu.org, arthur.miller@live.com, 43269@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 09 20:16:13 2020 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 1kG4dh-0001vT-3t for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Sep 2020 20:16:13 +0200 Original-Received: from localhost ([::1]:46920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kG4dg-0002Bk-3G for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Sep 2020 14:16:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kG4dW-000288-Vo for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 14:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kG4dW-00041Q-MU for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 14:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kG4dW-0002vU-HK for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 14:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Sep 2020 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43269 X-GNU-PR-Package: emacs Original-Received: via spool by 43269-submit@debbugs.gnu.org id=B43269.159967536011097 (code B ref 43269); Wed, 09 Sep 2020 18:16:02 +0000 Original-Received: (at 43269) by debbugs.gnu.org; 9 Sep 2020 18:16:00 +0000 Original-Received: from localhost ([127.0.0.1]:34521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG4dR-0002qb-UQ for submit@debbugs.gnu.org; Wed, 09 Sep 2020 14:16:00 -0400 Original-Received: from mab.sdf.org ([205.166.94.33]:50002 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG4dO-0002m9-2b for 43269@debbugs.gnu.org; Wed, 09 Sep 2020 14:15:56 -0400 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kG4dL-0007Qy-RO; Wed, 09 Sep 2020 18:15:51 +0000 In-Reply-To: <83tuw6kgyd.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 09 Sep 2020 20:17:30 +0300") 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:187689 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: rms@gnu.org, arthur.miller@live.com, 43269@debbugs.gnu.org >> Date: Wed, 09 Sep 2020 16:32:58 +0000 >> >> > Is this with "make" or with "make -jN"? if the latter, what value of N >> > was used? >> >> $ git clean -xfd && ./autogen.sh && ./configure --without-x >> --with-nativecomp && time make NATIVE_FAST_BOOT=1 -j16 >> [...] >> real 4m19.570s >> user 28m59.958s >> sys 0m48.797s >> $ >> >> I guess -j1 may even score slightly less user time. > > So what do you have there, an i9 CPU? In any case, 4 min with -j16 is > quite a lot. It's Xeon from three yeas ago (8 real cores). It's 4 mins because our build is not very parallel. But that said I think what matters it the total CPU time (here ~30min) to be compared against the same for the vanilla build (~12min). This is about what one would get at -j1. This indicates a 2.5x. > And what does NATIVE_FAST_BOOT=1 do? what kind of compiler > optimizations does it imply? It's just the current way to say not to compile AoT all the Emacs distribution but only what goes into the dump. Is going to to be the default soon as agreed. Andrea