www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <4A9ED2C5.1070306@comcast.net> |
References: | <E1Miupq-0000A7-Kk AT elasmtp-kukur DOT atl DOT sa DOT earthlink DOT net> <4A9EC733 DOT 7080700 AT cygwin DOT com> <4A9ED2C5 DOT 1070306 AT comcast DOT net> |
Date: | Thu, 3 Sep 2009 10:34:25 +0200 |
Message-ID: | <6910a60909030134n37957d27j7e94d556a5044374@mail.gmail.com> |
Subject: | Re: Simple bash script is slow to execute - appears to be time spent starting commands like ls |
From: | Reini Urban <rurban AT x-ray DOT at> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
2009/9/2 Larry Adams: > The problem as I see it is Windows. =A0For example, only 10 iterations ca= used > over 65k file and registry reads. =A0I have attached the output from > SysInternals Process Explorer for your edification. =A0The only fix for t= his > is Linux. =A0I still use Windows for development and "LOVE" Cygwin. =A0But > Windows can't be fixed. The Windows filesystems (FAT, NTFS) are notoriously slow with a large number of files in a dir. 1000- 5000 files seems to be a limit for stat(). access() is also much slower if you have inherited ACL's or large ACL lists Does it run significantly faster with less then say 500 files? --=20 Reini Urban http://phpwiki.org/ http://murbreak.at/ -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |