This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin Filesystem Performance degradation 1.7.5 vs 1.7.7, and methods for improving performance
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: "cygwin-developers at cygwin dot com" <cygwin-developers at cygwin dot com>
- Date: Sun, 03 Oct 2010 15:50:05 -0400
- Subject: Re: Cygwin Filesystem Performance degradation 1.7.5 vs 1.7.7, and methods for improving performance
Derry Shribman wrote:
> ***cvs***, gnumake, grep and many many others do not need ino/nlink, since
> ino/nlink is not related to the programs logic, and if any library
> they use IS using ino/nlink info, then its a very strange library, if
> not even a bug.
BZZZT. Thanks for playing.
find cvs-1.12.13 -type f | xargs grep 'st_ino'
shows 35 different uses of the st_ino member of struct stat.
find make-3.81 -type f | xargs grep 'st_ino' |wc
shows 11 different uses of the st_ino member of struct stat.
But even if you weren't wrong on THAT...many libraries DO in fact open
files on their own, check for # of links, check if multiple file(names)
actually correspond to the same file using dev and ino (think: glib/gtk,
libneon, wxwindows, or other portability libraries).