There is no toggle in runtime: you switch between SLAB and SLUB (and if you enable EXPERT mode, SLOB) by recompiling the kernel. The option is in "General setup->Choose SLAB allocator".
I haven't found any reason to change from the default, but the answer to this previous SE question indicates that there's probably little or no reason to use SLAB.