Sometimes, after using Emacs for a while, saving becomes extremely slow, e.g. 30 seconds to save a file that was saved instantly a few moments ago.
Logging out and back in usually solves the problem for a while, but it always seems to come back.
I can see no other processes that are swamping the CPU, or other obvious problems (e.g. closing all other applications doesn't seem to help).
Suggestions about how I can go about debugging this problem would be appreciated.