This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Performance of "ls -F"


Corinna Vinschen writes:
> 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.

The timings are from shares mounted with the noacl option, so that bit
of code shouldn't be involved.  I will try the same operations on an ACL
enabled mount of the same share later and I also need to find a share
that is exported from a true NTFS server for comparison.

> Assuming this slow access only occurs under 2.4.0,

No, the behaviour is quite a bit older, although I didn't time it since
I didn't recognize the connection to the aliased ls.  In any case, it
really is just the determination of whether or not the file is
executable that takes up all that time.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]