We demonstrate a systematic comparative research on the all-optical, mechanical and optomechanical repetition rate control methods in an Er-doped fiber laser. A piece of Yb-doped fiber, a piezoelectric transducer and an electronic polarization controller are simultaneously added in the laser cavity as different cavity length modulators. By measuring the cavity length tuning ranges, the output power fluctuations, the temporal and frequency repetition rate stability, we show that all-optical method introduces the minimal disturbances under current experimental condition.