X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; q=dns; s=default; b=ewOk
	1sWhYDuHianvOBhp3UJru4QnAPUvmomovOPdR+k66kjMahQiUuqRNAWwYVgvX3Cx
	NrMevlb9ZgDJTuWHPLEq8rggb9ezK2vvwCXUs2B/uO1Ok9q3srciustiOXUjzHtJ
	MfAVSILGXhXwfDk4DLYkb0dup/MHitF3FlNKX90=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; s=default; bh=cblInRpugz
	3hWGgaxvNvHle7zjQ=; b=L1+qcKkcaP5TGg2QXkFEMLRg+YuilLLKgNhMZs/H/j
	ycVLhNbhud8pGxQLzPzWPmBmUbFUrb+PWIfKXOYOZy8F7F+CJccPhNI2YjN4l5ef
	kzDKqEbXx+taUWhuNJdlD3ooi1JIcjN9iMkGgovikD6osqZY6TNV7Ex6DbBNuACa
	Y=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:2118
X-HELO: mail-wm0-f49.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:date:from:to:subject:message-id:references         :mime-version:content-disposition:in-reply-to:user-agent;        bh=dn8BAXPYXyc6+7MxUyqiP4HhNTrKdhugBuT4TZT/620=;        b=gJ6SBzvI97i7yAEzTPnZ/DWOiX5wJYjWOp/mQOhy35WdZIdTZEonfCRnI1ns85Ddms         62uw16/sQHNx6O0vTAVOyXSU1xerIbZ9MFp/Dj96+f1rQtKAPprwVKoNZXTGxgDcqxD9         28/EcSCtD4h5i7m9D7t779fhf1EbO7Z4g1KS2XB+E6Wybveho0QLHL1MsyVz15G3ygVA         ajcO4N0SaZHCnfsn2I5wX6Xi5zpt/s644f6MyWzehV1kb2i1PHgIVpNTCh4Rn0GZciE8         t/cGqbfe9mPJzGnXsD5N+xlwyfGOtVRm66EICQ8GaARkm1dVd7ciQSx32yo1ohBVAUoc         QQTA==
X-Gm-Message-State: AOPr4FWDShvMJu+HuIAcl/HBBGtGXxCfxhqiWP7xvEretk8aOiHOen8+WWvSdcFB0JLghQ==
X-Received: by 10.28.16.17 with SMTP id 17mr16281209wmq.17.1462886980302;        Tue, 10 May 2016 06:29:40 -0700 (PDT)
Date: Tue, 10 May 2016 14:29:37 +0100
From: Adam Dinwoodie <adam@dinwoodie.org>
To: cygwin@cygwin.com
Subject: Re: Possible issue with newest version of git (v 2.8) under Cygwin
Message-ID: <20160510132937.GB2345@dinwoodie.org>
References: <CADMefsZxMh4dtPJct0UzG3uFLQ9ea3NJcqcTrVtqmmzm-s6AMA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADMefsZxMh4dtPJct0UzG3uFLQ9ea3NJcqcTrVtqmmzm-s6AMA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes

On Tue, May 10, 2016 at 09:15:48AM -0400, andrew stern wrote:
> >I suspect this isn't a problem with the Git upgrade but with recent
> >changes that have been being made to how the core Cygwin dll handles
> >permissions.
> 
> >That being said, can you try running `git config core.filemode false` in
> >the repository, re-enabling noacl, and see if that has things running at
> >something more like normal speed?  That disables Git's checks on file
> >permissions, so it should isolate whether the slow-down is specifically
> >Git checking permissions or if merely accessing files is the problem.
> 
> >(With core.filemode disabled, you'll need to use `git update-index` to
> >add/remove the executable flag on files in the Git repository; see `git
> >help update-index` for details on how that works.  To undo the config
> >change, use `git config core.filemode true`.)
> 
> This repository is created with the filemode=false after I finish
> cloning from the repository using cygwin.
> I've decided to try cygexec on the fstab to see if it helps and it
> does seem much faster.
> I don't know if this is the correct way to speed it up again but the
> speed slow down does seem related to reading each file and determining
> if it is executable.
> The new line is:
> none /cygdrive cygdrive binary,posix=0,user,noacl,cygexec 0 0

I'm not sure I understand what you're seeing: if your repository is
already set up with core.filemode set to false, Git won't check the
executable flag on the files.  What leads you to think the speed
slow-down is related to checking whether the file is executable?

If setting cygexec makes a noticable speed difference even with
core.filemode false, I can only conclude the problem is somewhere below
Git and related to how the Cygwin DLL provides file access.

FWIW, having just checked the Cygwin user guide's fstab instructions[0],
the noacl setting should be ignored on NFS filesystems; if you're seeing
that make a difference, that looks like a bug.

[0]: https://cygwin.com/cygwin-ug-net/using.html#mount-table

Adam

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

