We see the same issue here in our shop. I added those settings to PMDebug.txt, and it definitely seems to improve things a bit, but the delay is still really painful. Is there any way to tune the refresh behavior further, by any chance?
I did a couple of experiments, knowing that our network is pretty robust - with the settings in place specified in this thread, it takes about 7 seconds for PM to scan a directory containing 11,000 files (3914 images, RAW+JPG and XML files). An "ls -l" in that directory takes about 6 seconds. So, obviously, the majority of the time is just trying to get inode data from the server - I get that, and there's not much that PM can do about it. You need the inode file change info to determine if there's anything to scan, even in the best case scenario.
The only thing that I could see improving this situation is if you could tune PM (optionally) to either ignore refreshing the directory (aside from whatever it needs to do to keep up with changes that you're making to files in that PM session), or tune how frequently it might do the refresh. For instance, if I'm back and forth between PM, email, Photoshop, chat, etc, perhaps I don't need it to refresh each and every time I go back.
Obviously, the risk is that someone could change metadata (file ratings, etc), remove or add a file, etc, and you'll miss it because you didn't refresh, right? You have the same risk if you're working in PM when the same event occurs, but you don't do anything to trigger a refresh, right? (that is, I don't change tabs, don't do a "Command-/", and don't change focus to another window). If you know nothing's being ingested to the folder and can mitigate the risk of someone changing something in that directory at the same time, wouldn't this be a viable way to improve performance there? Quite possible I'm missing something entirely, of course :-)
Alternately, when you first open a directory into a contact sheet, PM lets you get to work right away, building out previews, and scanning metadata, etc, as it goes. Contrast that with the refresh you get when switching back to PM from another app, where you have the spinning beach ball of death until PM finishes the refresh. If it could do the refresh in the background, just like it's doing the initial scan, that would be totally acceptable from my standpoint?
Thanks in advance, Kirk, for any thoughts or info.
Dave