> >> > > "What, Slowlaris still exists?" > >> > > >> > Well, I sure was blown away by the incredible > >> > difference between Solaris 8 find and gnu find. > >> > >> Well, GNU find does not work correctly. This is > why > >> it seems to be fast. > > > >'find queue/mess/* -print | wc -w' > > > >What does solaris 8 find and gnu find do > differently? > > > Solaris find calls stat(2) on all files to determine > whether they are > directories; this requires *all* inodes to be > brought into memory. > > GNU find does not call stat on any of the "leaf" > files because it believes > that when a directory has only 2 hard links to it, > no entries in the > directory other than "." or ".." will be directories > so requiring "stat" > is not necessary to find more sub directories.
Right, so this is the supposed bloat I was told about in solaris libraries?! > > Unfortunately, GNU find's optimization is incorrect > for a number of > filesystems and GNU find therefor may give an > incorrect answer but will > give it more quickly. Solaris will give the correct > answer in all cases, > but not as fast as GNU find. over 24 hours with no result versus seconds? That command that was used will actually not run into any directories. queue/mess/* represents all the directories find has to go look in. Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ opensolaris-discuss mailing list [email protected]
