I just upgraded to Windows 10.
I had a few performance issues with Sonar right after, along with other non-Sonar issues.
You will want to tune your computer for audio production. The first thing to do is get rid of most or all of the startup program items - I think that's what they are called. These are programs that start automatically when you boot your PC. They are mostly not needed. The only thing I think I have running from that is my anti-virus, which does not bother too much.
The other thing with Windows 10 is the way it does the automatic updates...Pretty heavy handed. Microsoft took most of the control away from the user. I am on Windows 10 pro which give more flexibility that the home version. Please search online "Windows 10 disable automatic updates". You will find that you can't really disable, but there are some ways to mitigate the issue. Also - back to tuning - There is a lot of easy things in Windows with power options, services and setting Sonar to a background process that will help.
Edit: Search online using "Tuning Computer for audio production" and you will get a ton of hits. Some tuning is safe and easy, and some - like editing the registry- make some folks nervous. Go as far as you feel comfortable. For instance, I have never done the registry modifications.