Midi Latency

I am having problems not with triggering my midi synth through my MIDI interface but latency-it sounds a little early or sometimes a little late.

BTW I’m using the MIDI yoke device that lets CUbase be my master and renoise my slave.

Do I need to do something with the midi timing offset function?

Micah