slow directory access

Mitch Deoudes mitch@houseofpain.org
Thu Jul 24 19:36:00 GMT 2003


So, as I understand it, cygwin opens every file it comes across in order
to fill in the executable bit, by determining if the file begins with
"!#"...  and this is the primary cause of the incredibly slow
performance when accessing large directory structures.

Is there any way of turning this off?  Or, alternatively, would anyone
like to flame me with an explanation of why I shouldn't be allowed to
turn it off?

The context:  working in visual effects - so large directory structures
containing many large files (sequences of film frames), and the need to
manipulate these in-place in the windows directories in which they
exist.  Executables (scripts) are often mixed in & data-specific, so
storing them under their own mount point is not an option.

Possible workaround:  mount everything "-x".  Better:  have the ability
to define which extensions are considered executable, and name all
data-specific scripts ".csh".  (Generic scripts can be mounted "-x".)

mitch


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list