The cross sections for the production of and events and their ratio are measured using data corresponding to an integrated luminosity of 2.3 fb−1collected in pp collisions at with the CMS detector at the LHC. Events with two leptons (e or μ) and at least four reconstructed jets, including at least two identified as b quark jets, in the final state are selected. In the full phase space, the measured ratio is , the cross section is and is . The measurements are compared with the standard model expectations obtained from a powheg simulation at next-to-leading-order interfaced with pythia.