The phrase “balls to the wall” comes from aviation. Ball-shaped handles controlled the throttle and fuel and putting these handles closer to the wall resulted in the fastest possible speed.