Make sure that your sample rate in Sonar matches the sample rate setting in ASIO4ALL, and also try to lower the bit-depth from 24 to 16, which will help. I would suggest using 44.1 as a sample rate.
Your system may not have the horsepower to handle higher bit-depth and/or sample rates, in addition to having to suck CPU cycles to handle the audio/digital conversion - which is what happens with ASIO4ALL.
If you move to a dedicated external audio interface, the audio interface completely takes over all of the work needed to do the digital to analog conversions, and that takes a GIANT bunch of work away from overtaxing your CPU.
You can pick up an entry-level audio interface from about $100 on up, depending on how many pre-amps and inputs/outputs and such.
Bob Bone