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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=bdXlS09kwgVL1nE8xZlSafFI2/s0lv0ZiA2u0MbS9MK5bXPVqkYgM thZKV3wrsRf97JeagPfQcArd9xdA29ztSeSKrTwZfXu6CqhZyKIXgnGE11V2tVox /PXnfQnJdWtgTiTC7O7WSVxOvyAPzn19VqeylSZexcSgav3q0IOSXM= 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:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=t4c77tZm20C/GGew4xiaIB/m3o0=; b=czSsM2B5I+5Noy1dgCkd5N9pHEfJ seNqg8XSh+bYrNuiGNLPj1RJcCNqqijU6rQnHf/rU3shq++ksHcax61xHBiGP69d UWR6BRRt1NQZvs5WL0Zr1HW72rMWIUM9lyJYiPcxPbTzaXdx/IoMAye++zzU1Xqp DBjglmnkDZAI9MI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 Date: Fri, 22 Jan 2016 21:14:18 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Performance of "ls -F" Message-ID: <20160122201418.GC3268@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3a9ff6ec2d5e4e64a96a8f8e31d12f22 AT ntmaexbe04 DOT bedford DOT progress DOT 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) --raC6veAxrt5nqIoY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" -----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--