From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Sun, 30 Jan 2022 16:12:26 +0200 Message-ID: <83sft59ut1.fsf@gnu.org> References: <86bl07361o.fsf@duenenhof-wilhelm.de> <8635li3mog.fsf@duenenhof-wilhelm.de> <86y23a10fy.fsf@duenenhof-wilhelm.de> <865yqb1lsz.fsf@duenenhof-wilhelm.de> <861r0y17cf.fsf@duenenhof-wilhelm.de> <86v8y9ywa4.fsf@duenenhof-wilhelm.de> <83ee4xjcn7.fsf@gnu.org> <86k0epyoly.fsf@duenenhof-wilhelm.de> <837dapj82m.fsf@gnu.org> <86czkgztcv.fsf@duenenhof-wilhelm.de> <83zgnkijfo.fsf@gnu.org> <867daoyuhq.fsf@duenenhof-wilhelm.de> <83lez4hu6g.fsf@gnu.org> <86r18wx6zy.fsf@duenenhof-wilhelm.de> <83czkfj561.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37450"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "H. Dieter Wilhelm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 30 15:13:50 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 1nEAxi-0009Zv-7l for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 15:13:50 +0100 Original-Received: from localhost ([::1]:36396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEAxg-0007tG-A9 for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 09:13:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEAwU-0006ga-JG for emacs-devel@gnu.org; Sun, 30 Jan 2022 09:12:34 -0500 Original-Received: from [2001:470:142:3::e] (port=47792 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEAwU-0001ip-4M; Sun, 30 Jan 2022 09:12:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yg21q8b/cXMZiIp2Z3FJDMEvSx43+tsPTyzvfd9u6To=; b=gni46H3BWONW r6FIKiimQAotWZ40amY0dSBYrRf+ZfJrpSY/Uo7euo7DBKzJcuMfikZFycCIVXcIB84z5akEoSUB2 buoEoBaBb/M/MV2oAKc3Xqmjm7I52a3Ja7lJgfZm7voyc04w9nXtafBHP/VLq9JuJ26C3cJDDH9tN iAYo5tTPJL70AWcOTO3ff8Zzdzwpi25wg/4n6MhaaatKGpFXhTpa/EKAqRtjtvyRlW4EzOVZ6Dyi8 DXphSKOlKIX5Z9KfssqsP7TRbX6UW4j2xnFBTZUuxKrBzne7od/EIlMjpg2a5K5wlqo59kWFC+K1i NpPUCtf40OfmhLnnl+ZSLQ==; Original-Received: from [87.69.77.57] (port=3461 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEAwT-0003e0-Kb; Sun, 30 Jan 2022 09:12:33 -0500 In-Reply-To: (dieter@duenenhof-wilhelm.de) 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:285607 Archived-At: > From: "H. Dieter Wilhelm" > Cc: emacs-devel@gnu.org > Date: Sun, 30 Jan 2022 12:57:04 +0100 > > $ rm -r eln-cache/ > $ date && emacs > $ date -r latest/eln-cache/file > > That worked for me doing a quick check: > > I'm curious about the hyperthreading potential on my 4 core Intel laptop > for doing compilations. And checked Emacs-28.0.91 from Corwin with (setq > native-comp-async-jobs-number 8) vs 4 jobs. My init.el forces Emacs to > compile over 200 .eln files and it took about 5'40" with 8 logical > processors and 7'7" with 4 logical processors. How many execution units you actually have there?