From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Two strange messages while building Emacs on MS-Windows Date: Mon, 10 Dec 2012 11:59:14 +0200 Message-ID: <83pq2ib53h.fsf@gnu.org> References: <83mwxpmtp6.fsf@gnu.org> <83fw3hm0nn.fsf@gnu.org> <83k3srdh3d.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1355133584 2820 80.91.229.3 (10 Dec 2012 09:59:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 09:59:44 +0000 (UTC) Cc: dmoncayo@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 10 10:59:55 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 1Ti09Q-00008a-Gr for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2012 10:59:52 +0100 Original-Received: from localhost ([::1]:51100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti09E-00025T-4n for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2012 04:59:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti096-00024W-27 for emacs-devel@gnu.org; Mon, 10 Dec 2012 04:59:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ti091-0002fe-Gq for emacs-devel@gnu.org; Mon, 10 Dec 2012 04:59:31 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:57486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti091-0002fV-8C for emacs-devel@gnu.org; Mon, 10 Dec 2012 04:59:27 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MET003007OCYY00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Mon, 10 Dec 2012 11:59:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MET003857QZFK80@a-mtaout20.012.net.il>; Mon, 10 Dec 2012 11:59:24 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:155418 Archived-At: > From: Stefan Monnier > Date: Sun, 09 Dec 2012 10:50:31 -0500 > Cc: emacs-devel@gnu.org, dmoncayo@gmail.com >=20 > I do "make -j2" and get about %170 of cpu utilisation (most of the > less-than-100% is due to phases in the build process where we only = have > one process running, such as when running `configure'), so presumab= ly my > 6min would turn into no more than 10min if run sequentially. FWIW, "make -j2 bootstrap" was timed as follows: real 17m2.832s user 23m4.760s sys 4m45.010s on this machine: Linux fencepost.gnu.org 2.6.32-42-server #1trisquel3 SMP Sat Aug 11= 18:02:12 UTC 2012 x86_64 GNU/Linux whose /proc/cpuinfo says, inter alia: vendor_id : AuthenticAMD cpu family : 16 model : 9 model name : AMD Opteron(tm) Processor 6128 stepping : 1 cpu MHz : 2000.078 cache size : 512 KB This machine was 98% idle when I timed the bootstrap. This command: time emacs --batch --eval '(message "Hello")' (with an unoptimized build of Emacs) takes between 0.085s and 0.123s on this machine. (Why this is 5 times slower than =D3scar's slower machine is also unclear.) The command "cd lisp && make compile-always", which sequentially compiles every Lisp file, was timed on this machine as follows: real 23m11.277s user 16m50.820s sys 2m45.910s The same command with "make -j2" times like this: real 11m51.381s user 17m15.850s sys 2m49.410s which is an entirely reasonable 2-fold speedup in the elapsed time (and seems to reveal some bug in accounting for user- and system-times). According to http://www.cpubenchmark.net, the CPU marks of the machines mentioned in this thread are, top to bottom: Intel Core i7-2600 8,628 AMD Opteron 6128 4,999 Intel Core i5-2410M 3,186 Intel Core2 Quad Q6600 2,941 Intel Core 2 duo T9300 1,709 So I have no idea how Stefan gets a 6-min bootstrap on his 2.5-GHz T9300 Core 2 duo... Probably missing some factor here. I thought maybe the filesystem used on fencepost could be it, but "df -hT ." there says: Filesystem Type Size Used Avail Use% Mounted on /dev/xvdb1 ext4 493G 378G 115G 77% /srv/data and my, perhaps incorrect, reading of that is that this is a local ext4 filesystem.