This has plagued me from day one but it's only since test driving other DAW's recently that I realized that Sonar's audio engine really does stand alone when it comes to crapping out while looping, especially in large projects. I'm working on something now in which most of the synths in the project have been bounced - there are six synths still active, nothing that should tax any DAW. High track count, and quite a few plugins, but again nothing outrageous, and my CPU meter is showing quite moderate activity.
Despite this, Sonar chokes at the start of every loop iteration. It's almost like a needle sliding across a record. I think this is mainly with synth audio.
Not only that, but I find that Sonar sometimes has trouble figuring out what audio is part of the loop and what audio isn't. It'll frequently play audio that is just outside the loop boundary upon each iteration. I've also seen this with MIDI - even when you have a note that is bang on quantized on the first beat of the measure after the loop boundary, Sonar will sometimes play it. This makes it a real PITA to work with a loop enabled (which I do a lot when mixing). There's this huge cringe moment every time the loop iterates as the audio craps out and stray notes are played.
Furthermore, I'm also beginning to realize that having sidechain sends enabled makes Sonar crap out even more when looping. I have a loop enabled now that is performing horribly to begin with, but when I enable a send from the kick to a compressor's sidechain on a synth track, the audio engine stops at each iteration. Disable the send and it starts looping again.
Current buffer size: 2048 samples. So it's not that. Has anyone happened upon any combination of settings that makes looping smoother in Sonar?