How do i use all the threads of my cpu for compiling?

open the swarm agent and checkmark “Developer Settings”. Then head over to the Developer Settings tab and in “LocalJobsProcessorCount” type in the number of cores you wish to use when you bake. I also recommend setting the LocalPriority to Normal to speed up bake times