From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Magit slow on Windows Date: Fri, 11 May 2012 17:02:16 +0200 Message-ID: <87zk9ezrpj.fsf@wanadoo.es> References: <6C45C785-8275-46B8-9D1E-FF8D2B52C3E2@bbheim.de> <83mx5gyqht.fsf@gnu.org> <84k40jz3eg.fsf@163.org> <83zk9fxoma.fsf@gnu.org> <84pqabtgky.fsf@gmail.com> <83y5ozxnzd.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336748566 18563 80.91.229.3 (11 May 2012 15:02:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 May 2012 15:02:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 11 17:02:45 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 1SSrMj-0001J9-CP for ged-emacs-devel@m.gmane.org; Fri, 11 May 2012 17:02:45 +0200 Original-Received: from localhost ([::1]:53156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSrMi-0004J6-Px for ged-emacs-devel@m.gmane.org; Fri, 11 May 2012 11:02:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSrMc-0004IX-9y for emacs-devel@gnu.org; Fri, 11 May 2012 11:02:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSrMS-0007Vp-Fs for emacs-devel@gnu.org; Fri, 11 May 2012 11:02:37 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSrMS-0007Vj-95 for emacs-devel@gnu.org; Fri, 11 May 2012 11:02:28 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SSrMR-00018b-1J for emacs-devel@gnu.org; Fri, 11 May 2012 17:02:27 +0200 Original-Received: from 103.red-79-147-11.dynamicip.rima-tde.net ([79.147.11.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 May 2012 17:02:27 +0200 Original-Received: from ofv by 103.red-79-147-11.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 May 2012 17:02:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 103.red-79-147-11.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:8yrMY3p7FbCBJSZQqR7dnAVbhhw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:150444 Archived-At: Richard Riley writes: >> But I'm not sure this will solve your problem. The Windows filesystem >> is slower than Linux filesystems, especially with a cold cache, and >> nothing, not even Emacs, can change that. > > Not in anyway that would cause any human recognisable delay. Suggesting > that speed of the file system is in any way contributing to this issue > is somewhat silly and misleading and introducing fud. git is heavily optimized for GNU/Linux. It exploits the APIs and use cases that performs better there. Msysgit is not optimized for MS-Windows and, on addition, MSYS/Cygwin, which git depends on, introduces an intermediate layer that slows down certain operations quite a bit. So it is not that NTFS is slower than ext4/whatever for all relevant use cases, but that git is fine-tuned for the GNU/Linux filesystems. Plus, creating processes is much slower on Windows than on GNU/Linux (that's an undeniable fact.) As magit runs several commands for several often-used operations, that makes a big difference. Last but not least, there are problems with certain configurations that dramatically slows down git on Windows7/Vista. Take a look at the msysgit bug tracker for details.