Wednesday, June 17, 2009

nView slowdown

I've experienced some serious UI performance issues on my Windows XP workstation lately. Programs like Eclipse, Safari, have been excruciatingly slow. In particular, some string entry boxes in the Eclipse launch configuration dialog have been so slow that they only manage to echo 2-3 characters per second. Something was seriously wrong, and it didn't seem fair to blame Eclipse or Safari without some investigating.

To get some idea of what the processes were doing, I used Process Monitor, and added a filter to show only activities from "eclipse.exe". Collecting data from 15 seconds and typing some data in a file generated 12629 events (842 events/sec). 11304 of these (89%) were registry calls to HKLM\SOFTWARE\NVIDIA Corporation\Global\NVTweak\DisableWindowCaching. WTF?

Googling around a little proved that I'm not alone. Some related links:
I solved the problem by creating the registry key with a DWORD value of 0. Now everything goes much faster...

1 comment:

Phil said...


My PC had slowed to a death crawl and I couldn't sort it out - and then I suspected nView.

Windows were slow to open, slow to respond and Visual Studio 2010 was almost unusable.

A quick Google later, I arrived at your blog post and now that I've disabled nView and added the registry entry it seems to be back up and running again.