It's worth pointing out that piston aircraft engines usually don't use gearboxes. Instead, they drive the propeller directly, which dictates very low engine speeds relative to where car engines usually produce their peak power since any part of the propeller blade nearing the speed of sound results in a loss of efficiency.