A method for equalizing link performance, comprising: obtaining (101, 201) link information of an optical multiplexing section in an optical wavelength division multiplexing system, and calculating (101, 202) input power of each wavelength of each optical amplifier in the optical multiplexing section according to the link information of the optical multiplexing section; wherein the link information comprises: wavelength distribution, link loss, a type of the optical amplifier, and a gain of each wavelength caused by the optical amplifier; calculating (102, 203) an optical signal to noise ratio degradation amount in the optical multiplexing section for each wavelength according to the input power of each wavelength of each optical amplifier in the optical multiplexing section; when a difference between the optical signal to noise ratio degradation amounts calculated for each wavelength is within a preset threshold range, calculating (103, 205) output power of each wavelength of a last optical amplifier in the optical multiplexing section, and when a difference between output power of wavelengths in the last optical amplifier of the optical multiplexing section is within a preset threshold range, using the input power of each wavelength of a first optical amplifier and the output power of each wavelength of the last optical amplifier in the optical multiplexing section as target input power and target output power in the optical multiplexing section; calculating (104, 206) target input power and target output power of each wavelength in a next optical multiplexing section of the optical multiplexing section by using a same method for calculating the target input power and the target output power of each wavelength in the optical multiplexing section; and determining (105, 207) attenuation of each wavelength caused by a power adjusting site between the optical multiplexing section and the next optical multiplexing section according to the target output power of each wavelength in the optical multiplexing section and the target input power of each wavelength in the next optical multiplexing section. obtaining (101, 201) link information of an optical multiplexing section in an optical wavelength division multiplexing system, and calculating (101, 202) input power of each wavelength of each optical amplifier in the optical multiplexing section according to the link information of the optical multiplexing section; wherein the link information comprises: wavelength distribution, link loss, a type of the optical amplifier, and a gain of each wavelength caused by the optical amplifier; calculating (102, 203) an optical signal to noise ratio degradation amount in the optical multiplexing section for each wavelength according to the input power of each wavelength of each optical amplifier in the optical multiplexing section; when a difference between the optical signal to noise ratio degradation amounts calculated for each wavelength is within a preset threshold range, calculating (103, 205) output power of each wavelength of a last optical amplifier in the optical multiplexing section, and when a difference between output power of wavelengths in the last optical amplifier of the optical multiplexing section is within a preset threshold range, using the input power of each wavelength of a first optical amplifier and the output power of each wavelength of the last optical amplifier in the optical multiplexing section as target input power and target output power in the optical multiplexing section; calculating (104, 206) target input power and target output power of each wavelength in a next optical multiplexing section of the optical multiplexing section by using a same method for calculating the target input power and the target output power of each wavelength in the optical multiplexing section; and determining (105, 207) attenuation of each wavelength caused by a power adjusting site between the optical multiplexing section and the next optical multiplexing section according to the target output power of each wavelength in the optical multiplexing section and the target input power of each wavelength in the next optical multiplexing section.