defaulting to max cpus for thread allocation