From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "H. Dieter Wilhelm" Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Sun, 30 Jan 2022 19:12:25 +0100 Message-ID: References: <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> <83sft59ut1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18193"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (windows-nt) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 30 19:16:15 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 1nEEkI-0004Ym-TN for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 19:16:15 +0100 Original-Received: from localhost ([::1]:32934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEEkH-0001KL-00 for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 13:16:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEEgh-0007C5-Jt for emacs-devel@gnu.org; Sun, 30 Jan 2022 13:12:31 -0500 Original-Received: from mout.kundenserver.de ([217.72.192.75]:37349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEEgf-0008U3-Rg; Sun, 30 Jan 2022 13:12:31 -0500 Original-Received: from VSL7V7PW ([92.116.183.79]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MvaO8-1mLa8L1I2A-00shcn; Sun, 30 Jan 2022 19:12:27 +0100 In-Reply-To: <83sft59ut1.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 30 Jan 2022 16:12:26 +0200") X-Provags-ID: V03:K1:5MbiGD3HWcm+hOWeM/ILMcpoHDiErdPDwIEwxvE82/J0TZ/QUuT bU8yodAQpz1FVGKunpz0NoxPJNBFFZlOJij27U4VgXwL95wlSvPTboF2Xmcg/PbfUaPMLwu 3y9wsWYR/8T6XJ/UYU7GPOgy+2Y54Cxqu4FCF50kFW9AsBt89ipPH2W6gEhb9MmK8tWOHS9 PPAOf3hIgE1rTqq4+2bww== X-UI-Out-Filterresults: notjunk:1;V03:K0:bdl13LgxtQQ=:QxinyAyM4ACr2JKb8X+rKd Pp5ImHLnkgyZOa3Yjl6AFSxntGJpfH3CtrQp7w5u2whXHiP2+60pfWd23dCVJiMLuN7onwWFo xn2P2LGUZnlQF9BhCI2+tX61P6y75oltWqxDo3m0s835ELGKdfo8FW5n41lR64V7wO4z1B1N7 bzg6rxqqwTGaNft4d3pN14S5uzJvvsZ9+2ZsPyH09Antzap1EYVpOrUwxhaJmpTG6pu7HCHMP wkcq7krlyGFcITq0zuhqp6xInaTIIzooFWOgX2JabM65vpaucAt+IZ3xyAo2VNBiN7XesuBvE 9xo/xri2cjAiAees+UqMkWhWcXriRaHeurfMVNWmeO5xNUpHzKrtk9/W8wiqMy4NWuRTb0S1j Rh2QfmHOZSCsepOfaFMvMOmls0q41N7wf8uGopSZF9RSCfZGPakeaZpa/g7oqwicSE69xDDZ/ WQFri7/rns1hdsb2F5QrvLXQjyCs9e1bxzzywLVsQmGZfK0tnjno/FWG1iZRfajXdQZJZtD2T VWSel9tgohjyZIXuueymUPz2SKRvWzloWGgrYuNbFKtBBBT39kGTE1e3eRuR8HskGf5IFUOpR +DuogGhoUnxvcpOOG5Gh3mMnKLzMCsAYgF9rWu+3xSGR78h6jMwmZDIBPV98yGSzOisg0TqY0 WElpyQUMApksCkzeh0qj42zA7/9XfcUDbdU2JHBfCl0+wNg8rT5vBERey5m5BVvMKle51b04R lFsM8qNZeWWuulzA Received-SPF: none client-ip=217.72.192.75; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:285625 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> 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? I think you mean with "execution units" what the task manager calls "cores". This computer has 4 cores and 8 logical processors as you can see in the attached image from it's task manager. --=-=-= Content-Type: image/png Content-Disposition: attachment; filename=task_manager_cores_2022-01-30.png Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAALgAAABMCAYAAADeMH3IAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAmGSURBVHhe7Z1NSyNJGMf/7ndwN0IfFC8D4zJ4 yF0zDHSQ3DzNwYu5yF4UIwv5AAOLEU/DXpLLgJ68hWBgyMs9hzCMwlyG5BBwNB+it57q6qS70y+J JrpWPz/ome56bfVJ5anq59+1ZAnAMJrym/qfYbSEDZzRGjZwRmvYwBmtYQNntCbGwG9xeXSEI9dx eauyXj30s52hOVSXWtNHJbuEpSX7OGmr5CDaJ6LMCTxFZJpdN1vpq8QA+hVkVTl5ZCuiZ6KNk6Us JquGpc+PKUZwA7niOc7PxVHM4a58KUyDeV30sf63BVoRtnpl3Gz7DFiiPgQ1oKBSbIQRbgMtqmu1 sJE/CDZIMu61K+z2VD/iaG38UAb+cszmoiz/gRXc4T4Ro55ObGFrS52urmNDnXpZxf61MMzTHXWt aNdQKuyIFogt/FUGrhp+sxUfjoM8NlrX2F9VSYKt01NV7+WYzcBvv6GTNpFZVpeXLvdl5LsM0TwL cGmGTZw5ZY+CvgWC6ik34nZc98ztU4S1OUX6WfNeJQpuL3F01hR3kAA8BhtP/+cNzDdjq11d30D9 h8/A+w1c1Qv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