From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84498 invoked by alias); 22 Jan 2016 20:14: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 84484 invoked by uid 89); 22 Jan 2016 20:14:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-92.8 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=SMB, smb, 86, Maintainer X-HELO: calimero.vinschen.de Received: from ipbcc05c50.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.92.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 22 Jan 2016 20:14:20 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 122E8A803D5; Fri, 22 Jan 2016 21:14:18 +0100 (CET) Date: Fri, 22 Jan 2016 22:19:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Performance of "ls -F" Message-ID: <20160122201418.GC3268@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <3a9ff6ec2d5e4e64a96a8f8e31d12f22@ntmaexbe04.bedford.progress.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="raC6veAxrt5nqIoY" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2016-01/txt/msg00300.txt.bz2 --raC6veAxrt5nqIoY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1469 On Jan 22 07:30, Achim Gratz wrote: > Bill Smith progress.com> writes: > > The difference is 1.3 seconds versus 1 minute 7 seconds. The directory= is > identical on the two NetApps and > > they both contain ~29K files. C-dot (Cluster Data On Tap) is the newest > operating system for the NetApp. It > > also supports the newer SMB protocols. > >=20 > > I also tried the experiment with MKS Toolkit 8.6 and in both cases, it > takes around .1 seconds. >=20 > Could you please show the result for running /usr/lib/csih/getVolInfo on = the > two directories? 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. If the ACL hasn't been created with Cygwin 2.4.0, an additional number of AuthZ calls might be performed with the number of calls =3D=3D the number of different user accounts in the ACLs of all files. Which means, there are quite a few packages going over the network. Assuming this slow access only occurs under 2.4.0, this might be one of the reasons to allow the user to disable Authz processing (you have been warned, yada yada). If that's *not* the problem, we certainly need more details. Like debugging results to find out where the time is spent. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --raC6veAxrt5nqIoY Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWoo2ZAAoJEPU2Bp2uRE+gcDQP+gKtzKOk70pmcVWCwjhg46uo JvS+BF43oKdtJ2HJFeRvmySilow4d9eyeYp6nSYSm/A3PsKwrbOkfSJb9xUk04qB z4HZ+7DaWC2Stt/ubiMJfn++S2srzW4MzuTW3AGiEnnuZpsaHJ9h5DGe0kXAj0QN y1MVSIMkXpUhGvmexaiObt5Kh6rTQecTaY6bsJ5WXpbYH7SQ5flyJ+W895aWweE5 mmTRf68PZ4vrzOUzaj50r/cFuRi1ksLsTxIcs2wgvx5pthvyJiXPtOFYr6mKM9Sp 9GZKxfIeb8E1AWXM3s55oV5vT9tAQ5l7wNh7ZutkjxmadAURtOZ6YV51FrUQTXWa 4B4FljdUN+zIOz8ZZT3y8hTg40MhPa0Xa1i4UQmZoIMahfx7Zu1wCawQS8MbQ7rf vtTao2vY2f0CkWrE8LSv0i3mThQN0VyyPnunGBdhQX7OMm79tHqmVvG35SU/fYnO EEKkO5dUsi4vFYWhBqyEbMXZv7Rdve11GPKK5c8xI1SaVudma5AjGjQrGExenP9z bRPT9bsKI6N3wMfFYPPMpmd2Y2dq6pt/FhTIHHrEw9XowIvvoraeAvQYP+3hUoIZ m/CHF54yL7dKwGJ1RtASVGdQmKHCdbDOrJhD2KT/OWdnjF/oVf1zWqau+tDBAFsF sfYp9hCMGQIdWLNMY2jW =nFZ1 -----END PGP SIGNATURE----- --raC6veAxrt5nqIoY--