How many hard drives do you have? I see the SSD Samsung 840 mentioned above. Do you have separate drives for your operating system, samples, project data, ect? I have my operating system on one drive, my Cakewalk projects on a different drive, my sample data, vsti data and backups each on their own drives. Trying to run everything from one hard drive, can really impede performance.
A few things that I've done recently, and it seems to have really helped with those dreaded Audio Engine Stops.
1. Installed "Auslogics Disc Defrag" (for non SSD drives only). Run this once a week or so, to defrag and optimize my spinning data, and sample drives, to keep them from getting too fragmented, which can slow down performance. FYI. I don't have any SSD drives, but from what I've read, it's not good to defrag them. It can shorten their useful life.
2. Installed Intel's free "Intel Extreme Tuning Utility" software. (For Intel CPU's only). This software can be used to benchmark, overclock, and tweak your system, to make sure that you are getting the best performance. You can even download profiles from other users, and try them on your system. I was able to bump up performance quite a bit on my system (which is an i7 processor from a few years ago).
https://downloadcenter.intel.com/download/24075/Intel-Extreme-Tuning-Utility-Intel-XTU- 3. Install "Novabench" Benchmarking Software. Free software can be used to compare your system to others with similar systems. Helps to see if any of the hardware components are performing below the norms that other users are getting.
https://novabench.com/ 4. Make sure that no other audio components in your system are interfering. I went through Windows Device Manager and disabled all audio drivers which were not needed. Things like motherboard sound drivers, audio drivers for my 2nd monitor. Not even sure why those were installed. If you have ASIO4All installed, uninstall it. It can be known to interfere with other audio drivers.
5. While in device manager, go through all of the items under the "Universal Serial Bus Controllers" tab. Double click each one and look for a "Power Management" tab at the top (not all of them have this tab). Click this and see if "Allow the computer to to turn off to save power" is checked. If it is, uncheck it. Windows USB power saving features are cool, but can really screw with DAW performance. Things like delaying USB drive reads and writes, disconnecting midi controllers when not in use, ect.
6. While you're at it, right click on the windows logo at the bottom left and click "Power Options" See what power saving plan that windows is using by default. Usually it's on "Balanced". I switch mine to "High Performance", to keep Windows from putting system components to sleep, to save power. I think, that if you install the Intel Tuning Utility mentioned above, you get a few additional Power Plans to choose from.
7. Check your Sonar config file in "Preferences>Audio>Configuration file" There are several forum threads about changes that may or may not be helpful. I usually only change "Threadschedulingmodel" to 2. Supposedly works better for newer processors. I've tried tweaking other things, but I haven't seen any noticeable difference, so I usually stick with the default for everything else.
8. "CPU Park Control" is a cool CPU software which can help identify if you are getting full use of your CPU. It's free, might be worth trying that.
https://bitsum.com/parkcontrol/ Try some or all of the above. Maybe something will help.