The investigation of equation of state(EOS) for matter under high pressure conditions by synchrotron radiation X-ray diffraction in combination with diamond anvil cell(DAC) are introduced in this paper.Taking lubricant MoS2 as an example,a method of fitting experimental data with Birch-Murnaghan EOS to obtain the bulk modulus of materials is presented.