It ready depends on what trackballs you got. Real arcade ones?
If so, be aware that PC mice have a much higher "resolution" than arcade TBs. Mame's default analog speed is set to normal PC mice, which means you need to increase mame's analog sensitivity (in game, tab, analog controls) to probably at least 100%, and possibly to the max (255%).
Setting windows pointer speed shouldn't effect mame, but sometimes does. You can try increasing that also and see if it effects you. Whatever you do, I do NOT suggest checking enchance pointer precision; reworded: I recomend unchecking enhance pinter precision.
If that's not enough, I suggest replacing the original encoder wheels (the thing with teeth that passing through the sensors) with higher tooth count wheels. That has been do by printing on tranparences, or buying from RandyT at GGG or others.
(I am assuming the TBs are feeling too slow.)