From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Speeding up parallel compilation Date: Thu, 06 Sep 2012 14:32:08 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346934784 9891 80.91.229.3 (6 Sep 2012 12:33:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2012 12:33:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 14:33:06 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T9bGb-0003dO-UY for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2012 14:33:06 +0200 Original-Received: from localhost ([::1]:36254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9bGY-00018m-V0 for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2012 08:33:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9bGR-00018J-8T for emacs-devel@gnu.org; Thu, 06 Sep 2012 08:33:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9bGL-0007aT-FX for emacs-devel@gnu.org; Thu, 06 Sep 2012 08:32:55 -0400 Original-Received: from mx1.bahnhof.se ([213.80.101.11]:53831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9bGL-0007aL-8f for emacs-devel@gnu.org; Thu, 06 Sep 2012 08:32:49 -0400 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx1-reinject (Postfix) with ESMTP id 75CAB2958F1; Thu, 6 Sep 2012 14:32:53 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF2) Original-Received: from mf2.bahnhof.se ([127.0.0.1]) by localhost (mf2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o5fCFM+1NXo6; Thu, 6 Sep 2012 14:32:37 +0200 (CEST) Original-Received: from exodia.verona.se (h-235-102.a149.priv.bahnhof.se [85.24.235.102]) by mf2.bahnhof.se (Postfix) with ESMTP id 01DD445024B; Thu, 6 Sep 2012 14:32:17 +0200 (CEST) Original-Received: from chopper.vpn.verona.se (DIR-655.verona.se [192.168.200.86]) by exodia.verona.se (Postfix) with ESMTP id 1EB2E4E007E; Thu, 6 Sep 2012 14:32:08 +0200 (CEST) In-Reply-To: (Stefan Monnier's message of "Wed, 05 Sep 2012 23:13:03 -0400") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-Received-From: 213.80.101.11 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153104 Archived-At: Stefan Monnier writes: > The recent change I installed which macro-expands Elisp code eagerly > upon load does not speed up sequential compilation very much, but it > seems to help parallel compilation significantly: on a 12-core > 24-threads machine, "make -j24 bootstrap" went down from 2:20 to 1:50, > and the CPU utilization went up (from 800% to 1000%). > > In other words, this mostly sped up a part of the compilation which does > not parallelize well. I guess that would be either the construction of > loaddefs, or the compilation of the compiler. > > So, lucky those with manycore systems. Yay, thus I must get one! BTW was that a dual AMD or Intel btw? > > > Stefan -- Joakim Verona