Simple bash script is slow to execute - appears to be time spent starting commands like ls
Reini Urban
rurban@x-ray.at
Thu Sep 3 08:34:00 GMT 2009
2009/9/2 Larry Adams:
> The problem as I see it is Windows. For example, only 10 iterations caused
> over 65k file and registry reads. I have attached the output from
> SysInternals Process Explorer for your edification. The only fix for this
> is Linux. I still use Windows for development and "LOVE" Cygwin. But
> 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?
--
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
More information about the Cygwin
mailing list