I think you'll have to try it for every single track, one by one.
I really have no pleasure to do so, so for my races I always set the gear ratios on every track to 26, 32, 40, 49, 59 and 69. I don't care if the cars are far away from the rev limiter at the end of the straights. So, for me this method works very well and it is the quickest method known to me. Nevertheless, if you really want the cars to run into the rev limiter, you'll have to try it on your own.