Critical speed of a shaft, or the speed where it folds itself up into a taco, increases as shaft diameter and wall thickness increases.
Decreases as shaft length increases.
Modulus of elasticity, mass, and CG also play in.
If you are feeling mathy ...