monitoring and compensation of optical physical layer