From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: phillip.lord@russet.org.uk Newsgroups: gmane.emacs.devel Subject: Re: Bootstrap Compilation Speed Date: Fri, 14 Jan 2022 14:16:16 +0000 Message-ID: <0f07755cd03e3ffbc0538f2f63d273f2@russet.org.uk> References: <83r19a1mij.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38891"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail/1.4.12 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 14 15:54:09 2022 Return-path: Envelope-to: ged-emacs-devel@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 1n8Nxw-0009w0-Rm for ged-emacs-devel@m.gmane-mx.org; Fri, 14 Jan 2022 15:54:08 +0100 Original-Received: from localhost ([::1]:44864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8Nxv-0000dn-KP for ged-emacs-devel@m.gmane-mx.org; Fri, 14 Jan 2022 09:54:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8NNU-00021D-TU for emacs-devel@gnu.org; Fri, 14 Jan 2022 09:16:28 -0500 Original-Received: from [78.129.138.227] (port=40534 helo=cloud103.planethippo.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8NNM-0004a7-WF for emacs-devel@gnu.org; Fri, 14 Jan 2022 09:16:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=oF2xAKce+9YvE95hexzOZdnfyJ7+nnCGnE52/TEFRTA=; b=3Yro0MYkYQIlh2vx6+mW299xho Ov0TmFhD/qWDAgHtvvqK+sxIebvMnrgNsMu8HIWan5nL4tcAiy9xxO94gzNShIAlWdPBA77+jCvU8 fW12/Wq2ys+5/Gtxhk3oAbwLFlkJuH+jtnBJ8SPmjQJyn5ONDtuylWbCEe7Jhck0mszfCo3jqPu+Z Rv8kMUbGNBsCiPIZi8HB51ha5V1Qb7hjl/WojXJ+FM/GEZrglBWH0HgpbVZ4m9qithMBugedoiZO1 UqIWklWbt3yFYCUQOn1XGAoiXNsTfG7OS0+ZZ1WYjO0nbCf0h19NpKsX1ZdE/LijmpUKZkmTw/JPp cD9dsxIQ==; Original-Received: from [::1] (port=45768 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.94.2) (envelope-from ) id 1n8NNK-0002jF-CE; Fri, 14 Jan 2022 14:16:16 +0000 In-Reply-To: <83r19a1mij.fsf@gnu.org> X-Sender: phillip.lord@russet.org.uk X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.129.138.227 (failed) Received-SPF: pass client-ip=78.129.138.227; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:284750 Archived-At: On 2022-01-14 13:21, Eli Zaretskii wrote: >> Date: Fri, 14 Jan 2022 11:36:26 +0000 >> From: phillip.lord@russet.org.uk >> >> Has anyone else seen a regression in bootstrap compilation speed? >> >> I am currently building Emacs-28 trunk. I am still on the >> bootstrap-emacs phase after half an hour or so and am getting no more >> than 2 or 3 ELC+ELN steps complete per minute, with a parallel build. > > How many parallel jobs did you allow Make to have? And on what OS is > this? > > Also, do you see this slow compilation only for the first few files, > before comp.el is natively-compiled, or even after that? Ubuntu 20.04. I tried both single threaded (so I could see how long individual files take) and my normal build (-j 20). Again, based on my ad hoc experience rather than any careful measurement, it was for all the elc+eln using bootstrap-emacs. Once emacs proper was generated, things went rather more quickly and upto my expectations. It's probably something local to me. I thought to mention it here because I think we still do not have good metrics set up for bootstrap build speed performance. Phil