An analysis is made of the influence of self-phase modulation on optical fibre communication systems where the chromatic dispersion is compensated for by a dispersion compensation fibre. In particular we derive a simple and useful expression for the optimal fibre length in the presence of nonlinearities.