Text this: Stability of erbium-doped fiber laser for high pressure measurement: Ring vs linear cavity