When opening a directory that is version controlled, especially one with subdirectories containing hundreds or thousands of individual files, Nautilus temporarily freezes (application does not respond to user input). A similar behavior applies to directories with hundreds or thousands of individual files. These freezes can last several minutes, during which CPU load barely climbs (2 - 4% above normal) but hard disk access is significant.
An example is a version controlled directory, with the complete Boost library source and GNU Science library source, both untarred, and the entire source tree of a hydrology model.
Is there a way to reduce or eliminate this problem? (Version control is critical and can't be altered; some file re-organization can be done for badly affected directories)
NOTE: This affects both 10.04 LTS (32-bit PAE) and 10.10 (64-bit). The lucid machine has a Core i7 (2.8GHz), 6GB RAM, and 1TB HDD with a 32MB cache. The maverick machine has a Core i5 (2.43GHz), 4GB RAM, and a 500GB HDD (unknown cache size). Both HDDs are 7200 RPM drives.