delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/22/16:04:39

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Performance of "ls -F"
References: <loom DOT 20160121T163405-489 AT post DOT gmane DOT org> <CAH5rLZVWiGz2n-3Ru-C0_5KU-Cc4NipJPn1NQVphN2UetUK4iA AT mail DOT gmail DOT com> <3a9ff6ec2d5e4e64a96a8f8e31d12f22 AT ntmaexbe04 DOT bedford DOT progress DOT com> <loom DOT 20160122T082744-501 AT post DOT gmane DOT org> <20160122201418 DOT GC3268 AT calimero DOT vinschen DOT 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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019