How to know fastest cruise altitude?

As a very rough rule of thump. The higher the higher the TAS.

(Ground speed = TAS plus / minus Wind).

This moves you trough the air / over the ground the fastest. That does not mean however it is the shortest time to fly from A to B as you also have to consider the time to climb to altitude. But that is more involved.

For details on the various speeds see also here.