First make sure and install the Roland driver for the USB midi.
Next you will probably need a proper audio interface to get lower latency. On board sound cards are not really designed with low latency in mind. Sonar runs best in ASIO mode and those drivers will come with most respected brand interfaces.