This is the mail archive of the
mailing list for the Cygwin project.
Re: Simple bash script is slow to execute - appears to be time spent starting commands like ls
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?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple