Ideas how to improve Cygwin /usr/bin/find, rm -Rf etc. performance...

Roland Mainz roland.mainz@nrubsig.org
Mon Mar 2 22:42:00 GMT 2026


Hi!

----

Quick note (mainly for Corinna):
Cygwin 3.7.0, I noticed a possible performance improvement while
working on ms-nfs41-client:
For each file/dir listed by /usr/bin/find, rm -Rf .. etc I see two
QueryVolumeInformation (volumequery class=1 and class=4) which
technically could be cached per mount+process.

I also recall an old confcall at SUN around |openat(dirfd, ...)|,
technically this info could also be cached per-dirfd (and inherited if
the dirfd is used to |openat()| another dir fd), making such a cache
last longer...

----

Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)


More information about the Cygwin mailing list