The density of your final solution will allow you to calculate exact amounts of pure MeOH and DMSO to make a 2 L mixture.
Lots of hard-working chemists have carefully measured the densities of many mixtures of common solvents in various ratios and at various temperatures.