Yes, some plug-ins can cause severe latency, such as the Transient-Shaper 64. I will routinely disable that until the mix is ready for it. There's not much of a way that I'm aware of to determine whether the clicks and pops are from MIDI or from audio.
After setting your input and output buffers in your RME settings to 512 or 1024 samples/buffer (1sec), in Sonar, go to
Edit=>
Preferences=>
Audio=>
Sync and Caching (Advanced setting at the bottom to see this one), set
File System caching to 512KB or 1024KB for both, or at least
Playback I/O. You may need to uncheck the
Enable Read Caching and
uncheck
Enable Write Caching to set these.
Your ASIO driver is going to test for latency, but caching (buffering) is different. Sidenote: I never trust the ASIO driver to be sample-perfect on latency-measurements. Never met one that was.
With both your RME and Sonar Caching/buffering set higher, you should be able to avoid the clicks and pops. If you're still experiencing these issues, you may possibly have a Bridging issue for 32-bit plug-ins, or there could be something else not working right, requiring a support call. And, yeah, I'm in the same boat with the daytime-only support hours.