From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26556 invoked by alias); 22 Jan 2016 21:04:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 26501 invoked by uid 89); 22 Jan 2016 21:04:19 -0000 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 Received: from mail-in-11.arcor-online.net (HELO mail-in-11.arcor-online.net) (151.189.21.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 22 Jan 2016 21:04:17 +0000 Received: from mail-in-16-z2.arcor-online.net (mail-in-16-z2.arcor-online.net [151.189.8.33]) by mx.arcor.de (Postfix) with ESMTP id 3pnCkk4GFBz32Jn for ; Fri, 22 Jan 2016 22:04:14 +0100 (CET) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-16-z2.arcor-online.net (Postfix) with ESMTP id 8F634216FD8 for ; Fri, 22 Jan 2016 22:04:14 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-05.arcor-online.net 3pnCkk3Dtpz2ydF Received: from Gertrud (p54B463FB.dip0.t-ipconnect.de [84.180.99.251]) (Authenticated sender: stromeko@arcor.de) by mail-in-05.arcor-online.net (Postfix) with ESMTPSA id 3pnCkk3Dtpz2ydF for ; Fri, 22 Jan 2016 22:04:14 +0100 (CET) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: Performance of "ls -F" References: <3a9ff6ec2d5e4e64a96a8f8e31d12f22@ntmaexbe04.bedford.progress.com> <20160122201418.GC3268@calimero.vinschen.de> Date: Fri, 22 Jan 2016 23:21:00 -0000 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 X-SW-Source: 2016-01/txt/msg00301.txt.bz2 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