On Fri, Jul 10, 2009 at 01:05:13AM +0400, Dmitry Potapov wrote: > > There is one strange thing though. Before that patch the number of > 'open' for each directory was always the same in each run. But after > that patch, it slightly differs in each run... Comparing with results > without this patch, the number of open for some directories in some > be less by one... which is puzzling... It appears that is a purely Windows thing... It seems extra opens for directories inside of the working tree are caused by Windows Prefetcher. http://en.wikipedia.org/wiki/Prefetcher Accordingly to the Process Monitor, during start-up, it opens and reads most directories in the repo that have subdirectories but sometimes it skips some of them... So, the patch works as expected... Perhaps, I should disable this prefetcher for testing to get more reproduceable results. Anyway, this prefetecher does not issue QueryOpen (stat) for files in the repo, so my numbers for 'stat' are not affected by it. Dmitry -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html