Study on the sensitivity of optical cavity length to light power fluctuation