Agilent Technologies (formerly a branch Hewlett Packard) has an excellent Product Application Note for their Lightwave Signal Analyzer, which explain the basics of the RIN measurements in semiconductor lasers. Google for "Lightwave Signal Analyzers Measure Relative Intensity Noise" or for their "Product Note 71400-1".