We analyze the dependence of the current density and magnetic field switching on the magnetic parameters of the material of the ferromagnetic layers of the spin valve. Comparison of critical characteristics of the spin valve with longitudinal anisotropy of ferromagnetic layers fabricared of different materials showed that the promising materials for the fabrication of spin valve are cobalt, iron, their alloys, ferroborates of cobalt and alloys of cobalt with gadolinium. For these materials we produced and analyzed the bifurcation diagrams of equations describing the switching process of the spin valve. Based on the study of the dynamics of the magnetization vector we obtained the numerical evaluation of time switching.