The conversion efficiency of a 90 fs high-power laser pulse focused onto a solid target into x-ray Kalpha line emission was measured. By using three different elements as target material (Si, Ti, and Co), interesting candidates for fast x-ray diffraction applications were selected. The Kalpha output was measured with toroidally bent crystal monochromators combined with a GaAsP Schottky diode. Optimization was performed for different laser intensities as well as for different density scale lengths of a preformed plasma. These different scale lengths were realized by prepulses of different intensities and delay times with respect to the main pulse. Whereas the Kalpha yield varied by a factor of 1.8 for different laser intensities, the variation of the density scale length could provide a gain factor up to 4.6 for the Kalpha output.