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:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; q=dns; s=default; b=iP+sE
	UqWEZ6ij5nUpJCLlSh7gS1jH15rpbwEIz/kN3dTHDo0Ie8Xfypfwn+utHkB11Vfz
	19DLNGXRynZaKptgIy8EuwJfi0a0fdKyk86+56Eh9tupQXcVSeGOykGE2rjOgON5
	n1q++697ZHPwHcomRfdquDEgyS6yuaYdOCwLSQ=
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:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; s=default; bh=C+RNzaVTriD
	hQGp+yMy/+BvgYZ8=; b=cTE3IHrDbXzbGWmBOzfrbrIohy+Aa52m8fpNZSVXHv0
	cc79kIiVziKOk4uZ2H6l7A26G9Jbq7dtDYSBS1cJ5rNiNHIKyMhwaIc5veKED9mo
	LL1kRX2z822hueFTnXjUPdLLdNR+ALXRMJhv2uclEM1rIiekPChDnCcXXQnZNWE8
	=
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.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:CAH5rLZ, H*f:sk:3a9ff6e, stat, ACL
X-HELO: mail-in-11.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-05.arcor-online.net 3pnCkk3Dtpz2ydF
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Performance of "ls -F"
References: <loom.20160121T163405-489@post.gmane.org>	<CAH5rLZVWiGz2n-3Ru-C0_5KU-Cc4NipJPn1NQVphN2UetUK4iA@mail.gmail.com>	<3a9ff6ec2d5e4e64a96a8f8e31d12f22@ntmaexbe04.bedford.progress.com>	<loom.20160122T082744-501@post.gmane.org>	<20160122201418.GC3268@calimero.vinschen.de>
Date: Fri, 22 Jan 2016 22:04:13 +0100
In-Reply-To: <20160122201418.GC3268@calimero.vinschen.de> (Corinna Vinschen's	message of "Fri, 22 Jan 2016 21:14:18 +0100")
Message-ID: <8737tpqqb6.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain

Corinna Vinschen writes:
> Just a hint:  ls -F requires to stat every single file.  stat in turn
> requires to load not only the usual metadata but also to fetch the ACL
> and convert it to POSIX permissions.

The timings are from shares mounted with the noacl option, so that bit
of code shouldn't be involved.  I will try the same operations on an ACL
enabled mount of the same share later and I also need to find a share
that is exported from a true NTFS server for comparison.

> Assuming this slow access only occurs under 2.4.0,

No, the behaviour is quite a bit older, although I didn't time it since
I didn't recognize the connection to the aliased ls.  In any case, it
really is just the determination of whether or not the file is
executable that takes up all that time.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

--
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

