OK - let's back up a second.
You are using a laptop, which will have a Wi-Fi adapter present, which will FREQUENTLY cause massive latency spikes. There is an easy fix for that, so do not despair, IF that is part of the problem.
Soooo, go into Device Manager, and just before launching Sonar, temporarily DISABLE your Wi-Fi adapter. Do not worry, as you are not uninstalling it, it is only essentially making it invisible to Windows, and not really deleting it.
After you finish disabling it, you should see much better performance in Sonar, as far as dropouts are concerned, IF you have settings made reasonably well.
MY recommendation for a reasonable set of settings is as follows:
For your audio interface: Sample Rate of 48 k, ASIO Buffer Size of 128. (If your interface uses a different term for it, you might have to tell it to adjust the number of samples or that sort of thing, in which case you want something like 200-230 samples).
For Sonar: Driver Mode of ASIO, Sample Rate of 48 k. You want to shoot to end up with a Sonar-reported Total Roundtrip Latency of around 10 milliseconds or just a little less. Please note that these settings are recommended for doing RECORDING, and not for doing Mixing/Mastering. When mixing/mastering, you will need to likely bump up your ASIO Buffer Size to as high as 1024, which is fine, since you will not be doing tracking/recording at that point.
For the rest of time, you will be bouncing back and forth as needed, with your ASIO Buffer Size, as you move between tracking and mixing/mastering. You need a low latency when recording, so you aren't trying to play through a giant lag, and that no longer applies once you move on to mixing and mastering, so the buffer can be really high. This will accommodate plugins that are designed for the mixing process, which often use something called 'look-ahead processing', which will add LOTS of latency (it is scanning ahead to determine how to process, for effects such as Perfect Space or Boost 11).
SOOOOO, give the above a shot, and please post back and we will look at other things, as needed. :)
Once you finish your Sonar session, by the way, you can enable the Wi-Fi adapter again.
You might consider also running LatencyMon with Sonar closed and the Wi-Fi adapter disabled, to see the difference that makes in your system's basic ability to handle streaming audio, such as what Sonar does.
Bob Bone